Agent Ecosystem Breakthrough: Scaling to 60 Million Tokens per User
As agent applications become more common, token consumption is shifting from human conversation to machine-driven task execution. This article explains why agent loops amplify token usage, how open ecosystems and engineering practices can improve efficiency, and what teams should measure across context management, model routing, cost control, observability, and commercialization.
As agent applications spread rapidly, token consumption is no longer limited by human reading speed or attention. A single ordinary conversation may be estimated at thousands of tokens, while tens of millions of tokens can represent tens of thousands of interaction rounds. Content at this scale clearly cannot be read line by line by humans. The real consumer is shifting from people to machines. This change marks a transition in software systems from “information presentation tools” to “task execution entities,” and it pushes technical competition from single-model capability toward a complete agent runtime system.
1. The Shift in Token Consumers: From Human Dialogue to Machine Tasks
Traditional conversational applications are designed to help humans obtain information. A user asks a question, the model answers, and the human reads, judges, and follows up. In this mode, token consumption is naturally constrained by human attention, reading speed, and decision frequency. Even as model capabilities continue to improve, the number and length of turns in a single session remain bounded by human usage habits.
Agent mode is different. An agent can automatically decompose tasks around a goal, call tools, retrieve materials, generate intermediate results, verify outputs, and replan when something fails. It no longer only generates a piece of natural language; it continuously executes a series of actions. Every planning step, every tool call, and every result written back into context creates new context and new token consumption.
Therefore, the growth in token consumption does not come only from “longer answers.” It comes from “more complex task closure.” A seemingly simple instruction—for example, “summarize this week’s project risks and generate improvement suggestions”—may involve reading documents, retrieving historical records, extracting structured fields, calling analysis tools, generating charts, and reviewing conclusions in an agent system. Each step expands context and increases inference and generation costs.
This also explains why per-user token usage can reach a scale that humans cannot easily digest. Agents do not replace human reading; they replace repetitive, batch-oriented, and process-driven information processing work. Scarcity of attention does not disappear. It shifts to higher-level task definition, result review, and risk control.
2. The Limits of Call-Volume Leaderboards: From Visible Samples to Full Runtime
In the early stage of the agent ecosystem, observers often track usage trends through third-party model routing or aggregation platforms. These platforms can provide relative comparisons across models and providers, but they are only a “keyhole” into the entire ecosystem. The call volume seen through them often reflects the choices of only some developers and applications, not all agent runtime scenarios.
Truly large-scale token consumption usually occurs inside application providers’ own agent runtime loops. Enterprise applications, vertical industry assistants, automated workflows, code generation and operations assistants, and similar scenarios often connect directly to model services and complete context management, tool calls, and result storage within internal systems. These calls do not necessarily pass through public aggregation platforms, yet they may account for a larger share of resources.
Therefore, analyzing agent competition cannot rely on a single leaderboard. More reasonable observation dimensions include:
- Task completion rate: Whether the agent actually completes the user’s goal, rather than only generating plausible text.
- Tool call success rate: Whether external tools, databases, and business interfaces are called correctly and return valid results.
- Workflow embedding depth: Whether the agent enters real business processes such as approval, R&D, customer service, and data analysis.
- Application retention and reuse rate: Whether users continue to use the application and whether developers build multiple applications on the same capability.
- Unit task cost: How many tokens, calls, and human reviews are required to complete one effective task.
As competition shifts from “model benchmarks” to “task execution,” measurement standards also shift from single-answer quality to end-to-end delivery capability. This is also an important sign that the agent ecosystem is maturing.
3. Open Ecosystem Breakthrough: From Single Models to Application Scale
The expansion of the agent ecosystem does not depend on only one model or one vendor. Open weights, open interfaces, and open tool integration methods can significantly lower developers’ experimentation costs. Developers can quickly validate how different models perform on planning, reasoning, code generation, structured output, and other tasks, then package those capabilities into reusable application modules.
The value of open source and open ecosystems is mainly reflected in three areas.
First, they lower integration barriers. Developers do not need to build a complete inference pipeline from scratch. They can reuse existing context management, tool calling, evaluation frameworks, and deployment approaches.
Second, they promote growth in the number of applications. When model capabilities can be called through standardized interfaces, application developers can focus more on business logic rather than underlying model implementation. This will lead to many vertical applications, such as contract review, report analysis, operations diagnostics, teaching assistance, and code review.
Third, they create a feedback loop. Real applications generate large numbers of task samples and failure cases, which in turn drive model optimization, tool improvement, and process redesign. The larger the ecosystem, the richer the feedback and the faster the system iteration.
Therefore, competition in the agent era is not a competition over single-model parameters. It is a combined competition of “model capability + tool ecosystem + application count + engineering governance.” The meaning of an open ecosystem is to enable more developers to participate in building at low cost, thereby expanding the overall application boundary.
4. The Agent Runtime Loop: Engineering Mechanics of Token Amplification
The key reason agents consume large numbers of tokens is their runtime loop. A typical agent system usually includes perception, planning, execution, verification, and memory update.
An illustrative pseudocode example is as follows:
while not task_done:context = assemble_context(task, memory, tools)plan = planner(context)action = executor(plan)observation = tool_call(action)memory.append(observation)if verifier(observation) == failed:plan = replanner(context, observation)else:task_done = check_completion(observation)
In this loop, token consumption mainly comes from four types of operations:
- Context assembly: Combining task goals, historical dialogue, tool descriptions, retrieval results, user preferences, and other information into model input.
- Planning and reasoning: The model decomposes the task and generates the next action or intermediate conclusion.
- Tool calls and result write-back: Data returned by external tools must be written back into context for use in later steps.
- Verification and replanning: When results are incomplete or conflicting, the system needs to reason again and correct the path.
If task complexity is high, the number of loop iterations increases significantly. For example, a financial analysis task that requires cross-checking multiple data sources may go through multiple rounds of retrieval, calculation, comparison, and review. Each round accumulates context, causing token consumption to grow non-linearly.
This also means the design focus of agent systems is not only “making the model smarter,” but also “making the loop more efficient.” Developers need to control invalid loops, reduce redundant context, avoid repeated calls, and set clear boundaries for task completion conditions.
5. Context and Memory: Keys to Long-Task Management
Long tasks are a major source of token consumption in agents. The longer the context, the more information the model must process, and the higher the inference cost. Therefore, context management is one of the core capabilities of agent engineering.
Common strategies include:
- Layered context: Organize system instructions, long-term memory, short-term dialogue, the current task, and tool results in layers, avoiding indiscriminate concatenation of all content.
- Summary compression: Summarize historical steps and retain only key conclusions and necessary evidence.
- Retrieval augmentation: Do not stuff all materials into context; retrieve relevant snippets on demand.
- Structured memory: Store task state, completed steps, and pending items in structured form to reduce natural-language redundancy.
- Context eviction: Set expiration policies for low-value information to prevent context from growing without limit.
For example, in a multi-step research task, the system does not need to retain the complete original text returned by every tool call. Instead, it can store structured fields such as “confirmed facts, hypotheses to verify, cited sources, and current conclusions.” This maintains task continuity while significantly reducing token consumption.
A memory system also needs to distinguish between factual memory and process memory. Factual memory stores stable knowledge, such as product parameters, organizational rules, and historical conclusions. Process memory stores task trajectories, such as current steps, failure reasons, and retry counts. Only by combining both can complex tasks be executed continuously.
6. Cost and Performance: Tiered Routing, Caching, and Batching
As agents scale, cost control becomes critical to engineering deployment. Different tasks have different requirements for model capability. If every request uses the most capable model, costs will rise rapidly. Therefore, tiered routing is a common approach.
A typical strategy is:
- Use lightweight models for simple classification, format conversion, summary extraction, and similar tasks.
- Use general-purpose models for medium-complexity tasks.
- Use more capable models for high-complexity planning, code generation, and complex reasoning tasks.
- Add human review or secondary verification for high-risk tasks.
In addition to model tiering, the following optimization methods can also be used:
- Result caching: Cache repeated queries or stable results to reduce repeated generation.
- Batch processing: Combine multiple small tasks into batch requests to improve throughput efficiency.
- Structured output constraints: Reduce invalid text and parsing failures through explicit output formats.
- Tool result trimming: Write only the necessary fields returned by tools into context.
- Fast failure termination: When a task is clearly impossible to complete, stop the loop promptly to avoid invalid consumption.
When building agent systems on cloud infrastructure, teams can combine general capabilities such as container platforms, object storage, message queues, logging, and monitoring and alerting. Container platforms host inference and tool services, object storage stores task artifacts, message queues decouple asynchronous tasks, and logging and monitoring systems trace call chains and anomalous behavior. General cloud infrastructure such as Baidu AI Cloud can also serve as a foundation for hosting such applications, but the specific choice should still be evaluated comprehensively based on task workload, security requirements, and cost models.
7. Observability and Quality Governance: Making Agent Runs Traceable
The complexity of agent systems is far higher than that of single-turn question answering. An incorrect output may come from model misjudgment, abnormal tool returns, context contamination, insufficient permissions, or workflow design defects. Without a robust observability system, problem localization becomes very difficult.
It is recommended to establish at least the following observability capabilities:
- Call chain tracing: Record every planning step, tool call, model request, and result write-back.
- Token metering: Track consumption by task, user, application, and model layer to identify abnormal growth.
- Failure classification: Distinguish model failures, tool failures, permission failures, timeouts, format errors, and other types.
- Quality evaluation sets: Build standard inputs and expected outputs for typical tasks and run continuous regression tests.
- Human feedback loop: Collect user corrections and review comments to optimize prompts, tool descriptions, and workflow strategies.
Quality governance also needs to address security and compliance. Agents can call external tools, so the principle of least privilege must be enforced. Tool access should go through identity authentication, permission checks, and audit records. Sensitive data should be protected through de-identification, encryption, and access control. Human confirmation should be required for high-risk operations.
8. Commercialization Path: From Chatbots to Workflow Tools
The focus of agent commercialization is shifting from “providing a chat entry point” to “embedding into workflows.” Chatbots are usually conversation-centered, while agent tools are task-centered. Users no longer only ask for answers; they want the system to directly complete actions such as organizing, analyzing, generating, approving, and distributing.
These products are more likely to form sustained usage because they enter real business processes. For example, R&D agents can participate in code review and defect localization, operations agents can generate campaign retrospectives, customer service agents can handle tickets and call knowledge bases, and data analysis agents can complete metric explanations and report generation.
Commercialization design should avoid pricing only by “number of conversations” while ignoring task complexity. A more reasonable approach is to design a combination around task value, resource consumption, and service level. For developers, the focus should be on unit task cost, task success rate, human replacement ratio, and user retention, rather than simply pursuing growth in call volume.
9. Developer Practice Recommendations
For agent application development, it is recommended to establish engineering standards in the following areas:
- Define task boundaries clearly: Do not ask agents to take on open-ended, unbounded goals. Define clear inputs, outputs, and completion conditions.
- Design a minimum viable loop: First implement a verifiable core workflow, then gradually add tools and multi-agent collaboration.
- Control context growth: Prioritize structured state and retrieval rather than infinitely concatenating history.
- Build evaluation sets: Cover normal tasks, edge cases, and failure tasks to continuously verify system stability.
- Strengthen tool governance: Tool descriptions should be clear, parameters should be verifiable, and returned results should be trimmable.
- Set cost and quality thresholds: Trigger degradation or human intervention when token consumption, latency, or failure rates exceed thresholds.
- Preserve auditability: All key operations should be traceable for troubleshooting and compliance review.
The breakthrough of the agent ecosystem is not a single-point victory for one model. It is the result of developers, tools, applications, and engineering systems working together. As token consumption shifts from human reading to machine execution, truly valuable systems must combine task understanding, tool collaboration, context management, and cost governance. Only by forming a closed loop across these dimensions can agents move from demos to production and from single answers to continuous workflows.
