Understanding LLM Cost Per Conversation: A Breakdown of the New Cost Card

    This article explains the new cost card feature in conversational AI, which visualizes token consumption and estimated costs per turn. It breaks down the three-part billing model (cached input, uncached input, output), clarifies that the feature is for cost transparency rather than charging, and provides developers with a metrics checklist, code examples, and four optimization strategies—caching, trimming, summarization, and model tiering—to reduce expenses without sacrificing quality.

    1. Overview: The Cost Card in the Chat Interface

    Recently, some users of large language model (LLM) chat services have noticed that after updating their mobile app to a certain version, or while using the web client, a usage detail card appears at the end of each question-and-answer turn. The card lists the number of tokens consumed in that interaction, an estimated monetary amount converted according to the official pricing, and a percentage progress bar showing current context usage. The card still prominently displays “Free,” indicating that this is not a billing announcement but a gradual rollout feature that surfaces backend resource consumption to the user.

    From a product perspective, this capability is about “cost visualization.” In the past, only developers calling the API could see token usage on their bills or monitoring dashboards; regular users had no awareness of it. Now, the same metrics are exposed to end users in card form, allowing them to see for the first time the real computational cost behind a short Q&A.

    It is important to emphasize that, as of the time of reporting, official channels have not released any announcement about charging individual users. The billing rules in the API pricing documentation still apply only to developer call scenarios. Therefore, the accurate positioning of this feature is “cost transparency,” not “billing activation.”

    2. Breaking Down the Billing: A Three-Part Model of Input, Cache, and Output

    To understand this card, you must first understand the common billing model for LLM services. The industry-standard practice is to split a single request into three parts:

    1. Cached input portion: Tokens that hit the prefix cache, with the lowest unit price;
    2. Uncached input portion: Tokens that need to be recomputed, with a higher unit price;
    3. Output portion: Tokens generated by the model, usually with the highest unit price.

    The billing logic can be expressed schematically as:

    1. Cost per turn = Cached tokens × Cached unit price
    2. + Uncached tokens × Uncached unit price
    3. + Output tokens × Output unit price

    The pricing mentioned in the report is consistent with a developer-oriented model pricing system: during weekday peak hours, the uncached input portion costs 2 CNY per million tokens, and the output portion costs 8 CNY per million tokens. A simple question is estimated to cost about 0.02 CNY. The output unit price is four times that of uncached input, which means that “making the model less verbose” and “maximizing cache reuse of the context” are the two most effective paths to cost reduction.

    Additionally, the context usage percentage at the bottom of the card essentially indicates the “remaining available window.” As the percentage continues to climb, the probability of cache misses increases, driving up the cost per request. Approaching the length limit can also trigger truncation or a wait for recovery.

    3. Why Display a Monetary Amount for a Free Service

    Free does not mean zero cost. Every inference consumes GPU compute, VRAM, and bandwidth; the service provider simply absorbs this expense. Presenting the cost as a monetary amount objectively serves three purposes:

    • For users: It builds an intuition that “tokens are a resource,” reducing meaningless long pastes and repetitive follow-up questions;
    • For the platform: During periods of tight compute supply, visualization replaces hard blocking, reducing friction in the user experience;
    • For developers: It helps end users understand why the API is billed by usage, reducing the cognitive gap of “why does calling it cost money.”

    The report also mentions that the service previously adjusted quotas for free users, including limiting the continuation of overly long conversations, compressing the single-input length limit, and prompting users to wait for recovery when daily usage hits the cap. The official reason given pointed to tight compute supply. The cost card and the quota policy are actually two sides of the same governance logic: the former is transparency, the latter is constraint.

    4. Developer Perspective: Mapping Card Metrics to Engineering Practice

    If you are building an LLM-based application, the metrics indicated by this card should be incorporated into your observability system. It is recommended to collect at least the following fields:

    1. {
    2. "request_id": "r-001",
    3. "prompt_tokens": 1200,
    4. "cached_tokens": 800,
    5. "uncached_tokens": 400,
    6. "completion_tokens": 150,
    7. "context_usage_pct": 0.37,
    8. "latency_ms": 2100
    9. }

    With these fields, you can do three things:

    1. Cost accounting: Convert the cost of a single request in real time according to the unit price table, and aggregate bills by user, session, and tenant dimensions;
    2. Cache optimization: Monitor the proportion of cached_tokens. A low proportion indicates unstable prefixes, so you should fix the order of system prompts and few-shot examples;
    3. Context governance: Set threshold alerts for context_usage_pct. When the threshold is exceeded, trigger summary compression or sliding window trimming.

    A simplified pseudocode for budget control is as follows:

    1. def estimate_cost(u):
    2. return (u.cached * 0.0 + u.uncached * 2 + u.completion * 8) / 1_000_000
    3. if estimate_cost(usage) > daily_budget:
    4. degrade_to_smaller_model()

    5. Four Cost-Reduction Tactics: Caching, Trimming, Summarization, and Tiering

    Based on the billing breakdown above, four general optimization methods can be summarized:

    • Prefix-cache friendly: Place unchanging system instructions, tool definitions, and knowledge snippets at the very front, keeping them byte-level stable to maximize cache hits;
    • Input trimming: Remove redundant history and duplicate documents, compress single-input length, and directly reduce uncached tokens;
    • History summarization: Use summaries instead of the original text for a rolling window in long conversations, preventing the context usage percentage from rising monotonically;
    • Model tiering: Route lightweight tasks like intent recognition and formatting to smaller models, and only upgrade to larger models for complex reasoning, avoiding “using a sledgehammer to crack a nut.”

    Engineering-wise, you can also use message queues for asynchronization, object storage to archive long texts, and logging services with monitoring alerts to build a cost dashboard, forming a closed loop of “collect—aggregate—alert—optimize.”

    6. Risks and Boundaries: Do Not Treat Estimates as Bills

    It should be noted that the amount displayed in the interface is an estimate and may differ from the actual bill. Reasons include: cache hit determination has a time window, unit prices fluctuate at different times of the day, and retries or stream interruptions can cause duplicate generation. Therefore, it is not recommended to use the card numbers directly as a basis for financial reconciliation. Formal billing should still be based on the bills and usage details in the developer console.

    At the same time, cost visualization may cause “unit price anxiety,” tempting users to sacrifice answer quality to save money. A reasonable approach is to look at cost metrics alongside quality metrics (task completion rate, human adoption rate) to avoid single-objective optimization.

    7. Conclusion

    The cost card for a single conversation turn may seem like a small feature, but it actually lays open the resource ledger of LLM services in front of users. For regular users, it is an educational tool showing “free but not zero cost.” For developers, it is a ready-made metrics checklist and optimization roadmap. By understanding the three-part token billing, context usage, and cache hits, you can make engineering decisions that save money without sacrificing quality in an environment of fluctuating compute supply and tightening quota policies.