LLM API Pricing Drops Again: A Breakdown of Two-Tier Pricing and Cost Optimization Practices
This article examines a recent LLM API price adjustment that introduced a two-tier model, where the advanced tier became cheaper while the standard tier kept its previous pricing. It breaks down the three-part billing model—regular input, cached input, and output tokens—and shows why cache hit rate and output length are the main cost levers. It then outlines practical optimization steps: routing tasks across tiers, designing cache-friendly prompts, constraining output length, and building a cost observability loop. Developers and teams will learn how to reduce API bills through token structure design rather than waiting for the next price cut.
1. Background: What the Price Cut Signals
A cloud provider recently adjusted the pricing structure of its LLM service again, adopting a “two-tier model” strategy: the advanced tier’s price was reduced by roughly 20%, while the standard tier kept the same price level as the previous generation. On the surface, this is a simple price adjustment. From an engineering perspective, however, it sends a more noteworthy signal: LLM API billing is evolving from a “single per-token price” to “multi-dimensional differentiated pricing.”
Understanding this is the prerequisite for cost governance. When optimizing bills, many teams only focus on “how much per million tokens,” while ignoring the significant differences across the three billing categories: regular input, cached input, and output. The per-unit prices of these three often differ by an order of magnitude, and the actual token composition in real workloads depends heavily on scenario design. As a result, the same “price cut” can deliver completely different real-world savings for different businesses.
This article uses a public pricing structure as an example (only to illustrate the billing model, not pointing to any specific product): the advanced tier costs about $8 per million regular input tokens, about $0.4 per million cached input tokens, and about $40 per million output tokens; the standard tier costs about $2, $0.1, and $10 per million regular input, cached input, and output tokens, respectively. The output price is 5 times the regular input price, while cached input is only 1/20 of the regular input price.
2. Breaking Down the Billing Model: The Real Cost Weight of Three Token Types
To optimize cost, first build an intuition for “cost weight.” Let the number of regular input tokens in a call be $I$, the number of cache-hit tokens be $C$, and the number of output tokens be $O$, with unit prices $p_I, p_C, p_O$. The cost of a single call is:
Cost = I * p_I + C * p_C + O * p_O
Plugging in the prices above (standard tier, in USD per million tokens):
- Regular input: 2
- Cached input: 0.1
- Output: 10
Suppose a call has 10,000 input tokens and 2,000 output tokens. If all input is regular, the cost is about 10000*2/1e6 + 2000*10/1e6 = 0.02 + 0.02 = 0.04 USD. If 8,000 of those tokens hit the cache, the cost drops to 2000*2/1e6 + 8000*0.1/1e6 + 0.02 ≈ 0.0048 USD, a reduction of nearly 90%. This simple example shows that cache hit rate and output length are the two main levers on the bill.
Now compare the two tiers. The three unit prices of the advanced tier are exactly 4 times those of the standard tier, which means that with an unchanged token composition, the cost ratio between the two tiers is always 4:1. Therefore, “choosing a tier” is essentially a ratio decision between quality and cost, not an absolute price decision. When a task does not demand deep reasoning, the standard tier usually offers better value. Only in scenarios such as multi-step reasoning, complex code generation, and long-document understanding can the extra cost of the advanced tier be covered by the quality gains.
3. Task Tiering: Routing Requests to the Right Tier
The first step in cost governance is not compressing tokens, but avoiding “using the advanced tier for simple tasks.” In practice, a three-level routing scheme is recommended:
- L1 rules/small-model layer: intent recognition, format validation, initial sensitive-word screening, and simple classification, handled by lightweight solutions or the standard tier whenever possible.
- L2 standard tier layer: the vast majority of routine generation, summarization, extraction, and rewriting tasks.
- L3 advanced tier layer: complex reasoning, cross-document comparison, difficult code fixes, and tasks requiring long-chain planning.
The key to routing is turning “difficulty” into a computable signal, such as input length, whether the knowledge base is hit, the number of prior validation failures, and task type labels. A practical example implementation:
def choose_tier(req):# Simple rules first, to avoid indiscriminate calls to the advanced tierif req.task_type in {"classify", "format_check"} and req.input_tokens < 2000:return "standard"if req.retry_count >= 1 or req.input_tokens > 12000 or req.need_deep_reasoning:return "advanced"return "standard"
It is worth emphasizing that tiering is not “downgrading to save money,” but “reserving expensive compute for requests that truly need it.” If quality regresses after tiering, prioritize adjusting routing thresholds and prompts rather than simply upgrading all requests to the advanced tier—that would make the price-cut benefit vanish instantly.
4. Cache-Friendly Design: Making $0.1-Level Input Actually Reused
Cached input costs only 1/20 of regular input, making it the most underrated cost-reduction lever today. But whether the cache hits depends on whether the request prefix is byte-for-byte stable. Engineering practice requires the following:
- Templatize prompts with a fixed order: put system instructions, tool descriptions, examples, and reference material first, and user variables last.
- Avoid inserting timestamps, random IDs, or usernames into the stable prefix: these seemingly harmless fields invalidate the entire prefix.
- Manage reference material centrally: turn long documents and code snippets into reusable stable blocks instead of reassembling them every time.
- Keep the prefix length within a reasonable range: too short yields limited cache benefits, while too long raises the per-call cost; measure this against the actual hit rate.
An example of a “cache-friendly” request structure:
[Stable prefix: system role + output spec + tool schema + fixed examples] ← expected to hit cache[Semi-stable zone: knowledge base snippets, organized by version number] ← can hit when the version is unchanged[Variable zone: current user question, context summary] ← not cached
At the same time, establish observability: record the cached_tokens / input_tokens ratio for each call, grouped by business line, model tier, and prompt version. Without a hit-rate metric, cache optimization is just guesswork.
5. Output Length Governance: The Most Overlooked 5x Unit Price
The output token price is 5 times the regular input price, and the output process cannot reuse the cache. Therefore, “making the model say less” is often more effective than “compressing the input.” Actionable methods include:
- Explicitly constrain the output structure: require the conclusion first and the rationale after, and limit the number of bullet points and table width.
- Generate step by step rather than one long piece: produce an outline first, confirm it, then expand, avoiding a full rewrite.
- Separate “explanatory content” from “result content”: calls consumed by machines should return only structured results.
- Set a maximum output limit with truncation detection: when the limit is exceeded, fall back to outline mode instead of blindly retrying.
Output spec (example):1. Give the conclusion in one sentence first;2. Provide no more than 3 supporting points, each no more than 40 characters;3. Do not output background information unrelated to the question.
These constraints may seem simple, but in scenarios such as long-document Q&A and batch extraction, they usually bring a considerable reduction in output tokens with little impact on quality.
6. Cost Observability and a Continuous Tuning Loop
Price cuts are an external variable; cost governance capability is the internal one. It is recommended to build a minimal viable cost dashboard containing at least: call volume broken down by tier, consumption and share of the three token types, cache hit rate, average output length, total cost per task, and quality metrics (accuracy/pass rate/human adoption rate).
Advance the tuning loop in the order of “structure first, unit price second”:
- Structural optimization: tiered routing, cache-friendly redesign, output constraints;
- Parameter optimization: temperature, maximum output, retry strategy (retries are the most hidden cost sink);
- Tier re-evaluation: after the structure stabilizes, recalculate whether the quality gain from the advanced tier is worth the 4x cost;
- Regression validation: for every change, compare quality and cost against a fixed evaluation set to avoid “saving money but losing points.”
7. Conclusion
The real lesson from this price adjustment is that LLM cost has been divided into three dimensions—regular input, cached input, and output—with significant price gaps between them. For developers and enterprises, the gains no longer come from waiting for the next price cut, but from actively designing the token structure: turning stable content into cacheable prefixes, routing simple tasks to the standard tier, constraining output length to what is necessary, and continuously validating with a data dashboard. Do these three things well, and the bill will improve by orders of magnitude even if unit prices stay unchanged.
