LLM API Price Cuts: A Guide to Model Selection and Cost Optimization

    This article breaks down a recent structural price adjustment in a new-generation LLM API, where the flagship tier became cheaper while the standard tier kept its previous pricing. It explains the three token types that drive real bills (input, cached input, output), how capability tiers should be routed per call rather than globally, and practical ways to cut cost through prompt caching, structured output, async batching, and tiered routing with fallback. It also covers subscription versus low-latency options and a migration and validation checklist.

    1. What Actually Changed: A Structural Repricing, Not a Blanket Cut

    A cloud provider recently released a new-generation LLM in a two-tier format and adjusted call pricing at the same time: the high-capability tier (referred to below as the flagship tier) saw input prices drop by roughly 20% versus the previous generation, while the standard tier kept the prior generation’s pricing unchanged. Reading this as a simple “price cut” is inaccurate. A more precise description is a redistribution of the price structure: the provider passed the new compute dividend to the flagship tier, which carries a higher unit price and faster-growing call volume, while the standard tier holds existing workloads’ cost expectations steady through “stable pricing plus continued capability.”

    For developers, what matters is not “how much it dropped” but three questions: which tier does my workload fall into? Which billing mode fits my token structure (input/output ratio, cache hit rate)? Can I push unit cost lower through engineering? The sections below work through each layer.

    2. Breaking Down the Pricing Model: Three Token Types Decide Your Real Bill

    Mainstream LLM API billing is usually split into three token types, and understanding them is the prerequisite for cost optimization:

    • Input tokens: the length of all prompt content in a request, including system instructions, conversation history, retrieved document fragments, tool definitions, and so on.
    • Cached input tokens: tokens billed at a significantly lower price after hitting the cache on repeated common prefixes (fixed system prompts, long documents, code-base context).
    • Output tokens: the length of generated content, typically priced several times higher than input and the main cost source for long-form generation workloads.

    Using the adjusted price structure as an example (per million tokens): the flagship tier runs about $8 for input, about $0.4 for cached input, and about $40 for output; the standard tier runs about $2 for input, about $0.1 for cached input, and about $10 for output. Three key conclusions follow from these numbers:

    1. Output is far more expensive than input (about 5x), so “making the model say less” is often more effective than “making the model read less.”
    2. There is roughly a 20x gap between cached input and input, making reuse of common prefixes the highest-value optimization point.
    3. The output gap between the two tiers is 4x, meaning the flagship tier should only be used where the cost of an error far exceeds the cost of the call.

    A rough cost estimate can be written as:

    1. cost per call = (input tokens × input price)
    2. + (cached input tokens × cached price)
    3. + (output tokens × output price)

    Translated into engineering, this yields a plain optimization priority: cut output first, then raise cache hit rate, and only then consider switching tiers.

    3. Capability Tiers: Dividing Work Between Flagship and Standard

    The main change in the flagship tier is more reliable handling of strongly specified, tightly constrained domains, typically scenarios such as legal clause review, financial statement reconciliation, and accounting-standard applicability judgments. These tasks share high rule density, little tolerance for error, and a need for long-context comparison, and the business cost of a single mistake far exceeds token spend, which makes them a fit for the flagship tier.

    The standard tier carries the bulk of routine load: intent recognition, text classification, summarization and extraction, structured field filling, customer-support Q&A, code completion, and so on. These tasks demand “stable, predictable, cheap” more than “extreme reasoning,” and using the standard tier while reserving budget for a few critical nodes is the more mature architectural choice.

    It is worth stressing that tier selection should not be a global switch but a per-call capability routing configuration.

    4. Cost-Reduction Practices You Can Apply

    1. Prompt caching: settle fixed prefixes once

    Place invariant content such as system instructions, tool schemas, and long documents at the very front of the request, keep the prefix byte-for-byte stable, and avoid inserting volatile content such as timestamps or random IDs into the common portion, otherwise the cache will not hit.

    1. [fixed prefix: system role + rule list + reference docs] ← cacheable
    2. [variable part: this turn's user question + context summary] ← billed as input

    2. Output constraints: replace free-form generation with structured output

    Require the model to return against a strict schema, which both cuts useless explanatory text and lowers the retry cost caused by downstream parsing failures. Retries are a hidden cost driver: one failed retry doubles the bill.

    1. {"risk_level": "high|medium|low", "clauses": ["..."], "reason": "..."}

    3. Batching and asynchrony

    For offline tasks (log classification, document ingestion, bulk tagging), use an asynchronous batch queue, combined with a message queue and object storage for peak shaving and result persistence, to avoid paying real-time rates during peak hours.

    4. Tiered routing and fallback

    1. def route(task):
    2. if task.risk == "high" or task.rules_density > 0.7:
    3. return "flagship" # high-cost error scenarios
    4. return "standard" # routine load

    Paired with a monitoring and alerting system, build dashboards per tier for call volume, cache hit rate, and average output length, so optimization opportunities keep surfacing.

    5. Choosing Between Subscriptions and Acceleration Channels

    Beyond pay-as-you-go, providers usually offer subscription plans and low-latency channels: higher-tier subscriptions can unlock faster response modes, and lower-tier subscriptions may gradually open acceleration access for some models. The deciding factor is how sensitive the business is to latency: interactive products (coding assistants, real-time customer support) are worth paying for low latency, while offline batch processing should prioritize pay-as-you-go and batch discounts.

    6. Migration and Validation Checklist

    • Build an offline evaluation set covering typical and boundary samples, and compare quality before price;
    • Replay real traffic to measure the input/output ratio and cache hit rate, then project the monthly bill;
    • Roll out gradually with a one-switch fallback to the previous-generation model;
    • Split cost metrics by model tier in the observability system, to avoid “total cost down but quality regressed on a critical path.”

    7. Closing

    The real signal from this adjustment is that LLM calls are moving from “capability scarcity” to “cost engineering.” Whoever gets the token structure, caching strategy, and tier routing solid can obtain a lower bill at the same business quality. If you already use the relevant model services from Baidu AI Cloud, the same three-token breakdown and tiered routing methods apply: quantify the cost structure first, then make optimization decisions.