Token Economics: Compute Costs and Governance in the AI Era

    This article explains how token consumption becomes a measurable compute cost for organizations that use large language models. It covers how tokens are counted, why usage can grow faster than expected, and how teams can use metrics, quotas, budget alerts, call auditing, and engineering practices to manage and reduce that cost.

    1. Background and Data

    According to a report from a technology media outlet, the internal usage leaderboard of a large technology company compiled AI usage data from more than 85,000 employees and listed the 250 users with the highest token consumption. The report states that total usage during the leaderboard’s statistical period exceeded 60 trillion tokens. At an approximate price of USD 15 per million tokens, this usage would be worth about USD 900 million, and the top-ranked employee’s usage alone would be worth several million dollars.

    The report sparked discussion across the industry. These figures come from a single report, and the USD 15 per million tokens price is only a working assumption, not the actual quoted price of any particular service. Still, the event highlights a problem that technical teams should take seriously. When AI capabilities are widely integrated into daily work, resource consumption accumulates far faster than expected, and most organizations lack the measurement and governance mechanisms to track it.

    2. What Tokens Are: Units and Cost Structure

    A token is the basic unit that large language models use to process text. The model splits text into tokens both when it receives input and when it generates output. A token can be a whole word, a Chinese character, a few letters, or a punctuation mark. The same content can produce different token counts depending on the language and the tokenization method.

    Understanding token costs requires distinguishing three types of consumption:

    1. Input tokens: system instructions, conversation history, retrieved document passages, and the user’s question. In multi-turn conversations or long-context scenarios, input tokens often make up the bulk of total usage.
    2. Output tokens: the content the model generates. Output is usually priced higher than input, and because generation proceeds one token at a time, it also takes longer.
    3. Hidden consumption: tool call results, retried requests, regeneration after failures, and duplicate processing in batch jobs. This category is the easiest to overlook.

    A seemingly simple call can actually cost the sum of its input, output, and retries. The function below shows a basic cost estimation method. Replace the price parameters with the values from your actual contract or invoice:

    1. def estimate_cost(input_tokens: int,
    2. output_tokens: int,
    3. price_in_per_m: float,
    4. price_out_per_m: float) -> float:
    5. """Estimate the cost of a single call from per-million-token prices.
    6. The unit of the result matches the unit of the prices."""
    7. return (input_tokens / 1_000_000) * price_in_per_m \
    8. + (output_tokens / 1_000_000) * price_out_per_m
    9. # Example: 12,000 input tokens and 1,500 output tokens,
    10. # with an input price of 3 CNY per million tokens and an output price
    11. # of 15 CNY per million tokens (illustrative assumptions only)
    12. cost = estimate_cost(12_000, 1_500, 3.0, 15.0)
    13. print(f"Estimated cost per call: {cost:.4f} CNY")

    3. Why Usage Gets Out of Control

    Runaway usage is rarely caused by a single factor. Several mechanisms usually combine to produce it.

    3.1 Low Barrier to Entry, but Costs Are Invisible

    When employees send requests in a chat interface or editor, they cannot see the token count or cost of each call. Without a feedback loop between behavior and cost, individuals find it hard to judge whether a given call is expensive.

    3.2 Context Keeps Growing

    Long conversations resend the entire message history to the model. If a session runs for 50 turns, each turn’s input includes everything before it, so total consumption grows roughly linearly, or even faster than linearly. Many people do not realize this.

    3.3 Automation Amplifies Single Actions

    When AI is built into automated workflows, such as code review, batch document processing, or log analysis, a single manual action can trigger hundreds or thousands of model calls. Automation turns one click into a batch of tasks, and consumption scales up accordingly.

    3.4 Lack of Value Metrics

    Leaderboard-style usage statistics can encourage the idea that heavy use is something to be proud of. But token consumption alone does not indicate output. High usage may reflect deep work, or it may reflect repeated trial and error or inefficient processes. Without linking usage to task outcomes, management cannot judge whether the spending is worthwhile.

    4. Building a Metrics System: Making Tokens Manageable as a Cost

    Governance starts with measurement. Track at least the following four types of metrics:

    Metric Definition Purpose
    Tokens per task Average tokens consumed to complete one business task Evaluate process efficiency
    Output per unit cost Tasks completed or adoption rate per unit of cost Measure return on investment
    Retry rate Share of calls that fail or must be regenerated Identify prompt or process defects
    Context length distribution Median and long-tail distribution of input tokens Locate bloated sessions and endpoints

    Attribute statistics by team, project, feature module, and model type, rather than by individual ranking alone. The finer the attribution, the easier it is to find real optimization opportunities.

    5. Governance Framework: Quotas, Tiers, and Auditing

    Once usage is measured, teams need enforceable governance rules. A practical framework has four components.

    5.1 Tiered Quotas

    Different scenarios require different model capabilities. Simple format conversion or keyword extraction, for example, does not need the strongest model. Divide tasks into three or four tiers, and assign each tier a default model and a per-call token limit. Allocate quotas by project budget rather than opening unlimited access to individuals.

    5.2 Budget Alerts

    Set daily, weekly, and monthly budget thresholds for teams or projects. Notify owners when usage reaches 50%, 80%, and 100% of a threshold. Route alerts into the existing monitoring system and handle them alongside other resource alerts, so that no new isolated system is created.

    5.3 Call Auditing

    Record basic metadata for each call: timestamp, caller, project, model, input and output token counts, latency, and result status. Audit data supports after-the-fact analysis. However, privacy compliance matters. Do not store complete prompts and responses by default. Store them only when the business clearly requires it and the storage has been authorized.

    5.4 Clear Accountability

    Assign a cost owner to each project. The owner is responsible for budget execution and for explaining anomalies. The cost owner’s job is to explain the relationship between consumption and output, not simply to reduce usage.

    6. Engineering Practices: Reducing Tokens per Task

    Governance rules address who can use AI and how much they can use. Engineering optimization addresses whether the same task can be completed with fewer tokens. The following are several general, proven practices.

    1. Control context size
    Include only the information relevant to the current question. For long documents, retrieve or summarize first, then send only the relevant passages to the model. For long conversations, compress the history periodically. Keep key conclusions and drop small talk and resolved tangents.

    2. Route models by difficulty
    Classify tasks by difficulty. Use smaller models for routine tasks, and call high-capability models only for complex reasoning. Validate routing rules against manually labeled samples for accuracy first, then roll them out gradually.

    3. Cache repeated content
    System instructions, fixed templates, and frequently used knowledge snippets stay the same across many calls. Platforms that support prefix caching can reuse the computation for this portion. Even without platform support, the application layer can cache results for identical inputs and avoid duplicate calls.

    4. Limit output length
    Use explicit output format requirements and maximum length parameters to reduce redundant content. Asking the model to “state the conclusion first, then give the supporting reasoning” often uses fewer tokens than open-ended long-form text, and it is easier to read.

    5. Reduce retry costs
    Distinguish retryable errors from non-retryable ones. Set limits and backoff strategies for retries. For tasks with structured output, validate results locally first. When validation fails, correct only the faulty part instead of regenerating the entire output.

    6. Batch and asynchronous processing
    For tasks that do not need real-time responses, use batch interfaces or asynchronous queues and schedule them centrally. Batching makes concurrency easier to control and allows execution during off-peak hours, which reduces the load on online services.

    These practices can be combined. Teams that introduce context compression and model routing can often reduce per-task cost significantly without an obvious loss in quality. Verify the actual results with your own team’s data. Do not apply other teams’ figures directly.

    7. Points of Debate: Does High Usage Mean High Value?

    The discussion around the leaderboard centers on whether high consumption equals high value. No single answer exists, but the question breaks down into three checks.

    First, does the task produce a clear output? If high usage corresponds to verifiable results, such as merged code, resolved issues, or shorter workflows, the consumption is justified. If it involves repeatedly generating drafts that nobody adopts, it should be adjusted.

    Second, does the process contain repetitive work? A high-usage individual may hold a role that requires extensive trial and error, or may be repeating work that could be turned into a script or template. Managers need to distinguish between these two cases.

    Third, are there incentive distortions? If usage is directly tied to performance evaluation, employees have an incentive to make unnecessary calls, and public rankings intensify this tendency