Benchmarking LLM Inference Pricing: Cost Structure, Unit Economics, and Vendor Selection
This article explains how to evaluate large language model inference pricing by anchoring on transparent, sustainable cost structures rather than the lowest headline price. It breaks per-million-token rates into a per-request cost formula, shows why the input-to-output price ratio matters for different workloads, and quantifies the risk of third-party hosting channels that charge roughly 3x the official price while delivering reduced context windows, lower maximum output, and single-digit token/s throughput. It also covers prompt caching as an underused cost lever, how to compare subscription plans against pay-as-you-go using equivalent per-token cost, and a five-step selection checklist for making repeatable, monitorable cost decisions.
1. Why break-even pricing makes the best price benchmark
When assessing whether a model service is priced reasonably, the most reliable reference is not “who is cheaper” but “whose cost structure is the most transparent and sustainable.” A pricing strategy built on roughly breaking even has natural benchmark value: it does not rely on subsidies to buy growth, nor does it hide real overhead behind cross-subsidized margins. Its price curve stays closer to the true marginal cost of compute, GPU memory, and bandwidth.
Public discussions of “theoretically very high profit margins” in the industry showed precisely that market prices at the time deviated significantly from real costs. When a vendor is willing to push prices down near the cost line, its role for the whole supply chain is that of an anchor: other vendors’ quotes, the markup multiples of third-party hosting services, and buyers’ budget models can all be extrapolated linearly from that anchor. Conversely, if market prices rest on subsidies over the long term, buyers cannot tell whether they are paying for efficiency or for marketing.
Three criteria determine whether a benchmark holds:
- Sustainability: the price covers compute depreciation, operations, and bandwidth, and does not depend on continuous funding infusions.
- Consistency: the price gap between official channels and third-party hosting channels is explainable (for example, only compute hosting and operations markup).
- Verifiability: stated capabilities such as context length, maximum output length, and throughput match the listed price.
2. Breaking price down into calculable unit costs
To evaluate price, first translate the “per-million-token rate” into business language. Let the input rate be P_in and the output rate be P_out (in CNY per million tokens). For a request with I input tokens and O output tokens, the cost per request is:
Cost = (I / 1e6) * P_in + (O / 1e6) * P_out
Take a typical scenario: 1 million input tokens and 200,000 output tokens, with input at about 1 CNY per million and output at about 2 CNY per million. The cost per request is roughly 1×1 + 0.2×2 = 1.4 CNY. This magnitude shows that in retrieval-augmented and long-document workloads where input far exceeds output, the input rate is the main cost driver; in code generation and workloads with long reasoning chains, the weight of the output rate rises quickly.
So price cannot be judged from a single number. What matters is the input/output price ratio. When the output rate is about 2x the input rate, that is a common industry structure. If a channel pushes the output rate above 3x the input rate without a matching capability increase, be wary of “high price, low spec.”
3. The “3x price, 30% performance” trap in third-party hosting channels
In real procurement, the same model is often listed across multiple hosting channels. A common unreasonable pattern: a third-party channel quotes about 3x the official channel, yet throughput is only single-digit tokens/s, the context window is compressed (for example, 1M advertised but only 800K actually open), and maximum output length is cut (for example, 384K advertised but only 131K available).
The problem with such channels is not that they are expensive, but that the price has no corresponding capability. A simple value metric makes this quantifiable:
Value = (usable context ratio × usable output ratio × throughput factor) / price multiple
With 0.8 usable context, 0.34 usable output, a throughput factor of 0.3, and a price multiple of 3, value is about 0.8×0.34×0.3/3 ≈ 0.027, or roughly 2.7% of the official channel. That is the real meaning of “3x price for 30% performance”: you are not buying compute, you are paying for the channel’s middle layer.
Contrast this with another situation: some third-party channels quote even below the official price for models at the same tier, with full capabilities. This shows that competition between channels should push prices toward the cost line, and any quote significantly above cost with reduced capability lacks justification.
4. Cache hits: the underestimated cost lever
In long-context applications, prefix repetition is often high (system prompts, tool definitions, knowledge base snippets). With context caching enabled, the input billing for the cached portion is usually only a small fraction of the original price, commonly believed to drop to about 20% or lower. Let the cache hit rate be h and the cached-portion discount be d (such as 0.2). Input cost becomes:
InputCost = (I / 1e6) * P_in * ((1 - h) + h * d)
With h = 0.8 and d = 0.2, input cost falls to 0.36x the original. For high-concurrency online services with a fixed prefix, this often works better than switching to a cheaper model. Three engineering points matter: the prefix must be byte-for-byte stable (timestamps and random IDs break hits), the cache scope and isolation policy must be clear, and hit statistics must be wired into monitoring and alerting for continuous tuning.
5. Evaluating subscription vs. pay-as-you-go
At very high usage intensity, the equivalent per-million-token cost of a fixed monthly subscription can be far below pay-as-you-go, to the point where the theoretical usage cost covered by the subscription fee is tens of times the fee itself. This is not vendor charity: subscriptions trade deterministic revenue for stability in capacity planning, while rate limits and concurrency caps control peak risk.
The evaluation method is simple:
Equivalent unit price = subscription fee / actual tokens consumed
Plug in the real consumption of the past 30 days. If the equivalent unit price is significantly below the pay-as-you-go rate, the subscription is the better deal. If usage swings widely within the month and peaks are capped, a hybrid approach (subscription as a floor plus pay-as-you-go as a backstop) is more stable. Note that “unlimited usage” in subscriptions usually comes with soft quotas, so capacity planning should not be designed against the theoretical ceiling.
6. Selection checklist: five steps to a rational decision
- Define the workload profile: input/output ratio, prefix repetition, peak concurrency.
- Normalize pricing: convert everything to per-million-token rates and factor in cache discounts.
- Verify capability completeness: whether context window, maximum output, and throughput match the listed price.
- Compute the value metric: use the formulas above to quantify “price multiple vs. capability ratio.”
- Build observability: bring token consumption, cache hit rate, time to first token, and throughput into logging and monitoring with alerting, and review weekly.
7. Conclusion
The right way to evaluate LLM pricing is to return to cost structure and capability delivery. Pricing anchored on break-even operation gives the industry a reproducible reference, while high-price/low-spec channels, compressed context, and reduced throughput should be filtered out directly by quantitative metrics. For developers, the real capability is not finding the cheapest endpoint but building a cost engineering method that is reproducible, monitorable, and continuously optimizable—turning every call into an explainable, optimizable cost unit, supported by general cloud capabilities such as monitoring and alerting, logging, and object storage from platforms like Baidu AI Cloud.
