Quality vs speed (latency) vs cost. And why the biggest model is usually the wrong default.
Hiring for a role. A frontier model is a top-tier consultant — brilliant, no setup, but bills by the hour. A tuned small model is a specialist you employ in-house — cheaper per task and private, but you run the infrastructure. You don't put your best consultant on every trivial ticket.
That you should always reach for the biggest/best model, and that cost is a procurement line item. A model bigger than the job needs blows up your costs and slows things down in a way users feel. And cost isn't set by procurement — it's set by how you build: which model, what you cache, how you route, how long the output runs.
The lesson, in five answers
Every AI feature picks a spot in the quality, speed (latency) and cost triangle. You can't max all three. On models, you choose between two types. Proprietary models are API-only, top capability, and no infrastructure to run. Open-weight models you can host yourself. They're private and cheaper at scale. You also choose big vs small. The pro move is routing. Send the easy majority to a cheap small model. Send only the hard cases to a frontier model.
This sets your product's cost, speed, quality and data-privacy. Here's the math: cost per query = (input + output tokens) × price. Then multiply by volume. A feature that's fine in a demo can blow up at a million users. Interviewers love this trade-off.
Decide per use-case. Name your priority (quality, speed, or cost) instead of reaching for the biggest model. Look at open-weight and self-hosting when data can't leave your environment. Or when volume makes API costs too high.
Frontier models cost more and run slower. Small models cap what's possible. Self-hosting swaps API bills for running the infrastructure and the ops work to keep models live (MLOps). Reasoning models add a new axis. Their 'thinking' tokens can multiply the cost and add seconds of delay for one answer. So the 2026 question is: is a better answer worth a 30-second wait and 10× the price? Prices fall fast and the frontier shifts monthly. Keep the model layer easy to swap.
"I'd set clear budgets, not vibes. First, a speed target I promise to hit (a latency SLO) — say the slowest 5% of requests (p95) stay under 2 seconds. I'd stream the answer so the first words appear fast (time-to-first-token, or TTFT). Second, a cost-per-query target. Then I'd route. A fast cheap model handles the easy majority. A reasoning model steps in only where the task needs multi-step logic and the extra thinking-token cost is worth it. I'd track tokens from day one, since caching and routing can cut cost a lot without hurting quality."
The canonical explainers for this topic. Open them alongside the lesson, not after it.
External links open in a new tab. Content and prices change — verify before relying on any of them.
Quality/latency/cost triangle
The three you trade off per feature: quality, speed (latency) and cost. Pick a priority; you can't max all three.
Routing
Send easy requests to a cheap model, hard ones to a frontier/reasoning model. The pro cost lever.
Prompt caching
Reusing an unchanged prompt prefix — often much cheaper and faster on that input (provider-specific).
Latency SLO
A speed target you promise to hit — like the slowest 5% of requests (p95) staying under 2s, or how fast the first words appear (time-to-first-token). A number, not a vibe.
Unit economics
Cost per use, times how often each user uses it, weighed against the revenue or retention the feature drives.
You don't need to use or master these. Recognising the names — and which box each sits in — is the tech-stack awareness a PM needs. No deep dive.
Try it
Every feature picks a point. Try the presets — you can't max all three.
The impossible triangle
Every AI feature lands somewhere in this triangle. You can't max all three at once — dial priority per use-case and the config follows.
The point's pull toward each corner is its weight.
Sliders are relative weights — they always normalize to 100%.
Snap to a use-case
Users wait on you live, so latency dominates; answers must be right enough to deflect a ticket, but volume keeps an eye on cost.
Recommended configuration
Speed-first — smaller / distilled model
The pro move is routing. Most real products don't live at one point. They route the easy 90% of requests to a cheap, fast model and escalate only the hard ones to a frontier model — buying frontier quality where it matters at close to small-model cost.
Why it matters to a PM: this trade-off sets your unit economics and your UX at the same time. Name your priority per use-case instead of always reaching for the biggest model.
Try it
Tokens × price × volume. See how routing and caching change the monthly bill.
Unit economics
Cost per query is just (input + output tokens) × price. It scales with volume, and model choice is the biggest lever. Move the dials and watch the yearly bill move with them.
Prices are ILLUSTRATIVE 2025-era figures (US$ per 1,000,000 tokens), not a live quote. Output usually costs more than input.
Cost / query
$0.012
≈ ₹1.06
Cost / day
$600
≈ ₹52,800
Cost / month
$18,000
≈ ₹15,84,000
Cost / year
$219,000
≈ ₹1,92,72,000
INR shown at ~₹88/$ — FX moves daily, so treat it as a rough sense of scale, not a budget line.
Monthly cost by model — same volume
Same tokens, same traffic — the only variable is the model. Routing the easy 80% to a small model is often a 5–10× saving before you touch a single prompt.
Why it matters to a PM: cost lives in architecture — model choice, caching, routing, output length — not in procurement. You cannot negotiate your way out of a feature that emits 4,000 output tokens per call on a frontier model. Instrument tokens from day one so the bill is a design decision, not a quarter-end surprise.
Recall beats re-reading. Answer before you flip.
Use the calculator above for a feature at your target scale. Now cut the bill: switch to a smaller model for the easy 80%, add prompt caching, and cap output length. Write the one-paragraph unit-economics story you'd tell.
This is where the hours go — reading is the warm-up, doing is the learning.
External resources open in a new tab. Course prices and links change — verify before paying.
Marked this one off? Your progress saves on this device.