Evaluating Token Efficiency and Agent Capabilities in LLM Upgrades

    As LLM releases shift from leaderboard scores toward lower resource consumption at equivalent capability, engineering teams need evaluation methods that reflect real cost and user experience. This article explains how to measure token efficiency across consumption, effective-token, and time layers; how to evaluate Agent capabilities by task category; where parallel tool calls and centralized self-testing reduce cost; and how to balance efficiency gains against quality risk with a practical checklist.

    1. The Main Line of Model Iteration Is Shifting from “Score Competition” to “Cost Reduction and Efficiency Gains”

    Over the past two years, the capability narrative around large models has mainly centered on leaderboard scores. More recent version iterations, however, are increasingly focused on lower resource consumption at equivalent capability. This shift is materially beneficial for engineering teams: inference cost directly determines whether an AI feature can move from demo to scaled production.

    To judge whether a version upgrade is truly valuable, looking only at the total score is not enough. The key question is whether three curves improve at the same time: token consumption per task, throughput (output tokens per second), and end-to-end task time. Together, these determine the real cost at the same pricing and the user’s waiting time.

    It is important to emphasize that comparisons across vendors and across tiers, such as low, medium, and high reasoning-effort tiers, must control variables. A common mistake is to compare a high reasoning tier with a competitor’s low reasoning tier; the conclusion is often distorted. A rigorous approach is to fix the tier, fix the task set, fix the sampling parameters, and report median scores rather than average scores to avoid a few extreme samples skewing the conclusion.

    2. Token Efficiency: An Underestimated Core Metric

    2.1 Three Levels of Measurement

    Token efficiency is not a single number. It should be split into three layers:

    • Consumption layer: the total number of tokens consumed to complete the same task, including input context, reasoning process, and output.
    • Effective layer: the proportion of effective tokens, meaning the tokens that actually enter the final answer or valid tool parameters. Redundant reasoning, repeated file reads, and repeated trial and error are all invalid consumption.
    • Time layer: throughput (TPS) and task time. High throughput can bring a “smarter but slower” model into the usable range.

    When token efficiency improves significantly, per-task cost declines accordingly even if pricing is unchanged. If throughput also enters a high-speed range, task time can drop on both dimensions, which is the most direct improvement at the user experience level.

    2.2 A Reusable Statistical Script

    1. # Example: summarize per-task token composition and effective ratio
    2. def summarize(run):
    3. total_in = sum(s["input_tokens"] for s in run["steps"])
    4. total_out = sum(s["output_tokens"] for s in run["steps"])
    5. effective = sum(s["kept_tokens"] for s in run["steps"]) # portion that enters the final output
    6. return {
    7. "tasks": len(run["tasks"]),
    8. "tokens/task": (total_in + total_out) / len(run["tasks"]),
    9. "effective%": effective / max(total_out, 1),
    10. "tps": run["output_tokens"] / run["wall_seconds"],
    11. "median_score": median([t["score"] for t in run["tasks"]]),
    12. }

    3. Agent Capabilities Must Be Evaluated by Layer

    Treating Agent capability as a single total score is an evaluation-design shortcut. In practice, it should be split into at least four task categories, because their failure modes are completely different.

    1. Frontend and web generation
    This is currently the area with the most obvious improvement. A usable signal is that the model has basic aesthetic judgment: it knows how to fill content, how to use whitespace, and how to organize hierarchy. Overall performance on medium-difficulty web tasks is already approaching the top tier. But once a task mixes in vector drawing or 2D/3D graphics, performance drops noticeably.

    2. Graphics and 3D scenes
    Typical defects include clipping, disproportionate scale, and texture errors. These problems are visible to the naked eye in the final screenshot, yet the model often “judges them as passed” on its own.

    3. Debugging and repair
    Capability varies greatly. Some versions can quickly locate the root cause and fix it step by step; although they cannot finish everything in one round, they can converge with hints. Other versions are unfamiliar with a specific technology stack, require web retrieval for every defect, and the retrieval results are often irrelevant, ultimately causing mainline function repair to fail. Increased retrieval frequency is itself a signal worth monitoring; it often means the model has insufficient internal prior knowledge.

    4. Visual feedback loop
    This is the most easily overlooked weakness. If the model cannot reliably “see” its own output, it will leave obvious defects in the deliverable. An engineering remedy is to externalize visual verification:

    1. generate → render screenshot → external vision model/rule check → defect list feedback → regenerate

    Use deterministic checks, such as element overlap detection, size out-of-bounds checks, and resource load failure checks, as a fallback. This is more reliable than expecting the model to self-reflect.

    4. Two Real Sources of Efficiency Optimization

    Parallel tool calls. Moving from serial to parallel allows multiple tool calls to be launched simultaneously on average per request, greatly reducing wall-clock time.

    1. # Example: parallel fan-out, then unified convergence
    2. results = await gather(*[tool.call(**args) for args in independent_calls])
    3. merged = reconcile(results) # conflict merge and deduplication

    Centralized self-testing. Change “test once, change a little” to “test centrally, fix centrally” to reduce round trips; total token consumption declines accordingly.

    5. A Cost That Must Be Faced: Efficiency vs. Quality Tradeoff

    Efficiency gains are not free. When the model’s basic reasoning capability is insufficient, reducing self-test rounds directly causes greater volatility in delivery quality: the probability of getting it right in one pass does not increase, but correction opportunities decrease.

    The recommended countermeasure is therefore a layered strategy, not global speedup:

    • High-risk paths (core business logic, payments, permissions) use a high reasoning tier plus mandatory multi-round self-testing;
    • Low-risk paths (styles, copy, scaffolding) use a low tier plus single generation;
    • Introduce caching, context compression, and retrieval upfront to cut invalid input tokens;
    • Build a pre-release evaluation pipeline that monitors median scores, tokens per task, latency, and defect rate with alerts.

    6. Selection Checklist

    1. Are comparisons performed under the same conditions with fixed tiers and sampling parameters?
    2. Are median scores and failure-sample distributions reported rather than a single mean?
    3. Are input, output, and effective tokens counted separately?
    4. Do evaluations cover frontend, graphics, and debugging task categories?
    5. Is there external visual verification and deterministic-check fallback?
    6. Is observability instrumented for retrieval call frequency and self-test rounds?
    7. Is there layered routing of models and reasoning tiers by risk level?

    The conclusion is simple: an excellent version upgrade should simultaneously show lower token consumption, higher throughput, and shorter task time, while closing gaps on Agent tasks. The real engineering moat is making evaluation a reproducible pipeline, so that cost reduction does not come at the expense of quality control.