Why LLM Inference Is Faster but AI Agent Tasks Are Still Slow

    Faster token generation does not mean faster task delivery. This article breaks down why AI agent tasks remain slow even after LLM inference speed improves, covering the full timeline from queueing and prefill to decode, tool execution, and context compaction. It explains the trade-offs of shared-weight multi-pass computation, the spillover of coding capabilities beyond software teams, and a practical optimization checklist for token budgets, context design, parallel tool calls, and staged timing dashboards.

    1. Introduction: Fast Tokens, Slow Task Delivery

    A general-purpose LLM platform recently launched a new-generation model. The official inference figures are up to 200 tokens per second off-peak and 70–80 tokens per second at peak. In a subsequently published real-world test, a 3D animation generation task involving physics calculations took about 5 hours. Some users also had their usage quotas raised to 1.5x.

    Putting these two sets of numbers side by side is the most revealing part of the release: the speed of generating a single token is not the speed of delivering a task. The former is a micro-level throughput metric; the latter is a macro-level delivery metric. Between them sits a long chain of engineering steps: tool calls, file reads, context compaction, and output acceptance.

    This gap is very real in common enterprise planning scenarios. When product managers watch a demo, they easily convert “can write scripts, can generate 3D models, can build game prototypes” into headcount savings available tomorrow. Engineering leads face a different checklist: how many times the agent will call tools, how many project files it will read, how many rounds of context compaction it will trigger, and who signs off on the final output. The model writes code in the foreground, while timers, permission systems, and token meters keep running in the background.

    1.1 Why “200 tokens/s” cannot be converted directly into a delivery timeline

    Token throughput describes the instantaneous rate of the decoding stage, while task duration is the sum of multiple stages:

    1. Total task time ≈ queue wait + prefill + decode × number of rounds
    2. + tool execution time + I/O wait + human/automated acceptance time

    Only the decode stage is directly related to tokens/s. When a task requires multiple rounds of tool calls, decode time may account for only a small fraction of total task time.

    1.2 A structural change worth noting

    The new-generation model is at a 750B parameter scale. The capability gain emphasized by the official announcement does not come from piling on more weights, but from having 28 layers in the base model share weights and execute two passes. The total parameter count has not increased; 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.

    From an engineering perspective, this design has two direct consequences. First, computation per token rises, so decode throughput comes under pressure. Second, deeper reasoning capability may reduce the number of rounds a task requires. The net effect depends on the specific task shape and cannot be generalized.

    2. Real-World Finding 1: Breaking Down the Time Cost of Long-Chain Tasks

    To make a number like “5 hours” optimizable, the first step is to break it into observable segments. Enterprises are advised to build a timing framework like this:

    Stage Typical sources of share Optimization options
    Queue and rate-limit wait Peak-hour concurrency Off-peak scheduling, quota planning
    Prefill Very long project files, historical context Trim context, segmented summaries
    Decode Output length × number of rounds Constrain output, reduce rework
    Tool execution Compilation, rendering, testing Parallelization, caching
    Context compaction Accumulation across rounds Structured memory, external storage

    Illustrative instrumentation code:

    1. stages = {"queue": 0, "prefill": 0, "decode": 0, "tool": 0, "compact": 0}
    2. t0 = now()
    3. # ... time each stage separately ...
    4. total = now() - t0
    5. report = {k: round(v / total * 100, 1) for k, v in stages.items()}

    Only with this share breakdown does optimization have a target. Most teams’ first instinct is to compress output length, but in real-world tests, tool execution and context compaction are often the biggest contributors.

    3. Real-World Finding 2: The Two Sides of Shared-Weight Multi-Pass Computation

    Shared weights let the same batch of parameters be reused twice, which is equivalent to adding computation along the depth dimension. The benefits and costs can be summarized as:

    • Benefit: Improves reasoning depth without expanding parameters, which is friendlier to tasks that need to “think one more step,” such as math, physics calculations, and complex code reasoning.
    • Cost: Compute overhead in the decode stage rises, and throughput drops more noticeably at peak; latency-sensitive interactive scenarios need to be re-evaluated.
    • Engineering advice: Split tasks into “deep-reasoning” and “high-concurrency interactive” categories, and set model specs and timeout thresholds separately, instead of forcing one set of parameters to handle both workloads.

    4. Real-World Finding 3: Coding Spillover Beyond Software Departments

    Coding capability spillover means non-software roles also start consuming tokens: marketing generating campaign scripts, design generating 3D assets, and legal reviewing documents in bulk. This raises three new problems:

    1. Quota governance: The 1.5x quota increase is a buffer, not a cure. Quotas and alerts need to be established along department, project, and environment dimensions.
    2. Permission boundaries: If agents can read project files, there must be least-privilege read/write isolation, and sensitive repositories should be unreachable by default.
    3. Acceptance ownership: Who signs off on outputs determines the rework rate. Tasks without an acceptance step will see decode rounds spiral out of control.

    5. An Actionable Optimization Checklist

    • Set a token budget and timeout ceiling for each task type; trip a circuit breaker and hand off to a human when exceeded.
    • Use a “summary + retrieval” context structure to avoid repeatedly prefilling the full history.
    • Parallelize tool calls so rendering, compilation, and testing time overlaps with decoding.
    • Build a staged timing dashboard to turn “feels slow” into “which stage is slow.”
    • Schedule off-peak, moving non-urgent long tasks out of peak windows.
    • Put automated output validation first to reduce wasted rework rounds.

    6. Conclusion

    The value of the new-generation model lies not in a peak number but in whether it is placed in the right engineering position. Treating token throughput as a delivery commitment is where timeline control starts to fail; breaking tasks into a pipeline that is measurable, quota-limited, and acceptance-gated is the realistic path to bringing “5 hours” down.