Why LLM Chat Is Starting to Show a Price Tag
This article explains why free LLM chat interfaces are beginning to display token-based cost estimates and impose usage limits, and treats the issue as a general engineering problem rather than a product review. It covers the first principles of token cost, the two main billing models (pay-as-you-go APIs and subscription or credit packages), and two often-underestimated levers: peak/off-peak pricing and context caching. It then lays out practical engineering measures—usage observability, budgets and circuit breakers, model tier routing, context governance, output-side constraints, and regression testing—along with the trend that shrinking free quotas is a long-term state, so architectures should assume quotas, prices, and context windows will change.
Introduction: A Price Tag Inside a Free Interface
Recently, some LLM products have begun, after mobile updates, to let users view the number of tokens consumed by a single conversation turn in the chat panel, converted into an “equivalent amount” using the pricing basis of the developer API. To be clear, this is only a converted display; users are not actually being charged. What landed earlier than this price tag was another notice: on the free tier, a single input is compressed to roughly forty thousand characters, daily usage quotas are now capped, and long conversations with no active interaction for over seven days can no longer be resumed directly.
The two notices point to two different questions. The first answers “what this same conversation would cost through the API”; the second answers “how far the free service can actually be used.” Vendors have not yet published a paid plan aimed at ordinary users, but the direction is clear: as models move from “chatting” to “doing work for people,” the reasoning, retrieval, tool calls, and multi-turn verification a model must complete keep increasing, and the extra compute cost has to be borne by someone. This article does not compare specific products; it abstracts the matter into a general engineering problem: where token cost comes from, and how it can be systematically driven down.
1. The First Principles of Cost: Tokens Are a Unit of Measurement, Not a Price
The cost of LLM inference is roughly linear in “how many tokens were processed,” which is why tokens became the industry’s common unit of measurement. Understanding the bill starts with understanding three characteristics of tokens.
First, a token is not a character. Chinese, English, code, and JSON structures are split at different densities by the tokenizer, so the way the same meaning is expressed can significantly change the token count. Redundant prompts, repeated context, and unbounded message history all amplify input-side cost linearly.
Second, input and output are usually priced separately, and output carries a higher unit price than input. Taking a common industry price structure as an example, one tier charges 2 RMB per million input tokens and 8 RMB per million output tokens—output is 4x input. The reason is that the generation stage requires token-by-token autoregressive decoding, which cannot be highly parallelized the way prefill can, so compute utilization is inherently lower.
Third, context length is a cost amplifier. If a multi-turn conversation repeatedly resends the entire history, input tokens grow roughly quadratically with the number of turns. This is the real driver behind limits like “long conversations cannot be resumed”: not a feature being cut down, but a constraint made inevitable by the cost structure.
Schematically, the cost of a single call can be written as:
cost = input_tokens / 1e6 * price_in+ output_tokens / 1e6 * price_out- cache_hit_tokens / 1e6 * (price_in - price_cache)
The cache-hit portion is typically billed at a price far below the normal input price, which is one of the most effective levers for cutting cost today.
2. Two Billing Mainlines: Pay-as-You-Go and Subscription Quotas
When base model vendors charge customers, the industry has largely converged on two models.
API pay-as-you-go. Enterprises or developers plug a model into their own products and settle by actual input and output tokens. The advantages are zero barrier to entry and elastic scaling with traffic; the risk is an unpredictable bill, where a single prompt refactor or one abnormal retry storm can double monthly spending. Teams with high call volume therefore have to keep watching three metrics continuously: model selection, cache hit rate, and task volume.
Subscriptions and bundled quotas. For individual developers and small and mid-sized customers, vendors package a certain period of usage quota for sale, billed monthly or yearly, which makes it easier to estimate spending in advance. Quota definitions are not uniform: some count tokens, some convert to credits or call counts, and the downgrade or blocking rules after exceeding the quota differ as well. Large customers tend to prepay for resource packages, or negotiate separately over concurrency scale and dedicated deployment.
The subscriptions ordinary users encounter look more like software memberships: a free entry point is retained, and paying buys higher quotas and more capabilities, with some plans bundling model capability together with cloud storage and office suites. Users do not need to calculate tokens on each call, but a monthly plan never means unlimited use.
Putting the published prices of various vendors side by side shows clear tiers: generating one million tokens may be quoted at several hundred RMB at the high-end flagship tier, and as low as single digits or under one RMB at the lightweight tier. The bill gap created by selection differences is often larger than the gap created by optimizing code.
3. The Undervalued Variables: Time-of-Use Pricing and Cache Reuse
Two mechanisms deserve separate treatment, because they directly determine architecture design.
Peak and off-peak time-of-use pricing. The same model is given different unit prices at peak and idle times—for example, 8 RMB on the output side at peak and 4 RMB off-peak. This effectively brings the cloud computing idea of peak shaving and valley filling to the inference side. The engineering implication: offline batch processing, log summarization, and bulk labeling tasks should be actively scheduled off-peak.
Context cache reuse. Reusable prefix computation results are charged only a very low price—for example, the gap between 2 RMB and 0.04 RMB on the input side amounts to a 50x discount. This requires the prompt structure to stay stable: put unchanging system instructions, knowledge base fragments, and tool definitions in the prefix, and the changing part at the tail. Once the order shifts, the cache is invalidated.
# Cache-friendly (stable prefix)[system instructions v3] + [domain knowledge block] + [tool schema] + [current user input]# Cache-unfriendly (prefix changes each turn)[current user input] + [system instructions] + [history messages...]
4. Engineering Practice: Make the Token Budget a First-Class Citizen
To keep cost under control, it has to be treated as an engineering object that is observable, regression-testable, and alertable, rather than a surprise discovered after the fact by finance.
- Build usage observability. Log the input, output, cache hits, and latency of every call uniformly at the gateway layer, and use logging services plus monitoring alerts to form usage dashboards by business line, by endpoint, and by tenant.
- Set budgets and circuit breakers. Configure token budgets and rate-limit thresholds for each business scenario, and downgrade to a lightweight model or return a cached result when limits are exceeded, so a single failure does not amplify the bill.
- Tiered model routing. Send simple intent recognition and format conversion to the lightweight tier; send complex reasoning and code generation to the flagship tier. Routing rules should be configurable and support gradual rollout.
- Context governance. Summarize and compress history messages with a sliding window, and in retrieval-augmented scenarios cap the number of recalled items and fragment length; never send back the full text of an entire corpus.
- Output-side constraints. Use structured output, maximum length limits, and keeping the reasoning process from being exposed to reduce generated tokens; since the output unit price is higher, the payoff is more direct.
- Regression and load testing. Include token consumption in endpoint performance test metrics, and require prompt changes to review cost impact, preventing “a slight quality gain, a tenfold cost increase.”
5. Trend: Shrinking Free Quotas Is a Long-Term State
Capping input length on the free tier, setting daily quotas, and restricting the resumption of very long conversations are essentially about shifting part of the marginal cost from the vendor side back to the user side, while leaving room for tiered pricing in the future. The lesson for developers is direct: do not treat free quota as a stable production dependency; architecturally, you must assume quotas will change, unit prices will change, and context windows will be constrained.
In general practice on platforms such as Baidu AI Cloud, problems of this kind are usually resolved through a combination of model services, caching capabilities, message queues for peak shaving, object storage for archiving long text, and monitoring alerts—the same line of thinking as above: observable, budgetable, degradable.
Conclusion
Free chat getting a price tag marks the point where LLMs move from “capability demonstration” to “cost management.” The sources of bill gaps come first from model selection, then from caching and time-of-use strategy, and only last from prompts and context governance. Building token budgets, usage dashboards, and downgrade routing into the architecture is what keeps both cost and experience under control through a cycle of continuously rising compute bills.
