Multi-Model Agent Benchmark: The Efficiency Gap Is in Retries
This article examines why model benchmark scores do not reliably predict AI agent efficiency, using a controlled experiment that fixes the execution framework, task, context window, browser environment, and acceptance rules while swapping only the inference model. It details the task setup, unified constraints, and reusable process metrics, then compares four runs that all succeeded but showed sharply different cost curves driven by retries. The core finding is that end-to-end efficiency depends on action turns, tool-call quality, service stability, retry strategy, and context management rather than positioning or raw speed. Practical recommendations cover parameter schemas, exponential backoff with jitter, layered context handling, and executable acceptance criteria.
1. Why Model Benchmarks Do Not Equal Agent Efficiency
In real AI agent tasks, the model is only one link in the decision chain. Even a seemingly simple request to “generate a page” involves requirement parsing, task decomposition, tool selection, parameter construction, result validation, and failure fallback. Any jitter in a single step gets amplified into overall latency.
Therefore, evaluating whether a model fits agent scenarios should not rely only on single-turn inference speed or parameter count. It should look at end-to-end performance under a fixed execution framework. The experiment discussed here follows exactly that approach: the execution framework, task, assets, context window, browser environment, and acceptance rules are all fixed, and only the inference model is replaced, so differences can be attributed to model behavior itself.
The value of this kind of comparison is not to label any model, but to expose a frequently overlooked fact: a low-cost or high-speed positioning describes only part of a model’s capability; real efficiency also depends on the number of action turns, tool-call quality, service stability, and context management.
2. Experiment Design: Reducing the Variables to the Model Only
2.1 Task Setup
The task is a creative studio collaboration system. The only inputs are a few open stock images, a member list, asset metadata, version history, and seed comment data, with no existing page to reference. The model must build five states on its own: project overview, inspiration board, asset location and comments, version approval, and publish preview.
The system must also support three roles (creative director, designer, and client) and satisfy requirements such as asset drag-and-drop, comment anchor positioning, version switching, approve or reject actions, and state persistence after refresh.
2.2 Unified Constraints
- A unified context window of 262K and a unified task budget of 200K;
- Unified access to browser automation capabilities (a common browser control protocol approach in the industry);
- Desktop acceptance viewport of 1440×1000 and mobile viewport of 390×844;
- Save the first-version screenshot, with only one repair round allowed;
- Final deliverables must include code, screenshots, run logs, review records, and a metrics file.
The point of these constraints is to split “whether it can be built” and “at what cost it is built” into two quantifiable dimensions.
2.3 Reusable Evaluation Metrics
Record at least the following fields instead of looking only at total elapsed time:
wall_clock_seconds # End-to-end wall clock timeaction_turns # Number of action turnstool_calls # Number of tool callstool_error_rate # Tool failure rateauto_retries # Framework-internal automatic retriesmanual_reruns # Manually triggered full rerunsfirst_success_at # Time of first acceptance passcontext_peak_tokens # Peak context usage
3. Process Differences: More Informative Than the Final Screenshot
All four groups completed the task, but their process curves differed significantly:
- The fastest group passed on the first attempt in 17 minutes, with the fewest action turns and almost no tool-call failures;
- The second group failed the first round and took 1 hour 12 minutes in total, including a full rerun;
- The third group had no full rerun, but the framework performed 3 internal automatic retries, totaling 88 minutes;
- The fourth group failed twice in a row under the default retry policy and only succeeded on the first attempt after extending the backoff interval, totaling 1 hour 04 minutes.
These four curves correspond to four typical failure modes: correct on the first try, full restart, local self-healing, and strategic retry. Their cost impact is completely different: a full rerun repeatedly consumes context and budget, local self-healing is cheaper, and a poor retry strategy can directly stretch waiting time several times over.
4. Four Root Causes of the Efficiency Gap
4.1 Action Turns and Tool-Call Quality
If a model can construct tool parameters correctly in the first turn, overall latency is significantly compressed. Conversely, repeated probing, frequent file reads, and duplicate screenshots cause turns to grow linearly. The optimization direction is to tighten tool descriptions, provide explicit parameter schemas, and constrain “plan before calling” in the system prompt.
4.2 Service Stability and Retry Strategy
More retries are not always better. When the default policy encounters rate limiting or timeouts with intervals that are too short, it keeps hitting walls; exponential backoff with added jitter yields a noticeably higher success rate. Example implementation:
import random, timedef call_with_backoff(fn, max_attempts=5, base=1.0, cap=30.0):for i in range(max_attempts):try:return fn()except Exception:if i == max_attempts - 1:raisedelay = min(cap, base * (2 ** i)) + random.uniform(0, 0.5)time.sleep(delay)
4.3 Context Management
A 262K window does not mean assets can be stuffed in without limit. Screenshots, logs, and DOM fragments quickly consume the budget. A workable approach is layering: a summary layer retains decision conclusions, a detail layer is retrieved on demand, and historical tool results are structurally compressed so only key fields are returned.
4.4 Clarity of Acceptance Rules
The more executable the acceptance criteria, the less the model drifts. Rewriting “the visuals must look good” as “the desktop first screen shows the project title and status label, and mobile has no horizontal scrolling” noticeably reduces the failure rate.
5. Conclusions and Implementation Recommendations
- Benchmarks must fix the execution framework and replace only the model, otherwise conclusions cannot be attributed;
- Record process metrics, especially time to first success and retry counts;
- Establish parameter schemas and error-code semantics for tool calls to reduce trial-and-error turns;
- Use exponential backoff with jitter for retries, and set an overall budget cap;
- Manage context in layers to prevent useful information from being drowned out by raw logs;
- Write acceptance rules as automatically verifiable assertions to reduce subjective disputes.
Moving model selection from “look at positioning and benchmark scores” to “look at the end-to-end efficiency curve” is the right approach for agent engineering.
