LLM Pricing: Understanding Fivefold Increases, Token Billing, and Subscription Quotas

    A larger language model does not necessarily cost more to use. This article explains the economics behind input, output, and cached-token pricing, shows how to translate subscription quotas into cost per completed task, and outlines practical ways to control spending through prompt structure, context management, and task routing. A frontend refinement case study illustrates how quota limits and latency affect model selection.

    1. Why Model Size and Pricing Can Move in Different Directions

    Recent generations of large language models have shown a pattern that is easy to misinterpret. Some newer models have several times as many parameters as their predecessors, alongside severalfold increases in output-token prices. Other technical approaches have produced larger models with substantially lower unit prices.

    Taken together, these trends might suggest that “larger models cost more.” But that is not a reliable rule in inference economics.

    Parameter count is only one cost variable. What matters more is how efficiently compute resources produce tokens. That efficiency depends on architecture—dense or sparsely activated—as well as context length, batching and scheduling, cache reuse, and hardware utilization. With sufficient engineering optimization, a larger model can be cheaper to run.

    For users, three questions matter more than a headline fivefold price increase:

    • How is billing divided between input, output, and cached tokens?
    • How do subscription quotas translate into an effective unit cost?
    • How can context and cache behavior be controlled for a particular task?

    2. Understanding the Three Token Billing Categories

    Usage-based billing commonly separates tokens into three categories: uncached input, cached input, and output. Prices can differ by more than an order of magnitude, reflecting different resource demands rather than merely marketing choices.

    • Input tokens: the prefill stage. The model processes the prompt, performs compute-intensive operations, and writes a key-value (KV) cache. KV-cache memory consumption grows linearly with context length.
    • Output tokens: the decode stage. The model generates tokens autoregressively, reading the accumulated KV cache at each step. This workload is typically memory-bandwidth-bound, with higher per-token latency and lower GPU utilization, which helps explain why output tokens usually carry the highest price.
    • Cached input tokens. A reusable prefix does not need to be computed again. Cache access and scheduling still have costs, but cached input is generally the least expensive category.

    The following illustrative function estimates costs, with all prices expressed in CNY per million tokens:

    1. def estimate_cost(in_tokens, out_tokens, cached_tokens,
    2. p_in, p_out, p_cache):
    3. uncached_in = max(in_tokens - cached_tokens, 0)
    4. return (uncached_in * p_in
    5. + cached_tokens * p_cache
    6. + out_tokens * p_out) / 1_000_000

    It highlights an often-overlooked point: in long-context, multi-turn workflows, the cache hit rate can affect the total bill more than differences in model unit prices.

    For a task with a 200,000-token context, fully reusing the prefix could reduce input costs to roughly one-tenth of the cost without reuse, depending on the cached-input discount.

    3. Better Cache Reuse Starts with Prompt Structure

    Cache reuse depends on a stable prefix. Organize prompts by how frequently their contents change, placing volatile material last:

    1. [Fixed prefix] System instructions + coding standards
    2. + directory structure
    3. -> Suitable for long-term reuse
    4. [Semi-stable section] Target files + interface contracts for the task
    5. -> Reusable within the task
    6. [Changing section] Current diff / error logs / additional requirements
    7. -> Do not expect cache reuse

    Supporting engineering practices include:

    • Keep timestamps, random IDs, and dynamic retrieval results out of the fixed prefix.
    • Place retrieval-augmented content after the stable prefix.
    • Reuse the same session for successive iterations of a task rather than repeatedly starting over, helping preserve reusable context.

    Prompt structure is therefore part of cost structure: changes near the beginning of a prompt can undermine reuse of the material that follows.

    4. Converting Subscription Quotas into Effective Cost

    Individuals and small teams often use subscriptions with time-window quotas rather than paying directly per token. In this setting, API prices are only a reference point. The more useful comparison is how much usable work each plan supports.

    A common quota structure combines a short-window allowance with a longer-period allowance. For example, a weekly quota may equal a fixed multiple of a several-hour window quota.

    A simple conversion is:

    1. weekly_quota = windows_per_week * window_quota # Weekly allowance
    2. task_cost = window_used / tasks_completed # Quota used per task
    3. effective_price = plan_price / (weekly_quota / task_cost)

    For this calculation, the plan price and quota must refer to the same billing period. The result translates a subscription price into cost per completed useful task, a more comparable metric across plans.

    As a practical rule of thumb, lower- and mid-priced plans may support roughly one substantial task per working day, while higher-priced plans are better suited to frequent or parallel use. Treating a quota-based subscription as unlimited is likely to exhaust the weekly allowance early.

    5. Case Study: A Frontend Refinement Task

    A real frontend interface and interaction refinement task—not a refactoring project—provided the following observations:

    • The project contained approximately 88,000 lines of code, including about 28,500 frontend lines.
    • A single iteration used approximately 226,000 context tokens, a little over one-tenth of the model’s context limit.
    • Around five hours of continuous work consumed roughly 60% of the short-window quota and 13% of the weekly quota.
    • Once short-window usage passed the halfway mark, the weekly allowance had fallen by about 10%. This was consistent with a weekly quota equivalent to roughly five short-window allowances.
    • Generation was noticeably slow. Perceived latency across the planning, building, and committing workflow was the main pain point.

    Three conclusions follow.

    First, this type of plan is better suited to one focused refinement session per day than to continuous, high-frequency iteration.

    Second, if a primary model already handles everyday development, a secondary model is more reasonably positioned as a tool for tackling one especially difficult problem each day—for example, diagnosing a stubborn defect or evaluating complex interaction designs.

    Third, when a mature primary toolchain is already in place, the marginal value of an additional subscription may come mainly from specialized requirements, such as visual fidelity and interaction details, rather than a broad improvement in general capability.

    6. A Practical Model Selection Framework

    Evaluate candidate models and plans along four dimensions rather than focusing on the headline token price.

    1. Fit for the task. Long-context comprehension, repository-wide retrieval, and interface refinement place different demands on a model.
    2. Quota structure, not just subscription price. Convert each plan into cost per useful completed task before comparing it with alternatives.
    3. Latency budget. Frequent interactive tasks are sensitive to delays. Batch-style tasks can tolerate slower execution when the quality justifies it.
    4. Model combinations. A primary model paired with a specialist model can be more economical than relying on a single expensive option.

    For cloud deployments, general infrastructure services can support this approach:

    • Use object storage to retain prompts and task artifacts.
    • Use logging, monitoring, and alerts to track token consumption and cache hit rates.
    • Use container platforms to run batch offline tasks and spread costs across the workload.

    These are general industry service categories. Consult the relevant platform’s official documentation for implementation details.

    7. Cost-Control Checklist

    • Establish cache-friendly prompt layering standards and include them in code review.
    • Build dashboards for token usage, cache hit rate, and task success rate; review them weekly.
    • Route tasks by difficulty: use lower-cost options for simple changes and higher-capability models for difficult problems.
    • Break long tasks into independently verifiable steps to prevent uncontrolled context growth.
    • Regularly remove outdated material from retrieval collections to reduce irrelevant context consumption.

    8. Conclusion

    A severalfold price increase is not, by itself, enough to justify a model-selection decision.

    The more important capability is translating model unit prices into cost per useful outcome, then controlling that cost through context management, cache reuse, and tiered task routing.

    The first makes model selection more rational. The second keeps the bill manageable.