Why Can a Single AI Agent Task Still Take Five Hours When LLM Inference Is Faster?
Token generation speed is only one part of an AI agent’s end-to-end performance. This article explains why tasks involving multiple tool calls, expanding context, rendering, simulation, approvals, and resource queues can take hours even when an LLM generates hundreds of tokens per second. It also examines the trade-off of increasing computation depth without increasing parameter count, the rise of code-driven workflows, and the evaluation checklist enterprises should use before deploying agentic systems.
1. The Counterintuitive Reality: Fast Tokens, Slow Tasks
A new generation of large language models recently released by a major cloud provider has attracted attention for its impressive inference speed. According to official figures, generation can reach up to 200 tokens per second during off-peak periods, while peak-period performance remains around 70–80 tokens per second. By simple calculation, generating a few thousand tokens of code or text should take only seconds or minutes.
However, third-party testing has produced a very different result: an end-to-end 3D animation task involving physical calculations took nearly five hours. Put together, these figures reveal one of the most commonly misunderstood aspects of deploying large models today:
The generation speed of an individual token is not the same as the delivery speed of an entire task.
This gap is one of the most important factors for enterprise users to understand when evaluating AI model capabilities.
2. Where Does Task-Level Latency Go?
If we only consider the model’s forward inference pass, 200 tokens per second is indeed fast. But when a model operates as an AI agent, the time budget changes completely. The total duration of a real-world task typically consists of several components.
1. Multiple Tool Calls
An agent usually does not complete a task through a simple question-and-answer exchange. Instead, it follows a loop such as:
planning → tool invocation → observing results → adjustment → another tool invocation
A 3D animation task may involve scene modeling, material generation, physics-engine parameter tuning, rendering script development, rendering execution, and result inspection. Each step may trigger one or more rounds of model inference.
Suppose a task requires 50 tool calls, with the model generating an average of 2,000 tokens per call. Even at 150 tokens per second, generation alone would take more than 11 minutes. This estimate does not include the time required for the tools themselves to execute.
2. Context Growth and Compression
As a task progresses, the conversation history, tool outputs, and engineering files continue to accumulate. When the context approaches its window limit, the system may need to compress it by summarizing earlier content, discarding information deemed less relevant, and reconstructing the current task state.
Context compression introduces additional inference overhead. Information loss during compression may also cause the agent to repeat attempts or redo work, increasing the total duration even further.
3. Waiting for Tools to Execute
Physics simulation, rendering, compilation, builds, and test runs often take far longer than model inference. A model may write a rendering script in 30 seconds, but rendering a single high-quality 3D frame can take several minutes. Rendering dozens of frames can easily extend the total runtime to several hours.
In such cases, the bottleneck is not the model. It is the throughput of the surrounding toolchain.
4. Permissions, Approvals, and Resource Queues
In enterprise environments, an agent may need permission checks and audit logging before accessing engineering repositories or internal services. During peak periods, it may also have to wait for compute resources.
These “hidden timers” are usually invisible in demonstrations, but they are real parts of production latency.
A simplified model can be expressed as follows:
Total task duration ≈ Σ(inference rounds × generation time per round)+ Σ(tool execution time)+ Σ(context compression overhead)+ queueing and approval time
Single-token speed affects only the first term. The remaining terms are often the dominant contributors.
3. More Computation Without More Parameters: Another Path to Higher Capability
Another notable aspect of the recent release is a technical trade-off: the model remains at roughly the 750-billion-parameter scale, while its reported capability improvements do not primarily come from adding more parameters. Instead, shared-weight layers in the base model perform two rounds of computation.
One way to understand this is to imagine asking the same group of musicians to play a complex passage twice rather than immediately expanding the orchestra. The number of musicians remains unchanged, but the computation path becomes longer.
In theory, repeatedly executing part of the network can approximate an increase in effective depth, giving the model more opportunities to process features for the same input.
The trade-off is straightforward:
- Benefit: The model can gain additional capability without retraining an extremely large number of parameters. Inference memory requirements remain broadly stable, which makes deployment more manageable.
- Cost: The amount of computation required per token increases. Latency also rises—the “rehearsal time” becomes longer in practice.
For users, this means model selection should not focus only on parameter count or tokens per second. It is also important to ask how much computation is performed behind each token, because that factor directly affects both billing and waiting time.
4. The Rise of “General-Purpose Coding”: Code Is a Universal Tool, Not a Quality Inspector
Another emerging trend is to translate an increasing range of tasks—including video production, 3D scene creation, and mechanical design—into coding tasks.
A model may write scripts to control a rendering engine, configuration files to describe an assembly structure, or rules to orchestrate animation timing. Code is increasingly becoming a general-purpose tool through which large models interact with the digital world.
But a wrench can tighten a bolt without knowing which bolt is critical to flight safety. Three separate capabilities must be distinguished.
1. Tool-Calling Capability
Can the model generate executable scripts, pass the correct parameters, and correctly interpret returned results?
This is primarily an engineering problem and can be improved through better tooling and workflows.
2. Domain Constraints
Tolerance and fit requirements for mechanical parts, structural load standards for buildings, and redundancy requirements for aerospace components cannot all be assumed to exist within the model’s code-generation capability.
These scenarios require external knowledge bases, validation rules, and simulation tools to provide safeguards.
3. Delivery Responsibility
Who is responsible if the generated output is wrong?
In engineering delivery scenarios, CAD drawings generated by a model may still require review and approval by a qualified engineer. Generated code must go through testing and code review. AI can accelerate production, but it cannot replace the chain of responsibility required for acceptance and delivery.
5. An Evaluation Checklist for Technical Decision-Makers
Before adding an AI agent’s capabilities to a project schedule, enterprises should answer the following questions:
- Task decomposition: How many tool calls is the agent expected to make in the target scenario? How large are the inputs and outputs for each call?
- Context management: How many engineering files must be read? When will context compression be triggered? How will the task state be restored after compression?
- Bottleneck identification: Is most of the time spent on model inference or tool execution? If the bottleneck is the latter, the priority should be optimizing the toolchain rather than switching to a larger model.
- Measurement and cost: Is token billing based on computational workload rather than parameter count? A model with repeated computation depth may have a higher per-token cost, so the total cost must be estimated according to actual task volume.
- Acceptance process: Who reviews the final output? Where are the quality boundaries? How much budget is available for failed attempts and retries?
6. Conclusion
Single-token generation speed is a model’s sprint performance. Task-level delivery speed is the marathon pace that matters for enterprise deployment.
The former appears in launch presentations; the latter appears in invoices and project schedules. As more industry problems are reduced to code-generation workflows, it is important to remain clear-eyed: computation paths can become longer, parameters can be reused, and domains can be generalized. But tool reliability, complete domain constraints, and clearly assigned delivery responsibility remain three separate requirements that cannot be skipped.
Understanding this distinction allows organizations to plan AI projects neither too aggressively nor too cautiously.
Enterprises that want to validate these agentic workflows in practice can conduct small-scale pilots through model services and agent development platforms provided by major cloud vendors, such as Baidu AI Cloud, while connecting them to their own toolchains. Real task data can then be used to calibrate each item on the checklist above. This is far more reliable than allowing the impressive speed of a demonstration video to determine production schedules.
