AI Agent Task Delivery: Why Faster Token Generation Doesn't Mean Faster Results
This article examines the gap between high-throughput LLM inference and end-to-end AI agent task delivery. It explains why token generation speed and task completion time measure fundamentally different things, how parameter counts can stay fixed while effective compute depth increases, and how to model task latency as a sum of planning, tool calls, I/O, execution, context compression, retries, and human review. It also covers context engineering, tool and execution environment constraints, and automated acceptance as the practical path from a working demo to a deliverable, schedulable outcome.
1. A Counterintuitive Pattern: Tokens Are Fast, Task Delivery Is Slow
A general-purpose LLM service recently published a set of inference performance figures: generation speed reaches roughly 200 tokens per second during off-peak hours and still holds at 70 to 80 tokens per second during peak hours. Meanwhile, in third-party public testing, a composite task involving physics computation and 3D animation generation took nearly five hours end to end.
Placing these two sets of numbers side by side is where the real engineering lesson appears: the speed of generating a single token and the speed of delivering a complete task are not measured on the same scale.
The reason is that they measure different things. Token throughput measures instantaneous capability during the decoding phase and typically covers a single forward pass of the model. Task delivery measures the entire process from requirement input to artifact acceptance, including intent understanding, task decomposition, tool calls, file reads and writes, code execution, failure retries, context compression, and human confirmation. The former is engine RPM; the latter is fuel consumption and time over the whole trip.
In the scheduling scenarios common to enterprises, this difference is very concrete. On the product side, seeing a demo makes it easy to convert “can write scripts, can generate 3D models, can build small interactive programs” directly into headcount savings for the next iteration. The engineering lead is looking at a different list:
- How many tool calls the agent makes to complete one task;
- How many project files must be read, and how large each read is;
- How many rounds of context compression are triggered, and the input and output size of each round;
- Where intermediate artifacts land, and how failures roll back;
- Who accepts the final artifact, and whether the acceptance criteria can be automated.
The model outputs code in the foreground, while the timer, permission system, and token meter keep running in the background. Ignoring this background chain is the main source of distorted scheduling.
2. The Path to Capability Gains Has Changed: Same Parameters, Longer Compute Path
Another technical signal worth noting is the source of the capability increment. A new-generation model stays at roughly 750B parameters, and the improvement emphasized officially does not come from stacking more weights but from having 28 layers in the base model share weights and execute two passes of computation.
In engineering terms: the parameter count did not increase, but the effective compute depth did.
This has three direct consequences.
First, single-token latency rises. The same decoding action runs some layers twice, so compute cost and memory access pressure both increase, and queueing effects during peak hours become more pronounced.
Second, the capability profile leans toward “more careful reasoning” rather than “broader knowledge coverage.” This kind of structure shows clearer gains on tasks that require multi-step constraint satisfaction, such as scene generation that must simultaneously satisfy geometric, physical, and rendering constraints.
Third, the cost model must be estimated by “effective compute volume” rather than “parameter scale.” Linearly extrapolating latency and cost from parameter count will systematically underestimate both.
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.
3. Breaking Task Time Into a Computable Model
To fix scheduling, you first need to be able to calculate it. Teams are advised to replace “it feels fast” with a simple decomposition:
T_task ≈ T_plan+ Σ (T_tool_i + T_io_i + T_exec_i)+ Σ (T_ctx_compress_j)+ T_retry+ T_human_review
Each term has a corresponding governance approach:
| Stage | Main Cost Source | Optimization Direction |
|---|---|---|
| Task planning | Long prompts, repeated clarification | Structured goal templates, constraints stated upfront |
| Tool calls | Serial waiting, timeout retries | Parallel independent calls, idempotent design |
| File reads and writes | Loading large files in full | Sharded reads, retrieval on demand |
| Context compression | Summarization itself requires inference | Raise compression trigger threshold, externalize memory |
| Failure retries | Dense retries with no backoff | Exponential backoff, resume from checkpoint |
| Human acceptance | Vague criteria | Scripted acceptance, diffable artifacts |
Estimating at a peak speed of 70 to 80 tokens per second, a medium-complexity agent task that cumulatively needs to process input and output on the order of hundreds of thousands of tokens is already at the hour scale for decoding and prefill alone. Add tool waiting and retries, and five hours is not unusual. This is not the model being “slow”; it is the task itself carrying a large total compute volume.
4. Context Engineering: The First-Order Bottleneck for Long Tasks
For long-chain tasks, the genuinely scarce resource is not model capability but the effective utilization of the context window. In practice, this can be handled in three layers.
The first layer is externalized memory. Write intermediate conclusions into structured files or lightweight storage, and let the model keep only indexes and summaries, avoiding reloading the full history on every turn.
{"task_id": "scene-001","constraints": ["rigid body collision", "gravity 9.8", "render frame rate 30"],"artifacts": [{"path": "geometry/part_a", "version": 3, "status": "verified"}],"next_action": "solve_constraints"}
The second layer is tiered compression policy. Not all history is worth summarizing; raw tool output and log bodies can be reduced to a summary plus a pointer, while constraint clauses and acceptance criteria must be preserved verbatim, otherwise constraint drift appears after multiple rounds.
The third layer is retrieval instead of full loading. Facing a large project repository, locate first and then read, changing “read the entire project” into “read the relevant slice.” This item usually delivers the most noticeable reduction in time.
5. Engineering Constraints on Tool Calls and the Execution Environment
Most of the latency variance in agent tasks comes from the tool layer. Controllable practices include:
- Idempotence and reentrancy: give every tool call a unique identifier so repeated execution produces no side effects, making retries safe.
- Parallel orchestration: batch concurrent calls that have no data dependency, turning a serial chain into directed acyclic graph scheduling.
- Timeouts and backoff: set tiered timeouts for each call and apply exponential backoff after failure to avoid avalanche-style retries.
- Artifact persistence: write intermediate results to object storage or a file system with version numbers to support resuming from a checkpoint.
- Least privilege: grant the execution environment minimum permissions per task, and audit write operations separately from network access.
- Observability: send call chains, latency distributions, and token consumption into a unified logging service and monitoring alerts, forming a per-task traceable billing view.
A schematic scheduling skeleton:
def run_task(plan):ctx = ContextStore(plan.task_id)for step in plan.topological_order():if ctx.is_done(step.id):continueresults = parallel_call(step.tools, ctx.slice_for(step))ctx.commit(step.id, results, verified=step.verify(results))return ctx.summary()
6. Acceptance and Governance: Turning “Demo-able” Into “Deliverable”
The dividing line between a demo and delivery is acceptance. It is advisable to define automatically decidable acceptance checkers for each task category: 3D artifacts check whether geometric and physical constraints are satisfied; code artifacts run unit tests and static checks; document artifacts undergo structure and reference integrity validation. When acceptance fails, return to the corresponding step rather than restarting the whole task.
At the governance level, three tables are needed: a task latency distribution table, a token consumption attribution table, and a failure cause classification table. With these three tables, “should we cut headcount” changes from a subjective judgment into an accountable engineering decision.
7. Conclusion
High-throughput inference and long-task delivery are metrics at two different levels. Designs such as shared weights and multi-pass computation raise the reasoning density per unit of output while also raising single-token cost; the agent architecture then amplifies cost across the entire chain of tools, files, and retries. What engineering teams genuinely need to build is a per-task latency and cost model, supported by three foundational capabilities: context externalization, call parallelization, and acceptance automation. With these in place, improvements in model capability will reliably convert into schedulable, accountable delivery efficiency.
