Why LLM Inference Costs Keep Falling: Time-of-Day Pricing, Caching, and Cost Architecture
This article explains why the price of a fixed level of model capability has dropped roughly 286x since late 2022, and why that decline comes from structural reductions in per-token inference cost rather than weaker models. It breaks down the four sources of cost reduction (hardware and parallelism, quantization, prefix caching, and off-peak scheduling), then shows how peak/valley API pricing and cache-based input billing change capacity planning and prompt design. Readers will find a routing example, a prompt-layering pattern, an approximate cost formula, and a practical optimization checklist ordered by priority.
1. The Trend: The Price of a Unit of Intelligence Is Dropping Fast
Industry observations over the past two years show a clear pattern: for a model that reaches a fixed capability level on general knowledge benchmarks, the price per million tokens fell from about $20 in late 2022 to roughly $0.07 by October 2024 — a decline of about 286x. The number itself is not the interesting part. What matters is the combination of “same capability, much lower price,” which indicates the drop does not come from reduced capability but from a structural decline in per-token inference cost.
Pricing mechanisms are evolving too. In mid-August 2026, a cloud provider introduced time-of-day (peak/valley) pricing for its large language model APIs. In early September of the same year, after an update to its lightweight model version, API prices were reduced further. Under its published pricing structure, the lightweight model costs per million tokens during peak hours: $0.04 for cached input hits, $2 for input cache misses, and $8 for output; the more capable version is priced at $0.3, $9, and $27 respectively. Both models are priced at half the peak rate during off-peak hours.
The practical takeaway for developers: an inference bill is no longer determined by “how many calls you made” alone. It is determined jointly by when you call, which cache you hit, and your input-to-output ratio.
2. Why Costs Can Fall: Four Structural Sources
Hardware and parallelism. Inference is a memory-bandwidth-bound workload, so throughput is constrained by VRAM bandwidth. Splitting a single layer’s computation across multiple GPUs with tensor parallelism and pipeline parallelism, then merging tokens from different requests into one large batch via continuous batching, significantly raises output per unit of time.
Quantization and memory compression. Representing weights and the KV cache in lower precision expands the concurrency you can hold in memory with almost no loss in quality, directly amortizing per-token cost.
Cache reuse. Prefixes such as system prompts, long documents, and code repository context are often stable and repeated. Prefix caching stores the computation for that portion, so a cache hit skips recomputation.
Scheduling and load shifting. Power and compute supply fluctuate noticeably by time of day. Moving deferrable batch jobs into valley hours is the cheapest and most immediately rewarding step in cost optimization.
3. Time-of-Day Pricing: Treating Load as a Schedulable Resource
Peak/valley pricing essentially ports the grid’s load-shifting logic into the compute market. Peak hours reflect resource scarcity, while off-peak hours release idle capacity at roughly half price, nudging deferrable workloads to yield.
The direct architectural impact is that tasks must be explicitly labeled “interactive” or “deferrable.” Interactive paths (online Q&A, code completion) stay in peak hours; deferrable paths (offline summarization, batch labeling, regression evaluation, log analysis) move down to valley hours. In engineering terms, this only requires a routing decision at the call layer:
# Example: pick run window and model tier by task typedef pick_profile(task):if task.interactive:return {"model": "pro", "window": "peak"} # preserve latencyif task.deadline_hours > 6:return {"model": "flash", "window": "valley"} # preserve budgetreturn {"model": "flash", "window": "peak"}
Note that time-of-day pricing also changes the shape of capacity planning: throughput is ample in valley hours, but peak hours still need reserved headroom. Pair this with queues and backpressure so peak requests do not pile up into a timeout cascade.
4. Cache Hits: Input Billing Redefined
Look again at the price structure above: there is roughly a 50x gap between the cache-hit and cache-miss input prices, and output is generally 4x to 3x the cache-miss input price. That yields three clear optimization rules:
- Put stable prefixes first. Place system instructions, tool definitions, and few-shot examples at the very front of the prompt, with no dynamic concatenation, to maximize prefix reuse.
- Put dynamic content last. Keep volatile fragments such as timestamps, user IDs, and retrieval results at the end so they do not pollute the cacheable prefix.
- Control output length. Because output carries the highest unit price, capping maximum generation length and requiring concise structured output is often more effective than compressing the input.
[Stable prefix: role setup + tool definitions + examples] <- high hit rate[Conversation history: rolling window][Current dynamic context: retrieved snippets + user input] <- cache miss[Output constraints: length/format limits] <- cost control]
5. Cost Model and Optimization Checklist
Combining the mechanisms above gives an estimable approximation:
cost per call ≈ (hit input volume × hit unit price + miss input volume × miss unit price+ output volume × output unit price) × time-of-day factor
The time-of-day factor is 1 at peak and about 0.5 off-peak. The resulting optimization priority is: first raise the cache hit rate, then compress output length, then cut redundant input, and finally shift time windows and tier the model.
Implementation checklist:
- Set up token metering and alerts split by business line; cost that cannot be observed cannot be optimized.
- Serve high-frequency simple requests with the lightweight model, escalating to the higher-capability tier only when necessary.
- For long-document scenarios, use retrieval augmentation instead of concatenating the full text, reducing cache-miss input.
- Design checkpoint resume and idempotency keys for batch jobs so off-peak migration is safe and reliable.
6. Conclusion
The steady decline in the price of a unit of intelligence turns cost governance from after-the-fact accounting into part of architecture design. Time-of-day pricing requires classifying load; cache-based billing requires layering prompts. Combined, they can easily produce several-fold differences in cost. For developers, the real competitive edge is not whether you can call the strongest model, but whether you can use systematic scheduling, caching, and tiering to place budget precisely where it is needed most.
