Why LLM Inference Pricing Is Moving to Peak and Off-Peak Billing

    This article explains why large language model inference pricing is shifting from a single flat rate to peak and off-peak tiers, and what that means for engineering teams. It covers the hardware and workload constraints behind time-based pricing, a cost model that breaks the bill into cache hit rate, token volume, and time-of-day variables, and four practical levers: improving prefix cache reuse, batching and asynchronous scheduling, elastic capacity planning, and observability-driven cost governance. It also lists common mistakes and shows how to treat tokens like electricity when designing cost-aware AI systems.

    1. Industry Context: Inference Pricing Enters the “Meter” Era

    An annual AI index report from a university research group found that the price per million tokens for models reaching a given level of general knowledge performance fell from roughly $20 in late 2022 to $0.07 by October 2024 — a drop to about 1/286 of the original price. The signal here is not simply that “models got cheaper.” Inference services are shifting from a scarce resource sold per call to a metered public utility billed by volume.

    When the price of a resource drops by two orders of magnitude, billing granularity inevitably follows. Early API pricing was a single number, closer to a flat monthly broadband plan. Once unit prices are low enough and call volumes large enough, providers have an incentive to distinguish peak from idle periods the way power companies do, using price signals to shift load. A platform that introduced peak/off-peak pricing in August 2026, then launched a lightweight tier in September with further price cuts, is a concrete example of this trend.

    Its published pricing structure is representative. For the lightweight model during peak hours, input costs about ¥0.04 per million tokens on a cache hit and about ¥2 on a cache miss, with output at about ¥8. The more capable version is about ¥0.3, ¥9, and ¥27 respectively. Off-peak rates are uniformly half the peak rate. Critically, peak hours are explicitly defined as 9:00–12:00 and 14:00–18:00 Beijing time on weekdays; all other times, plus weekends and public holidays, use off-peak pricing.

    2. Why Peak and Off-Peak: The Physical Constraints of Inference Load

    LLM inference load curves closely resemble household electricity usage, for reasons rooted in hardware:

    • Accelerator cards spend their heaviest load in high-compute phases. Sustained full utilization creates power and thermal pressure, so data centers must reserve headroom for power delivery and cooling.
    • Inference requests follow human daily rhythms. Concurrency spikes during working hours and drops to deep troughs at night and on weekends, leaving capacity purchased for peak demand idle during valleys.
    • Optimizations like caching and batching are more efficient under steady load. During sudden spikes, batch sizes are forced down, and the real cost per token actually rises.

    Peak/off-peak pricing is essentially a way to transfer peak capacity costs, through price elasticity, onto load that can be scheduled. For developers, this means cost optimization has a time dimension for the first time: the same call volume billed at different times can differ by a factor of two.

    3. Cost Model: Breaking the Bill into Computable Variables

    Let input tokens be (I), output tokens be (O), cache hit rate be (h), peak unit prices be (p{in}, p{out}), cache hit discount be (d), and off-peak discount be (k=0.5). The cost of a single call can be approximated as:

    1. cost = (I * h * p_in * d + I * (1 - h) * p_in) * t + O * p_out * t
    2. where t = 1 (peak) or 0.5 (off-peak)

    This equation exposes three actionable levers: raise (h), shrink (I) and (O), and move (t) to 0.5. Note that output prices are usually several times input prices, so “making the model say less” often pays off more than “making the model read less.”

    4. Practice 1: Cache Hit Rate Is the Overlooked First Lever

    Prefix cache reuse requires request prefixes to match byte for byte. Putting timestamps, random IDs, or user nicknames at the start of a prompt invalidates the entire prefix. Keep stable content first:

    1. [System instructions + domain knowledge + tool descriptions] <- stable, cacheable
    2. [Conversation context] <- variable part, placed later
    3. [Current user input] <- appended last

    Also fix high-frequency knowledge as a static prefix to avoid retrieval result ordering drift, and use fixed templates for structured output. Cache hit rate should be a first-class monitoring metric, displayed alongside latency and error rate.

    5. Practice 2: Batching and Asynchronous Decoupling

    Offline tasks (log summarization, batch labeling, report generation) are latency-insensitive and fit well in a message queue, where consumers pull at a rate limited to off-peak windows and worker concurrency controls throughput. Sketch of the logic:

    1. def schedule(task):
    2. hour = now_beijing().hour
    3. peak = 9 <= hour < 12 or 14 <= hour < 18
    4. if task.deadline_soon():
    5. return run_now(task) # interactive path prioritizes latency
    6. return run_now(task) if not peak else enqueue_later(task, next_valley())

    Interactive and offline paths must be physically isolated so batch jobs cannot crowd out online quota during peak hours.

    6. Practice 3: Elastic Scaling and Capacity Planning

    The cost-optimal baseline is to purchase always-on capacity at the valley average and configure elastic scale-out for peak. Container platforms with metric-based alerts can automate scaling, while request queuing and degradation strategies (shorter context, switching to a lightweight model) smooth out spikes. Capacity reviews should present two numbers — a “peak bill” and an “off-peak bill” — rather than budgeting on averages alone.

    7. Practice 4: Observability and Cost Governance

    No optimization is possible without metering. Instrument the gateway to log input and output tokens, cache hit flags, time-window labels, and business ownership for every call, forming cost allocation by team and scenario. Set per-day token caps and alerts for anomalous calls. Model routing matters too: route intent detection and format conversion to lightweight models, and escalate to higher-capability versions only for complex reasoning.

    8. Common Pitfalls

    • Watching unit price but ignoring structure: in output-heavy scenarios, price cuts are offset by long outputs.
    • Ignoring time zones: peak/off-peak windows are defined by a specific time zone and weekday calendar, so cross-time-zone scheduling requires your own conversion.
    • Over-caching: when knowledge updates frequently, force-reusing prefixes sacrifices answer correctness.
    • Treating valleys as infinite resources: valleys are still shared resources, so keep rate limiting and retry budgets.

    9. Conclusion

    The move from a single price to a peak/off-peak structure marks LLM services becoming a metered, foundational resource. The right response is not to wait for lower unit prices, but to build cache hit rate, time-based scheduling, model routing, and cost observability into your architecture. Using general-purpose capabilities from platforms like Baidu AI Cloud — object storage, message queues, container platforms, log services, and monitoring alerts — is enough to support a complete cost governance loop. Whoever starts managing tokens like an electricity bill will capture real engineering gains in this round of price restructuring.