LLM Token Consumption and Reasoning Effort: A Practical Guide to Tiered Selection

    This article explains why token consumption rises with flagship LLMs and breaks it down into four observable components: system prompts and tool definitions, conversation history and retrieved context, internal reasoning at higher effort tiers, and final output with repeated inputs from multi-turn tool calls. It clarifies what reasoning effort actually controls (thinking budget, sampling strategy, and context utilization), outlines four common causes of runaway cost, and proposes a three-layer task model (L1 lightweight, L2 standard, L3 complex) with default effort tiers and budget caps. Seven immediately actionable optimizations and a token budgeting and observability loop complete the guide.

    1. What Actually Burns Tokens

    Discussions about how “token-hungry” the latest flagship models are have been picking up lately. Many teams report the same experience: the capabilities are clearly better, but the bill grows even faster, and by the end of the month the cost has already blown past the budget. To approach this rationally, you need to decompose “consumption” into parts that are observable and attributable, instead of blaming it all on “the model is too expensive.”

    A single request’s token consumption typically comes from four sources:

    1. System prompts and tool descriptions on the input side;
    2. Conversation history and retrieved context snippets on the input side;
    3. The model’s internal reasoning process at higher reasoning tiers (in most implementations, this is billed as well);
    4. The final output, plus repeated inputs caused by multi-turn tool calls.

    What truly sends the bill out of control is usually not item 4, but the combination of items 1, 2, and 3. Flagship models generally have stronger reasoning ability, and that ability is typically delivered through longer chains of thought and more self-verification. In other words, there is a natural positive correlation between capability and token consumption. This is not a defect; it is a design tradeoff.

    2. What Reasoning Effort Actually Controls

    The industry usually splits model operating modes into “fast response” and “deep reasoning,” and some platforms offer finer-grained tiers. The key to understanding tiers is realizing that they do not control a single variable called “answer quality,” but a combination of three variables:

    • Thinking budget: how much internal deliberation the model is allowed before producing an answer;
    • Sampling strategy: whether it leans toward multi-path exploration and self-verification;
    • Context utilization: whether it repeatedly revisits information already provided.

    An illustrative call parameter (showing only the general shape, not any specific API):

    1. resp = client.chat.completions.create(
    2. model="flagship-model",
    3. messages=messages,
    4. reasoning_effort="medium", # general form of the low / medium / high tiers
    5. max_tokens=2048,
    6. )

    A common mistake is treating the tier as a “quality switch” and setting everything to the highest level. The actual result: simple tasks get over-reasoned, token consumption multiplies, and output quality shows almost no perceptible improvement.

    3. Four Typical Causes of Runaway Cost

    First, prompt bloat. Stuffing large amounts of rarely used specifications, examples, and tool definitions into the system prompt means every request is billed for them again. In multi-turn conversations, this gets amplified N times.

    Second, uncontrolled context stacking. Pasting entire logs, whole files, or complete retrieval results directly into the context is the most common source of waste. Increasing context length not only raises input cost but also pushes up actual consumption at higher reasoning tiers.

    Third, tier-task mismatch. Tasks like classification, extraction, format conversion, and intent recognition gain almost nothing from a high reasoning tier; meanwhile, complex code refactoring, mathematical derivations, and multi-constraint planning on a low tier tend to require repeated rework, which ends up costing more.

    Fourth, no failure or retry governance. Without timeouts, fallbacks, or caching, a single exception can trigger multiple retries, and the bill climbs while nobody notices.

    4. Tiered Selection: Layer by Task, Not by Model

    A practical approach is to divide business requests into three layers and set a default tier and budget cap for each.

    Task layer Typical scenarios Suggested tier Optimization focus
    L1 lightweight Classification, tagging, extraction, rewriting Low Trim prompts, enable caching
    L2 standard Q&A, summarization, routine code generation Medium Control context, cap output length
    L3 complex Architecture design, hard troubleshooting, long-chain reasoning High Split steps, trigger on demand

    In practice, a simple routing layer can handle automatic downgrade:

    1. def choose_effort(task):
    2. if task.type in ("classify", "extract", "rewrite"):
    3. return "low"
    4. if task.complexity_score >= 0.7 and task.requires_planning:
    5. return "high"
    6. return "medium"

    The key point: the tier should be decided dynamically by task characteristics, not manually specified by the business side. At the same time, set a constraint for L3 that it is “only allowed when explicitly triggered,” to avoid the default path routing everything to the high tier.

    5. Seven Optimizations You Can Apply Immediately

    1. Prompt slimming: split long specifications into “always-on core + on-demand injection,” and keep only the tool definitions needed for the current scenario.
    2. Context trimming: run retrieval reranking and deduplication first, keep only the Top-K snippets, and apply length truncation.
    3. Result caching: build a semantic cache for highly deterministic requests; on a hit, skip the model call entirely.
    4. Output constraints: explicitly set an output length cap and require structured output to reduce redundant elaboration.
    5. Stepwise execution: break complex tasks into “plan-execute-verify,” select a tier for each step separately, and avoid one large upfront budget.
    6. Retry governance: set timeouts, a maximum retry count, and a fallback path so exceptions automatically drop to a lower tier.
    7. Observability first: log input/output/thinking tokens, tier, latency, and task identifier for every call to build an attributable dashboard.

    6. Build a Token Budget and Observability Loop

    Without measurement there is no optimization. It is better to build budgets around “business units” rather than “accounts”: set a per-request token cap and a daily total for each feature, and trigger an alert rather than a hard cutoff when a threshold is exceeded. Also translate token cost into business metrics, such as “cost per thousand Q&A turns” or “cost per order processed,” so optimization priorities have a basis.

    At the architecture level, model calls can be wrapped behind a unified gateway that takes on four responsibilities: routing, rate limiting, caching, and auditing. Business code only declares task semantics and does not care about the specific tier or model version, so later tuning requires no changes to business logic.

    7. Conclusion

    Burning tokens is not a problem to avoid; it is an inevitable cost of capability upgrades. The mature approach is neither to push tiers down across the board nor to max them out blindly, but to build a loop of “task layering - dynamic tier selection - budget constraints - attributable observability.” When every unit of consumption maps to a clear business benefit, tokens stop being a cost black hole and become a measurable, optimizable investment. For teams building related capabilities on Baidu AI Cloud, the same advice applies: get this governance mechanism in place first, then gradually expand the scope where higher reasoning tiers are allowed.