From Token Speed to Task Throughput: Assessing Real LLM Delivery Efficiency
This article explains why high token generation speed does not translate directly into fast task delivery for large language model systems. It breaks down end-to-end latency in agent workflows, presents a latency formula, and discusses why enterprises need representative task benchmarks such as success rate, P95 latency, token cost per task, and human intervention. It also examines shared-weight multi-round execution as a tradeoff between inference-time compute, latency, and cost, and offers engineering practices for optimizing task paths, setting benchmarks, balancing latency, and using general cloud capabilities for observability.
1. Starting Point: Fast Tokens, Slow Tasks
When evaluating large language model capabilities, engineering teams often make one mistake: equating inference speed directly with task delivery speed.
A typical scenario illustrates the gap. Officially published inference speed may reach about 200 tokens/s off-peak and about 70 to 80 tokens/s at peak. At first glance, that looks impressive. Yet in real tasks, a 3D animation generation task involving physics calculations may take hours. Why does this gap appear?
The answer lies in the length of the task execution path:
- Token generation is a micro-level metric: it measures throughput during the model decoding phase.
- Task completion is a macro-level metric: it includes tool calls, file reads, context compression, multi-round planning, result validation, and other stages.
A simple formula expresses end-to-end latency:
Total latency ≈ Σ(tokens per inference round / inference speed)+ Σ(tool call wait time)+ Σ(context compression/replay overhead)+ validation and retry overhead
When an agent needs to read many engineering files and repeatedly call external tools, even if each generation round is fast, the total time expands significantly as the number of rounds increases. This is the essential reason why “200 tokens/s still takes 5 hours.”
2. Why Enterprise Scheduling Needs a Different Evaluation Logic
When product managers watch demonstrations, they are often impressed by capability descriptions such as “can write scripts, generate CAD, and build games,” and may estimate labor savings from them. But engineering leads face a more complex checklist:
- Call chain: How many times will the agent call tools? What are the latency and failure rate of each call?
- Data access: How many engineering files need to be read? How are permissions controlled?
- Context management: How many rounds of context compression will a long task trigger? Will compression lose critical constraints?
- Acceptance criteria: Who validates the final output? What is the retry cost when validation fails?
- Metering and cost: The token meter keeps running. Multi-round loops mean cost grows linearly or even superlinearly with the number of rounds.
Therefore, a reasonable evaluation approach is not to rely on single-point demonstrations, but to measure end-to-end metrics using representative task benchmarks:
- Task completion rate (success rate)
- Average and percentile end-to-end latency (P50/P95/P99)
- Token consumption and cost per successful task
- Number of human interventions
Only these metrics can answer whether a model can be used in production scheduling.
3. Shared-Weight Multi-Round Execution: Same Parameters, Longer Compute Path
A notable recent model architecture idea is to let some weights in the model, such as certain layers, execute two rounds without continuing to increase the parameter count. This has several profound implications:
3.1 Capability vs. Compute Tradeoff
- The parameter count remains unchanged, and VRAM usage basically does not increase.
- The compute path becomes longer, and the computation for a single forward pass increases roughly by the corresponding proportion.
- The model has an opportunity to perform deeper “reflection” or iterative processing on the same input.
This can be compared to the same band playing a complex movement again rather than immediately expanding the orchestra. The listening experience may be more nuanced, but rehearsal time does increase. This is an approach of trading inference-time compute for expressiveness, complementing the route of simply stacking parameters.
3.2 Impact on Latency
For interactive scenarios such as code completion and conversational Q&A, multi-round execution means both first-token latency and total latency will rise, so tradeoffs must be made based on the product form. For offline batch tasks, because the tasks themselves already take a long time, the additional inference overhead is relatively controllable as a share of total time.
3.3 Impact on Cost Accounting
From a metering perspective, although the parameter count is unchanged, the amount of computation changes. If billing is based on tokens, the unit price for the same output may increase. This reminds enterprises that when building cost models, they should base decisions on end-to-end cost per task rather than price per million tokens.
4. Decomposing Real Latency in Agent Scenarios
Take a common code task as an example. The end-to-end flow usually looks like this:
User request↓ ① Task planning (generate plan)↓ ② Read codebase files (multiple tool calls)↓ ③ Analyze dependencies, generate/modify code↓ ④ Run tests, capture errors (external execution environment)↓ ⑤ Trace and fix based on errors (back to ③, possibly multiple rounds)↓ ⑥ Summarize output
The time actually spent on “generating tokens” may account for only 30% to 50% of total latency. The rest is consumed by:
- External tool execution: compilation, testing, rendering, and similar steps take time themselves.
- I/O wait: file reads and network requests.
- Context compression: when a long session exceeds the context window, historical content must be summarized. This consumes inference compute and may also introduce information loss.
- Failure retries: restarting from the beginning or from a checkpoint after a task fails.
This explains a counterintuitive phenomenon: even if inference speed improves several times, the end-to-end latency of complex tasks may shorten only by a small fraction, because the bottleneck is not in the decoding stage.
5. Engineering Practice Recommendations
5.1 Establish End-to-End Benchmarks
Select 3 to 5 representative real business tasks rather than toy examples, fix the inputs and acceptance criteria, and continuously track:
| Metric | Meaning | Use |
|---|---|---|
| Success rate | Share of tasks that pass acceptance | Determine usability |
| P95 latency | 95th percentile end-to-end time | Basis for scheduling |
| Tokens/task | Consumption per task | Cost accounting |
| Human intervention rate | Proportion requiring manual correction | Operations cost |
5.2 Optimize the Task Path, Not Just the Model
- Limit the search scope of tool calls to avoid invalid traversal.
- Build indexes or summaries for the codebase to reduce repeated reads.
- Set reasonable maximum rounds and checkpoints to avoid infinite loops.
- Execute parallelizable subtasks in parallel.
5.3 Balance Inference-Time Compute and Response Latency
For mechanisms such as shared-weight multi-round execution, choose based on the scenario:
- Interactive scenarios: prioritize low latency and reduce multi-round execution.
- Offline complex tasks: allow more inference-time compute in exchange for higher first-pass quality.
5.4 Use General Cloud Capabilities to Complete the Engineering Chain
During deployment, model inference can be combined with general cloud capabilities: use object storage to host codebases and artifacts, use message queues to decouple asynchronous orchestration of long tasks, use logging and monitoring/alerting to track each tool call and token consumption, and use container platforms to run external tools such as tests and rendering. These general components do not change model capabilities, but they can significantly improve the observability and maintainability of the task chain.
6. Conclusion
“Fast per token” and “fast task” are separated by an entire engineering chain. Understanding this is necessary to correctly evaluate the real value of large models in enterprises:
- Inference speed is a local metric; end-to-end throughput is the business metric.
- Shared-weight multi-round execution offers a new option of “no more parameters, more depth,” but at the cost of latency.
- Engineering teams should build benchmarks around task success rate, P95 latency, and per-task cost, rather than letting demonstrations drive scheduling.
Switching the evaluation lens from “model capability” to “task throughput” is a key step for large models to move from demonstrations into production.
