Comparing Chinese LLM API Costs: Why Listed Unit Prices Are Not Enough
When integrating Chinese LLM APIs, the listed price per million tokens is only one input to real cost. This article explains how to compare input and output pricing on a weighted basis, interpret a price snapshot across official, cloud, aggregator, and relay channels, account for caching and service differences, build a practical cost table, and validate actual bills before choosing a provider.
When integrating large language models from Chinese providers, many developers start by comparing model names and advertised parameters. Once a project moves into implementation, however, the most common cause of budget overruns is not the model itself. It is the billing basis, the access channel, and the structure of API calls.
The same model may cost several times more or less depending on whether it is accessed through an official API, a cloud platform, an aggregator platform, or an independent relay service. More importantly, price differences do not always follow the intuitive rule that “official is cheapest and third parties are more expensive.” Channels differ in model supply, concurrency resources, service guarantees, and billing policies, which can produce very different cost outcomes.
This article does not focus on a specific brand. Instead, it looks at how to judge the real cost of using LLMs from a general technical selection perspective.
1. Align the Comparison Basis First: Unit Prices Cannot Be Compared Directly
LLMs are usually billed separately for input tokens and output tokens. Some services also distinguish cached input, long context, batch requests, or different regions. Comparing a single number can easily lead to the wrong conclusion.
For coding assistants, code review, automated repair, and agent tasks, output tokens are often significantly higher than input tokens. A weighted model can therefore be used:
Blended cost = input unit price × input share+ output unit price × output share
This article uses the following example:
Input share: 30%Output share: 70%Exchange rate: 1 USD ≈ RMB 7.2
This basis does not apply to every scenario. Ordinary question answering may have a more balanced input/output mix. Document summarization usually has a higher input share. Multi-turn agent tasks may see output costs rise quickly because of tool calls and intermediate reasoning.
The reasonable approach is therefore not to search for an “absolute lowest price,” but to calculate weighted cost based on the token structure of your own workload.
2. A Public Price Snapshot: Low and High Prices Can Differ Several Times
Consider four common categories of Chinese LLMs, abstracted here as Model A, Model B, Model C, and Model D. Compare official direct access, cloud platforms, aggregator platforms, and independent relay channels. One illustrative result is shown below:
| Model category | Official direct | Cloud platform | Aggregator platform | Independent relay |
|---|---|---|---|---|
| Model A | RMB 25.20/M | RMB 22.00/M | Not listed | RMB 3.87/M |
| Model B | Not available | RMB 28.80/M | Not listed | RMB 9.08/M |
| Model C | RMB 5.32/M | RMB 20.40/M | RMB 5.32/M | RMB 1.49/M |
| Model D | RMB 76.00/M | RMB 76.00/M | RMB 76.80/M | RMB 24.27/M |
Here, “M” means per million tokens. The “blended cost” values in the table have already been weighted at 30% input and 70% output.
Three observations stand out.
2.1 Official Direct Access Is Not Always the Lowest Price
For Model C, the official blended price is about RMB 5.32/M, while one cloud platform is about RMB 20.40/M. That is close to a fourfold difference.
This shows that a cloud platform price is not necessarily just “the original model price plus a small service fee.” The platform may also carry costs for resource scheduling, account systems, compliance management, observability, rate limiting, invoicing, and enterprise services. For teams that need unified management, these capabilities have value, but they do not necessarily translate into a lower token price.
2.2 A Low-Cost Channel Is Not Better on Every Metric
Independent relay channels are generally cheaper in the example, but price is only one part of a procurement decision. You also need to confirm:
- Whether the model version is exactly the target version;
- Whether streaming responses are supported;
- Whether there are hidden concurrency limits;
- Whether sufficiently long context is supported;
- Whether there is a stable error retry mechanism;
- Whether data compliance and log management requirements can be met;
- Whether the price is a long-term effective price rather than a short-term promotion.
If a low-cost channel frequently times out, loses context, or limits concurrency, the actual cost may rise because of retries, manual intervention, and failed tasks.
2.3 “Not Listed” Should Not Be Treated as “More Expensive” or “Cheaper”
For Model B, some channels only offer a coding-specialized version or a lightweight version, not the target flagship version. In that case, you cannot force a comparison using prices for different versions.
A rigorous price table should clearly distinguish:
- The same model and the same version;
- Different context specifications of the same model;
- General versions versus coding-specialized versions;
- Flagship versions versus lightweight versions;
- Production versions versus test versions.
If versions differ, the table should at least mark them as “not directly comparable” instead of filling in a number that looks complete.
3. Why the Same Model Can Have Huge Price Differences
3.1 Input and Output Pricing Ratios Differ
For many models, the output unit price is significantly higher than the input unit price. Suppose the input price is RMB 8 per million tokens and the output price is RMB 28 per million tokens. With a 30% input share and a 70% output share:
Blended cost = 8 × 30% + 28 × 70%= RMB 22/M
If another channel only has a higher output price, the final weighted price will be pulled up quickly. For code generation and agent tasks, the output share is often larger, so you should not focus only on the input price.
3.2 Cache Pricing Can Change Long-Term Cost
Some services provide cached billing for repeated prefixes, system prompts, and fixed context. If an application sends the same project specifications, tool definitions, and historical context with every request, the cache hit rate can significantly affect cost.
A request can be split into three parts:
Fixed system prompt: keep it as stable as possible to facilitate cachingDynamic user input: keep only what is necessary for the current turnTool return results: control length and avoid repeated injection
However, whether caching takes effect, how long the cache remains valid, and how cache granularity is defined must all follow the actual billing rules. They cannot be inferred only from API behavior.
3.3 Channels Provide Different Services
Official direct access is usually closer to the model’s original billing logic. Cloud platforms may add unified identity authentication, network isolation, auditing, monitoring, and enterprise settlement. Aggregator platforms emphasize switching between multiple models. Independent relay services may focus more on low prices and fast access.
These channels are not simply “the same product at different prices.” They are different service bundles. For individual developers, a low price may be the core goal. For enterprises, stability, auditing, data boundaries, and contractual guarantees may be more important.
4. Build Your Own Cost Calculation Table
Do not record only “price per million tokens.” At a minimum, add the following fields:
| Field | Purpose |
|---|---|
| Model version | Prevent comparing different versions |
| Input unit price | Calculate request input cost |
| Output unit price | Calculate generated content cost |
| Cache unit price | Evaluate the benefit of repeated context |
| Context limit | Determine whether business data can fit |
| Concurrency limit | Evaluate production throughput |
| Billing unit | Prevent misreading units such as millions or thousands of calls |
| Price validity period | Prevent using outdated information |
| Error retry rules | Estimate extra cost from failed requests |
| Data processing boundary | Determine suitability for sensitive business data |
If there are 1,000 requests per day, with an average of 3,000 input tokens and 7,000 output tokens per request, monthly token volume can be estimated as follows:
Daily input: 1,000 × 3,000 = 3 million tokensDaily output: 1,000 × 7,000 = 7 million tokensMonthly input: about 90 million tokensMonthly output: about 210 million tokens
Then multiply by the input and output unit prices separately. Finally, add retry costs, cache misses, and abnormal traffic costs. A budget calculated this way is more reliable than simply multiplying an “average unit price” by the number of calls.
5. How Different Users Should Choose
Individual Developers
The priorities are a low entry barrier, low price, and rapid validation. You can prioritize channels with clear public pricing, good API compatibility, and pay-as-you-go billing. Even so, keep a backup channel to avoid a single point of failure.
Small Teams
In addition to price, pay attention to concurrency, rate limits, key management, and call logs. A unified gateway is recommended so that model names, channel endpoints, and key configurations are managed centrally. This avoids tightly coupling business code to a supplier’s API.
Enterprise Production Environments
Do not look only at the token unit price. Evaluate the following:
Total cost = token fees+ gateway and operations costs+ failed retry costs+ manual review costs+ data governance costs+ service interruption losses
For scenarios involving customer data, source code, contracts, and internal knowledge bases, also confirm whether data will be used for training, how long logs are retained, whether permission isolation is supported, and whether internal audit requirements are met.
If an enterprise already uses a cloud platform with unified accounts, network isolation, log auditing, monitoring and alerting, and enterprise billing, it can evaluate overall cost from those general capabilities rather than comparing only the token price of a single model.
6. The Right Way to Verify Prices
Here is a reusable verification process:
- Record the query date and region.
- Find the public billing pages for each channel.
- Confirm the full model name, version, and context specification.
- Record input, output, and cache prices separately.
- Unify the currency and billing unit.
- Calculate blended cost based on real business ratios.
- Mark “not listed” or “version mismatch” separately.
- Verify returned token counts with a small number of real requests.
- Check rate limiting, retry, and timeout policies.
- Validate actual bills for one to two weeks before launch.
The conclusion is not “always choose the cheapest channel.” It is to first confirm that the comparison objects are the same, then make a decision based on the input/output ratio, stability requirements, and data boundaries of the business.
What LLM procurement should really compare is the cost per unit of effective task completion, not a single number on a promotional page. For developers, establishing a unified comparison basis and continuously recording real usage is often more valuable than finding the lowest quote once.
