From Traffic-Based Billing to Token-Based Billing: The Technical Logic of Monetizing Computing Power

    This article explains why telecom operators and cloud providers are shifting from charging by data volume (GB) to charging by tokens for AI inference. It breaks down the cost structure behind a single inference request, outlines a common framework for tiered compute plans across three customer segments, and provides six practical levers for cost governance, including context compression, prefix caching, and model routing. Readers will find guidance on evaluating plan quotas, overage policies, and capacity limits, along with risk notes for individual users, development teams, and enterprise buyers.

    1. The Paradigm Shift: Why the Metering Unit Is Moving from GB to Tokens

    Around World Telecommunication Day on May 17, major telecom operators in China launched compute plans targeting individual, household, and enterprise markets, with entry-level tiers dropping to 9.9 CNY per month for token quotas in the tens of millions. On the surface, this looks like a product shelf refresh. In reality, it is a change of the metering baseline: network services were once anchored to “data transferred,” whereas intelligent applications are now anchored to “model inference consumption.”

    Traffic remained the billing unit for so long because its use of network transmission resources is roughly linear and can be measured passively. The resource consumption of large model inference, however, is not determined by byte counts. It is jointly determined by input context length, output generation length, model size, concurrency, and cache hit rate. Measuring a single question-and-answer exchange in GB is like measuring writing difficulty by paper weight—the unit exists, but it correlates weakly with actual cost.

    For this reason, the token has inevitably been elevated from a technical metering unit to a commercial settlement unit. The industry generally understands a token as the smallest unit into which a model splits information for processing. In a Chinese-language context, one token roughly corresponds to 1.5 to 2 Chinese characters (including punctuation), but this ratio fluctuates significantly with the tokenizer, language, and domain corpus, and should not be used as a basis for precise conversion.

    2. The Technical Foundation of Token Billing: Where the Cost Comes From

    To understand plan pricing, you must first decompose the cost structure of a single inference. The compute cost of one request falls mainly in four places:

    • Prefill stage: parallel computation over the input context, with cost growing roughly linearly with input length and affected by the quadratic term of the attention mechanism;
    • Decode stage: token-by-token autoregressive generation, where memory bandwidth becomes the bottleneck and cost is determined mainly by output length;
    • GPU memory usage: the key-value cache expands linearly with context and concurrency, determining the maximum concurrency a single card can support;
    • Scheduling and redundancy: additional overhead from elastic scaling, failover, and cross-availability-zone traffic.

    This leads to a key conclusion: input and output are not equivalent commodities. The industry therefore commonly adopts differentiated pricing for input and output, and offers discounts for repeated prefixes that hit the cache. The illustrative cost calculation logic is as follows (for method demonstration only, not any vendor’s API):

    1. def estimate_cost(input_tokens, output_tokens,
    2. price_in=0.0, price_out=0.0,
    3. cache_hit_ratio=0.0, cache_discount=0.5):
    4. billable_in = input_tokens * (1 - cache_hit_ratio)
    5. cached_in = input_tokens * cache_hit_ratio
    6. return (billable_in * price_in
    7. + cached_in * price_in * cache_discount
    8. + output_tokens * price_out)

    In engineering practice, you should pay more attention to “effective tokens” than “raw tokens”: redundant system prompts, repeated document fragments, and uncompressed conversation history all inflate the bill. So the real rival of token billing is not the traffic plan, but inefficient context management.

    3. A General Framework for Plan Design: Three Tiers and Three Customer Segments

    Across current market offerings, compute plans generally follow a structure of “tiered pricing plus scenario segmentation,” which can be abstracted into three customer segments:

    1. Individual and household users: low entry amounts, monthly reset, mainly for conversation and content generation, concerned with whether the quota is sufficient and whether it supports multi-device sharing;
    2. Developers and small-to-medium teams: mainly for coding assistance and batch processing, concerned with the combination of request counts and token quotas, concurrency limits, and rate-limiting policies;
    3. Government, enterprise, and ecosystem partners: concerned with dedicated resource pools, data isolation, audit trails, security compliance, and settlement methods, often adopting a hybrid model of “resource package plus committed usage.”

    A reusable plan evaluation matrix is as follows:

    Dimension Key Question Common Risk
    Quota definition Does the token quota distinguish input from output Looking only at the total leads to a distorted budget
    Validity period Is it cleared monthly, and can it be carried over Concentrated waste at month-end
    Overage policy Throttling, cutoff, or pay-as-you-go Burst traffic breaks the budget
    Capability limits Context length, concurrency, model tier Long-document tasks are frequently truncated
    Added value Whether connectivity, storage, and security are bundled Overlooking integration and compliance costs

    The integrated approach of “tokens plus connectivity plus security” has become mainstream because in enterprises’ real cost structures, network latency, data encryption, key management, and log auditing are often harder to build in-house than tokens themselves.

    4. Cost Governance: Six Levers to Bring the Bill Down

    • Context compression: retrieve and summarize long documents first, sending only relevant fragments to the model—usually the most effective cost-reduction measure;
    • Prefix cache reuse: fix stable system prompts and knowledge-base prefixes to raise the cache hit rate;
    • Model tier routing: send simple tasks to smaller models and escalate only for complex reasoning, avoiding “using a sledgehammer to crack a nut”;
    • Batching and asynchronization: merge requests for non-real-time tasks to improve throughput per unit of compute;
    • Output constraints: cap the maximum generation length and enforce structured output formats to reduce wasted decoding;
    • Observability: build token attribution dashboards by business, by tenant, and by API through logging services and monitoring alerts.

    For implementation, it is recommended to establish a baseline first, then run a canary comparison:

    1. # Pseudocode: aggregate token consumption by tenant and generate a daily report
    2. token_report --group-by tenant,api --window 1d --top 20

    5. Selection Advice and Risk Notes

    For individual users, prioritize whether the quota covers your actual usage frequency rather than the absolute unit price. For development teams, write rate limiting, concurrency, and overage policies into the architecture design to avoid online features becoming unavailable when the quota is exhausted. For government and enterprise customers, incorporate the token budget into the annual IT cost item and specify requirements such as data staying within the domain and auditable traceability.

    It is worth noting that the token-to-Chinese-character conversion ratio, cache discounts, and overage rules vary considerably across platforms, so any precise budget should be based on your own load-testing data. On this point, general engineering practices from providers such as Baidu AI Cloud—tiered model routing, cache reuse, and full-link monitoring—can serve as a methodological reference, helping teams turn the billing unit of “selling compute” into a predictable and optimizable cost object.

    From traffic to tokens, what changes is not the numbers but the way the entire industry measures intelligence: only when compute is precisely metered like water and electricity do AI applications truly enter the large-scale stage.