LLM API Usage Rankings: Technical Observations on Demand Signals and Cache Hit Rates
An analysis of what LLM API usage rankings actually reveal about production demand, why cache hit rate is the most underrated metric, and how to build your own observability loop to guide context organization, prompt structure, and model routing decisions.
1. What a Usage Ranking Reveals About the Market
While reading the official documentation of an AI coding tool recently, I noticed a page that is easy to overlook: the model usage ranking. It lists models by call volume and includes secondary metrics such as cache hit rate. The page itself is not complicated, but it quantifies what developers actually use and how they use it, which puts it closer to real production environments than any benchmark leaderboard.
From the public data, the gap between the top two models and the third and fourth is not dramatic: the third and fourth sit at roughly 372B and 302B cumulative calls respectively. The reasons behind those numbers are more interesting. One model launched a limited-time free promotion around June 1, and usage rose accordingly. The other became available only on June 13, so its volume reflects the concentrated trial period that follows a new release. These two cases represent two entirely different growth curves: price-driven growth and novelty-driven growth.
Another number worth attention is the cache hit rate. For the top eight models, the hit rate is generally above 92%. That figure carries more technical weight than the call volume itself, and I will come back to it.
2. What a Call Volume Ranking Can and Cannot Tell You
2.1 It Is a Demand-Side Signal, Not a Capability Score
High call volume does not mean the strongest model. It mixes at least four factors:
- Default configuration: a model selected by default in a tool has a built-in advantage;
- Price and promotions: limited-time free access and tiered price cuts can shift short-term curves significantly;
- Launch timing: trial traffic in the first days after a release creates a spike;
- Scenario fit: code completion, long-context refactoring, and single-turn Q&A place very different demands on a model.
Read the ranking as a capability leaderboard and you will draw the wrong conclusion. Read it as a demand distribution map and it becomes useful for engineering.
2.2 Two Shapes of Growth Curves
Price-driven growth ramps up fast, peaks high, and falls back noticeably once the promotion ends, with a call mix skewed toward short, high-frequency requests. Novelty-driven growth concentrates in the first one to two weeks after release, with more dispersed request content: users are probing capability boundaries, so long contexts and complex instructions make up a larger share.
For platform operators, the two traffic types stress the inference cluster in completely different ways: the first tests throughput and concurrency scheduling, the second tests long-sequence memory usage and time to first token. For consumers, short-term ranking swings should not be treated as a basis for long-term model selection.
3. Cache Hit Rate: The Underrated Core Metric
3.1 Why It Matters
In AI coding scenarios, requests share large repeated prefixes: the same repository directory structure, the same set of type definitions, the same system prompt. If the inference side supports prefix caching, that repeated computation can be reused, which yields two benefits directly: lower time to first token and lower cost per call. A hit rate above 92% means more than ninety percent of prefix computation is saved, and that is the economic foundation that makes long-context scenarios viable at scale.
3.2 Key Factors That Affect the Hit Rate
- Prefix stability: if the system prompt embeds a timestamp or a random identifier, the prefix changes on every request and the cache is invalidated entirely;
- Context ordering: placing stable content first and volatile content last is the first optimization lever;
- Session granularity: rebuilding context repeatedly across multi-turn conversations is equivalent to continuously manufacturing misses;
- Model switching: cache space is independent per model, so frequent switching dilutes the hit rate.
3.3 An Illustrative Way to Organize Context
[stable prefix] system instructions + tool descriptions + repository structure summary + coding conventions[semi-stable section] currently open file, related dependency definitions[volatile suffix] current user question, timestamps, temporary debugging info
There is only one principle: the more stable the content, the earlier it goes. In practice, the repository structure summary can be produced as a build-time artifact rather than generated on every request.
4. Building Your Own Usage Observability System
Do not just read someone else’s ranking; build your own observability loop. A minimal viable setup has three layers:
- Instrumentation: record input length, output length, cache hit or miss, end-to-end latency, and time to first token for every call;
- Aggregation: roll up per minute by model, by project, and by scenario (completion / chat / refactoring);
- Alerting: set thresholds for sudden drops in hit rate, abnormal daily call spikes, and rising unit cost.
An illustrative data structure:
{"ts": "2025-06-14T10:00:00Z","model_alias": "model-a","scene": "code_completion","input_tokens": 18240,"output_tokens": 320,"cache_hit": true,"ttft_ms": 410,"total_ms": 1180}
With this data you can answer concrete questions such as whether a prompt change actually improved the hit rate, instead of judging by feel.
5. The Cost Perspective: Converting Hit Rate into Money
Without reference to any vendor’s specific billing rules, a general model is enough to estimate:
effective computation ≈ input length × (1 - cache hit rate) + output length
So long input with a low hit rate is the most expensive shape, while long input with a high hit rate approaches “cheap long context.” The optimization order should be: raise the hit rate first, then compress input length, and only then consider switching to a smaller model. Many teams invert that order, and the unit price they save is cancelled out by repeated computation.
6. Selection Advice: From the Ranking Back to the Scenario
- High-frequency short completion: prioritize throughput and time to first token; the largest model is not required;
- Cross-file refactoring: prioritize effective long-context utilization and cache support;
- Complex reasoning and debugging: prioritize the capability ceiling and accept a higher unit cost;
- Cost-sensitive batch jobs: prioritize hit rate and batch processing capability.
Also keep a replaceable model abstraction layer so business code is not tightly coupled to a single model:
class ModelClient:def complete(self, prompt: str, **kwargs) -> str:raise NotImplementedErrorclass CachedModelClient(ModelClient):def complete(self, prompt: str, **kwargs) -> str:# Centralize prefix organization, caching policy, and instrumentation here...
7. Conclusion
The value of a usage ranking page is not that it tells you who is first. It is that it points out how call volume, cache hit rate, launch timing, and promotion strategy together form the real picture of usage. For developers, the better investment is your own observability system, using data to drive continuous improvement of context organization, prompt structure, and model routing. When the hit rate stays above ninety percent and unit cost becomes predictable, long-context AI coding genuinely moves from usable to good.
