Evaluating Multi-Model Agent Efficiency Under a Fixed Execution Framework
This article examines agent efficiency when the execution framework is held constant and only the underlying model changes. It covers the experiment design, process-level observation metrics, typical execution paths, causes of efficiency gaps, and engineering practices for building a more reliable agent evaluation system. Readers will learn why final completion alone is insufficient for model selection and how task decomposition, tool calls, error recovery, context management, and service stability affect real-world agent performance.
1. From “Model Capability” to “Agent Efficiency”
In agent application development, many teams tend to equate model capability with final delivery efficiency. They assume that if the underlying model is strong enough, complex tasks will naturally be completed. In real engineering scenarios, however, an agent does not generate an answer in a single pass. It operates as a closed loop composed of model reasoning, tool calls, environment feedback, state management, and error recovery. The model is responsible for only one part of this loop. What really determines whether a task can be completed reliably is the design quality of the entire execution framework.
Therefore, when evaluating whether an agent is suitable for complex tasks, it is not enough to look only at whether a single response is fluent or whether a final page is generated. A better approach is to observe its planning ability across multiple turns, the accuracy of tool use, its ability to recover after failure, and its stability as context grows. This article is based on a complex task experiment in which the execution framework was fixed and only the underlying model was replaced. It abstracts reusable evaluation methods and engineering lessons from that experiment.
2. Experiment Design: Observing Real Efficiency After Controlling Variables
The core principle of this experiment was strict variable control. The execution framework remained the same, the task description remained the same, the input assets remained the same, the context organization method remained the same, the browser environment remained the same, and the acceptance rules remained the same. The only variable was the underlying model. This makes it possible to exclude interference caused by framework differences and attribute efficiency differences as much as possible to the model itself.
The experimental task was the construction of a complex creative collaboration system. The system targets a creative studio scenario. Its inputs include several open image assets, project members, asset information, version records, and comment seed data. Developers could not rely on an existing page. Instead, they had to build multiple core states from scratch: project overview, inspiration board, asset-positioned comments, version approval, and publish preview.
The difficulty of the task was not only page generation, but also multi-role interaction and state persistence. The system needed to support three roles: creative director, designer, and client. After entering the system, different roles should see different operational priorities. For example, the creative director focuses on overall project progress and approval, the designer focuses on asset organization and comment positioning, and the client focuses on version confirmation and publish preview. The page also needed to support asset drag-and-drop, comment positioning, version switching, approval or rejection, and other operations. State could not be lost after refresh.
The acceptance rules emphasized closed-loop completion rather than static screenshots. The system had to run, interactions had to be walkable, state had to be recoverable, and role switching had to be effective. This task design can more realistically reflect how agents perform in complex engineering tasks.
3. Observation Dimensions: More Than Final Completion
The experiment ultimately showed that multiple models completed the task, but the differences in process were far greater than the differences in outcome. If only final screenshots are considered, it is easy to conclude that “everyone can do it.” But when process metrics are introduced, the efficiency gap becomes very obvious.
The first dimension is completion time. Some models were able to complete the main functionality in a relatively short time, while others had to go through a full-round failure, rerun, or multiple internal retries. Completion time is not the only criterion, but it reflects whether task progress is smooth.
The second dimension is the number of action rounds. Complex tasks usually require multiple rounds of planning, coding, running, debugging, and fixing. Too many action rounds suggest that the model may not fully understand the task, or that its tool calls are not precise enough.
The third dimension is tool-call quality. Agents need to read and write files, execute code, start services, access pages, and check results. The accuracy of tool calls directly affects task progress efficiency. Incorrect parameters, repeated calls, and invalid commands all significantly increase time consumption.
The fourth dimension is failure recovery capability. A real development process cannot succeed on the first attempt. Whether a model can locate problems from error logs and correct implementations based on page feedback is key to distinguishing high and low efficiency.
The fifth dimension is context management capability. As the task progresses, context continues to accumulate. If the model cannot effectively compress historical information and extract key state, it is prone to repeated operations, forgotten constraints, or deviation from the goal.
The sixth dimension is service stability. Even if the model itself is capable enough, frequent API fluctuations, rate limits, or response timeouts will slow down the overall task. Agent evaluation must include stability within its observation scope.
4. Result Abstraction: Completion Does Not Equal Efficiency
From the experimental process, different models exhibited four typical paths.
The first type of model advanced relatively smoothly and completed the task with fewer disruptions. This type of model usually has better task decomposition ability, can quickly establish the page structure, and can accurately call tools to complete running and verification.
The second type of model failed in the first round but completed after a rerun. This shows that the model has some error-correction ability, but there were obvious gaps in its first planning or implementation. Although the rerun eventually succeeded, it introduced additional time cost.
The third type of model did not perform a full-round rerun, but went through multiple automatic retries internally. On the surface, the task continued to advance, but in reality, it was repeatedly consumed by local errors. This situation is more hidden. If only the final result is considered, its cost is easily underestimated.
The fourth type of model failed continuously under the default retry strategy and completed only after the backoff strategy was adjusted. This shows that agent efficiency depends not only on the model, but also on the fault-tolerance design of the framework. Retry count, waiting time, error classification, and recovery strategy all affect final performance.
These differences show that low cost or high speed can describe only part of a model’s attributes. Real agent efficiency is the joint result of model capability, framework design, tool ecosystem, service stability, and context governance.
5. Cause Analysis: Where Efficiency Differences Come From
5.1 Task Decomposition Determines the Starting Height
Complex tasks need to be decomposed into executable steps first. A strong model establishes the project structure first and then gradually implements pages, state, interactions, and persistence. A weaker model tends to enter details directly, leading to rework later.
5.2 Tool-Call Accuracy Determines Progress Speed
An agent does not only generate text. It changes the environment through tools. Tool-call errors trigger cascading problems, such as incorrect file paths, service startup failures, and page check failures. The more accurate the calls, the closer the task is to closure.
5.3 Error Recovery Determines Failure Cost
Failure itself is not frightening; the real problem is being unable to recover. An efficient model can extract key clues from error information and quickly correct code or configuration. An inefficient model may repeat the same error, causing retry counts to rise.
5.4 Context Management Determines Long-Task Stability
Complex tasks generate a large amount of intermediate information. If context is not effectively organized, the model may forget initial constraints, repeat completed work, or become lost among multiple states. Good context management should include summaries, externalized state, and retrieval of key information.
5.5 Service Stability Determines Overall Experience
Agent tasks usually run for a long time and across multiple rounds. API timeouts, rate limiting, and response jitter all cause additional waiting. From an engineering perspective, stability should be treated as an evaluation metric rather than focusing only on model output quality.
6. Engineering Implications: Building a More Reasonable Agent Evaluation System
6.1 Fix the Framework and Replace Only the Model
During evaluation, the execution framework, task, assets, context, and acceptance rules should remain consistent. Otherwise, it is impossible to determine whether differences come from the model or the framework.
6.2 Introduce Process Metrics
In addition to whether the task is ultimately completed, evaluation should record action rounds, tool-call counts, failure types, retry counts, latency distribution, and context usage. Process metrics better reflect real efficiency.
6.3 Design Configurable Retry Strategies
More retries are not always better. Exponential backoff, random jitter, and maximum attempt limits can be used to avoid invalid retries amplifying cost. Example logic:
for attempt in range(max_attempts):result = run_agent(task)if check_acceptance(result):breakwait_time = base_delay * (2 ** attempt) + random_jitter()sleep(wait_time)
6.4 Strengthen Observability
Every tool call, error return, page state, and model decision should be recorded. Only with observability can efficiency bottlenecks be located.
6.5 Govern Context Well
Long tasks should use state summaries, external storage, and on-demand retrieval to avoid unbounded context growth. Key constraints should be retained continuously, while historical details can be compressed as needed.
6.6 Replace Manual Screenshots with Automated Acceptance
Complex tasks should establish automated acceptance rules, including page accessibility, completable interactions, persistent state, and switchable roles. Automated acceptance reduces subjective judgment and improves evaluation consistency.
7. Conclusion
The most important conclusion of this experiment is not that a particular model is faster, but that agent efficiency cannot be determined by a single metric. With a fixed execution framework, the differences among models in complex tasks are mainly reflected in action rounds, tool calls, error recovery, context management, and service stability. Final completion is only the result; process cost is the key to engineering selection.
For developers, a more mature evaluation approach should shift from “looking at model answers” to “looking at the agent closed loop.” Only by incorporating tasks, tools, environment, retries, context, and acceptance rules into a unified system can real-world agent efficiency be evaluated, and can a more suitable combination of models and frameworks be selected for complex applications.
