Why AI Agents Still Take Hours Despite Faster LLM Inference
This article explains why faster token generation does not necessarily translate into faster AI agent task delivery. It breaks down end-to-end latency into six measurable stages, examines how shared-weight multi-pass computation shifts costs rather than eliminating them, and discusses the risks of treating code as a universal interface. It closes with practical engineering recommendations for long-chain agent workflows, emphasizing task delivery time and first-pass success rate over raw decoding throughput.
Why AI Agents Still Take Hours Despite Faster LLM Inference
1. A Counterintuitive Pattern: Faster Generation, Not Necessarily Faster Delivery
A recently released model came with impressive official throughput numbers: nearly 200 tokens per second during off-peak hours, and 70 to 80 tokens per second even at peak. Yet a publicly shared benchmark from the same period showed a composite task involving physics calculations and 3D animation generation taking close to five hours end to end.
Placing these two sets of numbers side by side reveals the most important takeaway from this technical progress: token generation speed and full task delivery time are measured on different scales. The former captures instantaneous throughput during the decoding stage; the latter captures the entire path from requirement input to artifact acceptance. Between them sit tool calls, file reads, context compression, result validation, and human sign-off.
In enterprise scheduling scenarios, this gap is very real. Product teams see a demo and easily convert “writes video scripts, generates engineering drawings, builds small interactive apps” into headcount savings starting tomorrow. Engineering leads face a different checklist:
- How many external tools the agent calls in a single task;
- How many engineering files and how much context must be read;
- How many rounds of context compression and rewriting are triggered;
- Who accepts the final artifact, and against what criteria.
While the model writes code in the foreground, timers, permission systems, and token meters keep running in the background. Ignore the background cost, and any schedule will be distorted.
2. Shared-Weight Multi-Pass Computation: Saving Parameters, Shifting Time
Another notable point in this technical approach is that the total parameter count did not keep growing. The capability gains come mainly from having some layers in the base model share weights and execute two passes of computation. The parameter count stays flat, but the computation path gets longer.
An analogy: this 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 is a typical case of cost shifting rather than cost elimination:
| Dimension | Traditional Parameter-Scaling Approach | Shared-Weight Multi-Pass Approach |
|---|---|---|
| Weight storage | Grows linearly with scale | Essentially unchanged |
| Single forward pass compute | Tied to layer count | Increases due to repeated execution |
| Memory and bandwidth pressure | Mainly from weight loading | More from repeated reads and intermediate state retention |
| Latency profile | Stable and predictable | More sensitive to batch size and concurrency |
This answers a key question: what does this kind of structure actually save? It saves weight storage and loading overhead, and lowers the deployment barrier. What it shifts is decoding latency and compute consumption per token. The impact on interactive applications such as chat and completion is limited, but for long-chain agent tasks it gets amplified round after round.
3. Code as the Universal Interface: Code Becomes the Common Handle for Operating the Digital World
The third change is the expansion of task boundaries. Video, 3D scenes, and mechanical design are all starting to be framed as code tasks, and code appears to be the universal wrench for the model to operate the digital world.
But a wrench can turn a bolt without knowing which bolt is critical to flight safety. Three different things must be separated here:
- Tool-calling capability: whether calls can be correctly generated and executed, which is an engineering usability issue;
- Domain constraints: whether output complies with industry standards, physical laws, and safety boundaries, which is a domain knowledge issue;
- Delivery accountability: who is responsible when something goes wrong, which is a process and compliance issue.
Conflating the three is the main source of current deployment risk. A workable approach is to move domain constraints forward into executable validation rather than hoping the model will self-regulate:
# Example: enforce domain constraints as hard checks instead of relying on model self-regulationdef validate(draft):errors = []if not check_physical_constraints(draft):errors.append("Violates physical/geometric constraints")if not check_spec_compliance(draft):errors.append("Does not meet industry spec items")if draft.risk_level == "high" and not draft.human_signoff:errors.append("High-risk artifact missing human sign-off")return errors
4. Breaking “Task Duration” into Six Observable Stages
Real scheduling requires measuring end-to-end duration stage by stage. At minimum, instrument these six stages:
- Planning time: task decomposition and tool selection;
- Read time: engineering file parsing and context assembly;
- Decoding time: actual token generation;
- Tool time: external calls and sandbox execution;
- Compression time: summarization and rewriting after context limits are exceeded;
- Acceptance time: automated validation plus human confirmation.
In practice, decoding often accounts for only a small fraction of end-to-end duration. When a task requires multiple rounds of tool calls and repeated validation, the tool and acceptance stages frequently become the dominant items. As a result, “improving decoding throughput” yields sublinear improvement in total duration.
5. Engineering Practices for Long-Chain Tasks
- Layered caching: cache file parsing results and tool responses to avoid repeated reads;
- Context budgeting: explicitly set context limits and compression trigger thresholds to reduce ineffective rewriting;
- Parallel tool calls: run independent calls concurrently to shorten the critical path;
- Constraints up front: write standards and physical constraints as validators, and roll back on failure;
- Tiered acceptance: auto-pass low-risk items, require human sign-off for high-risk ones;
- Full-chain observability: use logging services, monitoring alerts, and distributed tracing to locate latency bottlenecks;
- Elastic resources: use a container platform to host sandbox execution, object storage to persist artifacts, and message queues to smooth out peaks.
6. Conclusion: Decide Based on Delivery Time, Not Decoding Speed
Returning to the three questions at the start: multi-pass shared weights save storage and deployment cost while shifting latency and compute; code-centric expansion widens the surface of automatable tasks but does not automatically inherit domain constraints and accountability; and end-to-end duration needs to be decomposed, measured, and optimized.
For teams, there is only one sound criterion: use task delivery time and first-pass success rate as the core metrics, and treat decoding throughput as one stage rather than the whole picture. Only then can you avoid mistaking a smooth demo for faster delivery.
