ROI, Pricing & Cost Analysis
- Build a full cost model for an AI feature: tokens, infra, and people β per query and per month
- Quantify value honestly: time saved, ticket deflection, revenue effects, with an adoption ramp
- Run a build-vs-buy comparison that includes total cost of ownership, not just sticker price
- Design a pilot with success metrics agreed BEFORE it starts
- Compress all of it into a one-page cost analysis an executive will actually read
| Spaced-rep warm-up: due cards from Days 169β172 | 10 min |
| ELI5 + tech read: three cost layers, three value currencies | 20 min |
| Guided: cost model + value model as code | 38 min |
| Practice: build-vs-buy memo | 20 min |
| Project: the one-pager | 22 min |
| Quiz + flashcards | 10 min |
Builds on: Day 107 β LLM API cost math Β· Day 156 β Caching, batching & cost engineering Β· Day 165 β Proposals & architecture docs
A restaurant owner is offered a dishwashing robot: $2,000 a month. Worth it? A bad answer compares $2,000 to zero, because "we wash dishes for free now." A good answer prices the status quo: the dishwasher's wages, the plates broken, the Friday nights when dishes pile up and tables turn slower. Then it prices the robot honestly: $2,000 PLUS electricity, PLUS the plumber who installs it, PLUS the month where the staff still hand-wash because they don't trust it yet. Worth it means: total new cost vs total old cost, including the ramp where you pay both.
Every AI feature is the dishwashing robot. The token bill is just the sticker price β infra, integration work, and the humans who maintain and supervise it are the plumber and the electricity. The value side is never zero either, because the current way of doing things has a cost someone is already paying β it's just hidden in salaries and slow Fridays. Your job is to drag both totals into daylight, on one page, with the assumptions written down so people can argue with the INPUTS instead of with you.
"What does this cost and what do we get?" is the question that decides renewals, expansions, and whether your pilot dies in procurement β and the engineer in the room is usually the only person who can answer it with real numbers. FDEs get pulled into pricing calls constantly: a cost model you can defend line-by-line beats a slide of vibes every time. It also protects YOU: features whose unit economics are underwater (Day 156's lesson) become your 2 a.m. problem when finance notices; better to be the one who noticed first.
Guided practice
Cost model as code
20 min- Create
cost_model.pyfrom the starter β a transparent, assumption-driven model of your capstone at Meridian (4,000 employees). - Run it. Read the per-query cost and the monthly total at baseline assumptions.
- Replace the placeholder token counts and prices with YOUR real numbers: pull mean input/output tokens from your Day 146 dashboard or Day 156 measurements, and your provider's current prices.
- Run the three built-in scenarios: baseline, +semantic-cache at 30% hit rate, +routing 40% of queries to a small model. Record the monthly deltas.
- Add a people-cost line: 0.25 engineer FTE for maintenance at a loaded cost you choose. Notice what it does to the total β and to which lever matters most.
The value side, with a straight face
18 minExtend cost_model.py with the value model β same discipline, assumptions up top.
- Time saved: active users Γ queries/week Γ minutes saved per query (estimate 4β8 min vs searching SharePoint or asking a colleague) Γ loaded hourly rate. Apply a productivity-conversion factor (claim 50%, defend it in a comment).
- Deflection: Meridian's HR/IT helpdesks take ~1,400 policy-type tickets/month at ~USD 12 handled cost. Model deflection at 25% (pilot target) and 45% (steady state).
- Apply an adoption ramp: months 1β3 at 25%/50%/75% of steady-state value while costs run at 100%.
- Compute ROI and payback month. Print a 3-line summary.
- Sensitivity: halve adoption AND minutes-saved. Is the project still above water? That worst-case number is the one you quote to a skeptical CFO β if it survives, you can't lose the argument on inputs.
On your own
Build-vs-buy memo
20 minMeridian's IT director asks: "Why shouldn't we just buy DocsBot Enterprise at USD 6/user/month instead of your platform?"
Write a one-page memo comparing 3-year TCO of: (a) buying that SaaS tool, (b) deploying your capstone platform. Constraints: use your cost model's real numbers for (b); for (a) include license (be honest: 1,200 provisioned seats, not 4,000), integration and SSO setup, and the things sticker price hides β data leaves their tenant (Day 170 objection), limited permission-aware retrieval (Day 169), no custom evals. No straw-manning: state what the SaaS option does BETTER (time-to-value, zero maintenance). End with a recommendation and the single assumption that, if wrong, flips it.
Hints: the differentiator question decides more than the spreadsheet β is docs-QA plumbing or strategic for Meridian? TCO includes YOUR maintenance FTE line for option (b).
The cost-analysis one-pager
Write docs/cost-analysis.md for the capstone at Meridian β strictly one page. Sections: (1) Cost: per-query and monthly totals at baseline and optimized (cache + routing), the three layers visible; (2) Value: time-saved and deflection with the adoption ramp, stated as a range; (3) ROI + payback month, plus worst-case sensitivity in one sentence; (4) Top 3 assumptions anyone can challenge, each with its sensitivity; (5) Pilot proposal: 8 weeks, 200 users, success metrics pre-agreed (deflection β₯ 20%, weekly active β₯ 40% of pilot group, groundedness β₯ 90% on the golden set). Commit cost_model.py alongside so every number is reproducible. This one-pager is a required artifact in tomorrow's simulation and gets attacked by a CFO objection there.
Common mistakes & misconceptions
- Comparing against zero. The status quo has a cost β salaries spent searching, tickets handled by humans, mistakes from stale answers. Price the current way of working first, or your robot always looks expensive.
- Modeling tokens and forgetting people. Maintenance, evals, corpus upkeep, and incident response usually dwarf the token bill; a cost model without an FTE line is fiction that finance will eventually audit.
- Claiming 100% of time saved as value. Three minutes saved forty times a day does not become two productive hours; apply and defend a conversion factor or lose credibility on every other number.
- Running costs at day-one volume and value at steady state. Adoption ramps; costs don't. Model the crossover month honestly β that IS the payback story.
- Pilots without pre-agreed metrics. If success criteria are negotiated after the data exists, the pilot proves whatever the loudest person wants; agree the bar in writing before week one.
- Hiding assumptions to make the page look confident. Explicit, challengeable assumptions move arguments to inputs β where you win β instead of to your credibility, where nobody wins.
Q1. Which cost layer most often dominates an enterprise AI feature's true monthly cost?
Q2. The honest way to model value during a rollout isβ¦
Q3. A customer proposes "let's just run a pilot and see how it goes." Your required amendment:
Go deeper β curated resources
- Unit economics over time β Extend cost_model.py to project 24 months with corpus growth (more context tokens), price declines (assume β30%/yr), and adoption growth. Which force wins?
- cost_model.py runs with YOUR measured token numbers and all three layers
- Worst-case sensitivity computed; you know if the project survives it
- Build-vs-buy memo names what the buy option does better
- One-pager committed at one page; quiz β₯ 2/3
β Back: Day 107 taught the token meter, Day 156 taught the levers that bend it β today both became lines in a business case. Day 165's proposal template gets its "cost" section upgraded from estimate to model.
Forward β: Tomorrow's simulation (Day 174) fires a CFO objection directly at this one-pager. Day 177 re-runs the final capstone cost analysis as a quality gate, and Day 180's Demo Day presentation quotes your payback month.