Agent Benchmark Comparison: How Swapping the Model Changes End-to-End Efficiency
This article examines a controlled experiment that holds the agent harness, task, materials, context strategy, browser environment, and acceptance rules fixed while swapping only the model tier: a vision-capable lightweight model, two newly released small general-purpose models, and a long-context model. All four passed acceptance, but their paths differed sharply, with first-pass completion times ranging from about 17 minutes to about 88 minutes. The analysis traces the slowdown to action steps, tool-call success rates, retry and backoff semantics, and context growth, then distills reusable engineering practices and a pseudocode loop with classified backoff. Readers will learn why model choice must be matched to task profile and how to build process metrics instead of chasing a single benchmark score.
1. Introduction: Narrowing the Variable to the Model Alone
In the engineering practice of agent systems, a recurring debate is whether end-to-end efficiency is determined mainly by the execution harness or by the underlying large language model. An earlier controlled experiment fixed the model and swapped four different harnesses; one harness completed the most complex creative-collaboration system build task of that round in roughly 16 minutes 55 seconds. With the harness-side difference now quantified, a natural follow-up question is what the efficiency curve looks like when the harness is fixed and only the model changes.
This article reproduces and abstracts that experimental approach. The harness, task description, input materials, context-window strategy, browser operation environment, and acceptance rules are all held fixed, while four representative model capability tiers are substituted: a lightweight model with visual understanding, two newly released general-purpose models at a small parameter scale, and a long-context model as a horizontal reference. Note that this article does not evaluate any specific vendor or product; it abstracts the findings into transferable engineering knowledge.
2. Experimental Design: Control Variables with “Everything Else Equal”
For the conclusions to be credible, every non-model variable must be pinned down. The controls in this experiment were:
- Same task: one multi-page creative-collaboration system build requirement with interaction and data flow, with acceptance criteria covering functional completeness, visual fidelity, and runnability.
- Same materials: identical design mockups, copy, icons, and sample data, so that input differences could not skew results.
- Same context: unified system prompts, history-trimming strategy, and tool return formats.
- Same environment: identical browser automation environment, file system, terminal permissions, and network access policy.
- Same acceptance: one set of automated check scripts and one manual review checklist.
The model was the only variable. This design makes it highly likely that differences in elapsed time can be attributed to model behavior rather than environment jitter.
3. Results Overview: All Four Finished, but the Paths Diverged
All four model tiers eventually passed acceptance, but the process metrics differed markedly, as summarized below (illustrative):
| Model tier | Full rerun | Internal auto-retries | Cumulative time to first success |
|---|---|---|---|
| Vision-capable lightweight model | No | 0 | ~17 minutes |
| General-purpose model A | Yes (1 time) | 0 | ~1 hour 12 minutes |
| General-purpose model B | No | 3 times | ~88 minutes |
| Long-context model | No (succeeded after adjusting backoff) | 2 consecutive failures under the default policy | ~1 hour 4 minutes |
The most informative signal is not “who was fastest” but where the time went: full reruns, retries after tool-call failures, and waiting amplified by an unsuitable backoff policy.
4. Why “17 Minutes” and “88 Minutes” Differ Fivefold
4.1 Action steps are the primary amplifier of latency
An agent does not complete a task in a single generation; it runs a loop of “think, call a tool, observe the result, think again.” If a model tends to emit large blocks of code at once with little intermediate verification, the step count looks low in the short term, but any error forces a full-loop rollback. Conversely, if a model over-splits every step and repeatedly seeks confirmation, the step count explodes and latency rises linearly. The 17-minute case usually means the model made the right “take fewer wrong turns” decisions at key points.
4.2 Tool-call success rate determines retry cost
File writes, terminal execution, and browser clicks can all fail due to parameter formatting, permissions, or timing. Three internal auto-retries may not sound like much, but if each retry comes with a long-context replay, the cumulative overhead can account for more than half of the total duration.
4.3 Backoff strategy: misused exponential backoff is slower
The long-context model failed twice in a row under the default retry policy, indicating that the failures were not random jitter but were tied to request body size and timeout thresholds. Only after switching backoff from a “fixed short interval” to “exponential backoff plus jitter” did it succeed. This suggests the engineering side must choose retry semantics based on the failure type rather than applying defaults uniformly.
4.4 Context management: a long window is not free
A long-context model can hold more history, but that also means longer input per inference step and higher time to first token. In tasks requiring dozens of tool calls, context growth noticeably slows every step, producing the counterintuitive pattern of “the larger the window, the slower each step.”
5. Reusable Engineering Conclusions
- Match model selection to the task profile: short-chain tasks with strong visual fidelity needs suit low-latency models; long-chain, multi-tool collaboration tasks require weighing step count and retry cost together.
- Treat retries as first-class: distinguish idempotent from non-idempotent operations and design backoff and limits separately; for browser operations, add state verification instead of retrying blindly.
- Layer the context: store system prompts, long-term memory, and the current task draft in separate layers to avoid replaying everything on every step.
- Shift acceptance earlier: embed automated checks into each step to reduce full reruns triggered by failures discovered only at the end.
- Build a process-metrics dashboard: record step counts, tool failure rates, retry counts, and per-step latency instead of looking only at the final screenshot.
6. Illustrative Pseudocode: An Execution Loop with Classified Backoff
def run_agent(task, model, max_steps=60):ctx = Context(task)for step in range(max_steps):action = model.plan(ctx)try:obs = execute(action) # file / terminal / browserctx.append(obs)if verify(ctx): # shift acceptance earlierreturn Success(step)except RetryableError as e:wait = backoff(e.attempt, base=2, jitter=True)sleep(wait) # exponential backoff + jitterexcept FatalError:rollback(ctx) # local rollback to avoid a full rerunreturn Failure()
7. Conclusion
A controlled experiment that fixes the harness and swaps only the model reveals a plain but often overlooked fact: the real efficiency of an agent is the product of “model capability × engineering strategy.” Positioning a model as low-cost or high-speed describes only part of its capability; action steps, tool-call success rate, service stability, and context management together determine the end-to-end experience. For enterprise users, rather than chasing a single benchmark score, it is better to build your own process-metrics system and, on cloud platforms such as Baidu AI Cloud, combine general capabilities like container platforms, log services, and monitoring and alerting to break an agent’s “slowness” down into engineering problems that can be located and optimized.
