1. Why Input Sticker Price Misleads Engineering Budgets
Teams evaluating commercial LLM APIs frequently sort models by uncached input cost per million tokens, overlooking the two multipliers that dominate real production invoices: output token pricing and internal reasoning tokens.
Across frontier providers, generated output tokens are billed at 3x to 5x the input rate because autoregressive decoding is memory-bandwidth bound on HBM3e GPUs. Furthermore, reasoning-enabled endpoints bill internal chain-of-thought tokens as output tokens even when those tokens are hidden from the final JSON payload—meaning an unconstrained classification call can silently emit 2,500 thinking tokens to produce a 40-token JSON object.
2. Two-Tier Cascading Routers: System-1 Gatekeepers + Frontier Escalation
Empirical traffic audits across B2B SaaS products show that 75% to 88% of production prompts consist of deterministic extraction, routing, schema normalization, moderation, or grounded summarization—tasks where lightweight Flash-class or open-weights models match frontier accuracy within 1.2 percentage points at 1/15th the cost.
By placing a fast, calibrated classifier at the ingress layer and escalating only ambiguous, multi-hop architectural or legal synthesis tasks to frontier reasoning models with strict `max_completion_tokens` caps, engineering teams cut blended API COGS by 65% to 82% while improving median latency.
2026 Engineering Reference Matrix
| Model Tier | Typical Input / 1M | Typical Output / 1M | Cached Input Discount | Optimal Production Workload |
|---|---|---|---|---|
| Frontier Reasoning Tier | $2.50 – $15.00 | $10.00 – $60.00 | 50% – 90% off | Complex code synthesis, root-cause architecture, formal audits |
| Balanced Generalist Tier | $1.25 – $3.00 | $5.00 – $15.00 | 75% – 90% off | Customer-facing multi-turn agents, nuanced RAG synthesis |
| High-Throughput Flash Tier | $0.08 – $0.35 | $0.30 – $1.20 | 75% off | JSON extraction, classification, translation, high-QPS pipelines |
| Open-Weights API / Batch | $0.14 – $0.55 | $0.28 – $1.10 | 50% Batch API | Asynchronous dataset labeling, nightly enrichment, evals |
Frequently Asked Engineering Questions
When does asynchronous Batch API beat real-time Prompt Caching?
Batch API provides a flat 50% discount on both input and output tokens with a 24-hour SLA, making it ideal for output-heavy offline jobs, whereas Prompt Caching cuts input costs by up to 90% for low-latency interactive agents sharing long prefixes.
How do tool definitions affect multi-turn agent bills?
Sending 35+ verbose JSON tool schemas on every ReAct step adds 10,000+ input tokens per turn; sorting tool schemas deterministically and deferring rarely used tools unlocks high prefix-cache hit rates.