Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast
The Guide
09Phase 3 · Making it work

AI Economics & Model Selection

Quality vs speed (latency) vs cost. And why the biggest model is usually the wrong default.

7-min read~4–5 hrs with the practice + a short course
The analogy

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.

Unlearn this

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

01

What is it?

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.

1.0×One frontier modelfor everything0.28×Routedcheap for easy 90% · frontier for hard 10%relative cost per 1k requests (illustrative)
Most requests are easy. Send those to a small cheap model and only the hard minority to a frontier model — the same quality where it matters, at a fraction of the bill.
02

Why it matters to a PM

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.

Welcome to LLMflationa16z (Guido Appenzeller)
03

When would I reach for it?

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.

Prompt Caching (with real numbers)Anthropic
04

Trade-offs & failure modes

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.

fast modelreasoning+thinking tokenscost + latency →accuracy on hard tasks
Reasoning models think in extra tokens: more accurate on multi-step logic, but seconds slower and several times pricier. The 2026 question is whether the task actually needs that reasoning.
Building a Generative AI PlatformChip Huyen
05

Say this in an interview

"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."

Learn it from the best — as you go

The canonical explainers for this topic. Open them alongside the lesson, not after it.

Read
  • Welcome to LLMflationa16z (Guido Appenzeller) · The 1000×-in-3-years cost-decline thesis — essential context for unit economics.
  • Building a Generative AI PlatformChip Huyen · The definitive walkthrough of routing, model gateway and three caching types to cut cost & latency.
Course
  • AI Engineering (book + free repo)Chip Huyen · Vendor-neutral depth on inference optimisation and cost engineering.
Docs
  • Prompt Caching (with real numbers)Anthropic · The biggest cost lever, quantified: cache hits at ~0.1× input price.
Tool
  • Models — Quality, Price & SpeedArtificial Analysis · The live quality/latency/cost triangle across 600+ models — your model-selection surface.

External links open in a new tab. Content and prices change — verify before relying on any of them.

Key terms

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.

The stack — tools you'll hear about

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.

  • Artificial AnalysisCost & pricingLive model quality / price / speed.
  • OpenRouter · LiteLLM · PortkeyGateways & routingRoute across models; one API, swappable.
  • HeliconeCost & pricingTrack spend per feature and user.
  • Prompt cachingCost & pricingProvider feature — big saving on repeated input.

Try it

Quality · Speed · Cost

Every feature picks a point. Try the presets — you can't max all three.

The impossible triangle

Quality, Speed & Cost — pick your point

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.

QualitySpeedCost

The point's pull toward each corner is its weight.

40%
45%
15%

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

  • Smaller or distilled model; cache prompts and warm the path.
  • Stream tokens to the UI so it feels instant before it finishes.
  • Trim the prompt and cap output — every token is latency.

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

Cost-of-a-feature calculator

Tokens × price × volume. See how routing and caching change the monthly bill.

Unit economics

What does an AI feature actually cost?

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.

Assumptions

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

  • Frontier (large) · selected$18,000
  • Mid$1,800
  • Small / cheap$420
  • Open self-host (est.)$138

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.

Test yourself

Recall beats re-reading. Answer before you flip.

AI Economics & Model Selection · self-test
2 cards
Card 1 / 2 · box 1
Do this

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.

Go deeper
  • LLM pricing & performance comparisonArtificial Analysis
  • Token efficiency for AI productsInstitute of AI PM

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.

PreviousAI UX — Designing for UncertaintyNextBuild Patterns — Prompt → RAG → Fine-tune → Agent