Multi-Model AI Agent Benchmark: The Real Drivers of Efficiency Differences
This article presents a controlled benchmark of four mid-size large language models running as AI agents on the same harness and the same complex product task. It breaks down why model positioning fails to predict agent efficiency, identifies the four variables that actually determine total runtime, and proposes a three-layer evaluation method covering results, process, and cost, along with retry and context-management practices.
1. Why Controlled Variables Matter in Agent Evaluation
The most common mistake in AI agent evaluation is changing several variables at once: swapping the model while also swapping the execution framework, the prompts, and the acceptance criteria. Conclusions drawn that way cannot be attributed to any single cause. A more rigorous approach fixes the harness to one in-house agent orchestration system and keeps the task description, input assets, context window, browser automation capabilities, and acceptance rules identical, replacing only the underlying large language model.
The four candidate models in this benchmark each represent a typical positioning: one emphasizes visual understanding and low latency, one emphasizes Chinese typography and brand expression, one emphasizes high-information-density engineering output, and one emphasizes very long context capacity. All sit in the mid-size parameter range, which makes them a reasonable cost and capability baseline for a horizontal comparison.
The task itself is a complex product problem: build a collaboration system for a creative studio. The only inputs are six open stock images, plus seed data for project members, assets, versions, and comments, with no existing pages to reference. The model must derive and complete five stateful pages on its own: project overview, mood board, asset-located comments, version approval, and publish preview. The system must also enforce permission differences across three roles (creative director, designer, client), support asset drag-and-drop, comment anchoring, version switching, approval and rejection, and preserve state after a refresh.
The shared constraints were: a 262K context window, a 200K task budget, and one common browser automation toolset; desktop acceptance at 1440×1000 and mobile at 390×844; the first-version screenshot retained for each run, only one repair round allowed, and code, screenshots, run logs, review records, and metrics files all required as final deliverables.
2. Results: All Four Finished, but the Process Diverged Sharply
All four models delivered a runnable system. The real differences were in the process:
- Model A: passed on the first attempt in 17 minutes, with almost no wasted actions.
- Model B: failed the first acceptance round; 1 hour 12 minutes in total including the rerun.
- Model C: no full rerun, but 3 internal automatic retries, 88 minutes in total.
- Model D: the default retry policy failed twice in a row; completed after adjusting backoff parameters, 1 hour 04 minutes to first success.
The final visual output also differed in emphasis: the light editorial style had the lightest structure and the best readability; the black-gold and off-white combination with serif headings and a permission matrix had the strongest brand feel and mobile consistency; the dark workbench integrated navigation, progress, roles, deliverables, approval, and the asset canvas into one system, with the highest information density and engineering completeness; the archive style, with thin-line tables and work thumbnails, suited retrieval-oriented scenarios.
3. Why Model Positioning Cannot Predict Agent Efficiency
Vendor claims of “low cost” and “high speed” describe only one facet of a single inference call. The total time an agent takes to complete a real task can be approximated as:
total time ≈ Σ(inference latency per turn + tool execution time + retry backoff) + repair rounds × full regression cost
Four variables are therefore decisive:
- Number of action turns: whether planning, coding, and verification can close the loop in fewer turns. Doubling the turns raises both elapsed time and context consumption.
- Tool call quality: how precisely browser automation, file read/write, and command execution are invoked. One wrong path can invalidate an entire round.
- Service stability: rate limits, timeouts, and intermittent errors amplify directly into backoff waiting, an external variable the model itself cannot control.
- Context management: a long context is not the same as effective use. Retrieval and compression strategies determine whether key information is still visible in later turns.
4. A Reusable Evaluation Method
Split the evaluation into three layers of metrics instead of only checking whether the task was completed:
- Result layer: acceptance pass rate, visual and interaction completeness, state persistence correctness.
- Process layer: action turns, tool call count, share of invalid calls, retry count, and backoff duration.
- Cost layer: context consumption, total duration, and the extra overhead caused by repair rounds.
Retry strategy should also be treated as a first-class part of the experiment design. Fixed backoff parameters tend to fail repeatedly in long tasks; exponential backoff with jitter, plus distinguishing failure types (retryable errors versus logic errors), significantly reduces wasted waiting.
delay = min(base * 2^attempt + jitter, max_delay)retry only on timeout/rate-limit errors; route logic and acceptance errors to the repair flow
5. Conclusion
A benchmark run on the same harness with the same task shows that real agent efficiency is a system outcome of model capability, orchestration framework, tool chain, and stability strategy combined. For model selection, use “task pass rate ÷ total time” as the core metric, and bring retry and context management into the tuning scope. For stronger engineering control, you can build an observable, reproducible agent evaluation pipeline on top of general-purpose capabilities such as container platforms, log services, and monitoring and alerting offered by Baidu AI Cloud.
