Why LLM Inference Is Faster, Yet AI Agent Tasks Still Take Hours
This article explains why faster token generation does not translate into faster AI agent task delivery. It breaks end-to-end latency into queueing, prefill, decoding throughput, tool and external dependency time, and orchestration overhead, then examines how shared-weight, multi-pass computation in large models such as a 750B-parameter design raises per-token compute while improving hard-task success rates. It also identifies four commonly underestimated time sinks—tool call volume, context compaction rounds, permission and audit checks, and acceptance or rollback—and closes with a practical optimization checklist covering tiered model routing, step budgets, artifact contracts, observability, asynchronous long-running jobs, and caching, plus realistic guidance for capacity planning and delivery scheduling.
1. Opening: Single-Token Speed Is Not Task Delivery Speed
A general-purpose LLM platform recently launched a new-generation model. The official inference figures are roughly 200 tokens per second during off-peak hours and about 70 to 80 tokens per second at peak. In a subsequently published hands-on record, however, a composite task involving physics computation and 3D animation generation took nearly five hours end to end.
Placing those two sets of numbers side by side is the most instructive part of this technical step forward: generating a single token quickly does not mean delivering a task quickly. The first metric measures throughput during the decoding stage; the second measures how long an entire agent workflow takes to complete in a real environment. Between them sit tool calls, file reads, context compaction, permission checks, and human acceptance.
In the scheduling scenarios common to enterprises, this gap is very concrete. On the product side, seeing a demo makes it easy to convert “can write scripts, can generate engineering drawings, can build game prototypes” directly into headcount savings available tomorrow. The engineering lead is looking at a different list: how many tools the agent must call, how many engineering files it must read, how many rounds of context compaction will be triggered, and who signs off on the final artifact. The model produces output in front of the curtain, while timers, permission systems, and token meters keep running backstage.
Another notable technical anomaly: for a new model at around 750B parameters, the capability gain highlighted officially does not come from piling on more weights. Instead, some layers in the base model share weights and execute two passes of computation. The total parameter count has not grown, but the computation path has become longer. It is like having the same group of musicians play a complex movement a second time rather than immediately expanding the orchestra—the listening experience may be more refined, but rehearsal time genuinely increases. Understanding this is the key to seeing why “faster” and “slower” appear at the same time.
2. Breaking Task Latency Into Observable Segments
To explain where five hours comes from, start with a latency model. Total time for an agent task can be roughly split into four segments:
- Time to first token: affected by queueing, cold starts, and long-prompt prefill;
- Decoding throughput: tokens generated per second, which declines as context length grows;
- Tool and external dependency time: retrieval, compilation, rendering, test execution, and similar work, usually the largest part by an order of magnitude;
- Orchestration and state management overhead: context compaction, memory reads and writes, permission decisions, and failure retries.
A schematic attribution of time can be written as:
T_total = T_queue + T_prefill + (N_out / TPS) + Σ T_tool_i + T_compaction + T_retry
What actually determines the “hours-scale” experience is usually Σ T_tool_i and T_retry, not N_out / TPS. A 3D animation task may involve physics solving, multiple rounds of render previews, asset compilation, and result validation. Each step is an external computation ranging from seconds to minutes, and once stacked serially they naturally land in the hours range.
3. Shared Weights and Multi-Pass Computation Paths: The Cost of Capability Gains
The conventional view is that model capability grows mainly by increasing parameter count. Sharing weights and re-executing some layers takes a different route: deepening effective computation depth without a significant increase in parameter scale, so the same set of parameters processes the input a second time.
This approach has three engineering implications:
- Higher compute per token: each decoding step becomes heavier, so throughput figures fall back more easily under high concurrency or long contexts;
- Gains concentrate on hard tasks: multi-step reasoning, code refactoring, and complex constraint satisfaction benefit noticeably more, while the marginal gain for simple question answering is limited;
- Capacity planning must be based on “effective compute” rather than parameter count: at the same concurrency level, actual compute consumption may be significantly higher than the previous generation.
So when evaluating this class of models, do not look only at peak token throughput. Run load tests at your own typical context lengths and concurrency pressure, and record time to first token along with the throughput decay curve.
4. Four Underestimated Time Black Holes
4.1 Number of Tool Calls
Agents tend to “look and act” step by step, and every call is one network round trip plus one external execution. When calls grow from 10 to 100, elapsed time scales almost linearly. Optimization directions include batching and merging calls, caching read-only results, and front-loading high-frequency queries into a single prefetch.
4.2 Context Compaction Rounds
As context approaches its limit, summarization and compaction are triggered, and compaction itself requires model calls. More rounds mean more accumulated overhead. Structured intermediate artifacts—replacing long text with indexes, summary files, and diff patches—can reduce how often compaction is triggered.
4.3 Permissions and Auditing
In enterprise environments, writing files, executing commands, and accessing storage all require authentication and audit trails. This part is usually unavoidable, but approvals can be turned into policy-based pre-authorization to reduce human blocking.
4.4 Acceptance and Rollback
Generated artifacts need compilation, testing, and visual confirmation. Without automated acceptance, this degrades into manual line-by-line inspection and stretches end-to-end time. The recommendation is to script acceptance and roll back to the last working state on failure.
5. An Optimization Checklist Oriented to Delivery Cycles
- Tier model usage: route simple subtasks to low-latency configurations and reserve the heavy computation path for complex reasoning;
- Cap the step budget: set maximum tool calls and maximum rounds for the agent, and escalate once the budget is exceeded instead of retrying indefinitely;
- Contract artifacts: define input and output formats plus acceptance criteria to reduce back-and-forth confirmation;
- Observability first: feed per-stage latency, token consumption, and failure reasons into logging services and monitoring alerts to build a dashboard;
- Make long tasks asynchronous: convert hours-scale tasks into a task queue with callbacks, so the frontend only polls status and long-lived connections are not held open;
- Cache and reuse: apply content-addressed caching to rendering, compilation, and retrieval results so repeated tasks hit directly.
6. Practical Advice for Scheduling and Capacity
Between demo results and production capability, you need a verifiable conversion table: average tool calls per task, average context length, average retry rate, and average artifact size. With those four numbers, “looks fast” can be translated into headcount and compute budgets.
Boundaries should also be explicit: the model handles generation and reasoning, while the engineering system handles scheduling, permissions, metering, and acceptance. Treat the heavy computation path as a means of raising success rates on hard tasks, not as a means of reducing response time, and expectations will not be misaligned.
7. Conclusion
The value of a new-generation LLM does not lie in a single peak token throughput number, but in the completion rate of hard tasks and the usability of the artifacts produced. For developers, the real capability to build is embedding the model into a controllable pipeline: decompose tasks, constrain steps, contract artifacts, and make the whole chain observable. Once that is done, the distance between 200 tokens/s and five hours can genuinely be compressed by engineering means.
