Multi-Model Benchmark Under a Fixed Agent Framework: Measuring Real Agent Efficiency
Agent efficiency is not the same as model benchmark scores. This article locks the execution framework, task, context, browser environment, and acceptance rules, then swaps only the underlying model to compare four sub-300B models building the same complex creative collaboration system. It breaks down action turns, tool-call failure rates, full reruns, and internal retries, and explains why the fastest responder is not always the fastest to finish, along with reusable practices on retry backoff and context management.
1. The Overlooked Variable: Why Model Benchmarks Do Not Equal Agent Efficiency
As agents take on end-to-end engineering tasks, a common mistake is equating a model’s capability with how long it takes that model to finish a page. In real scenarios, the model does not produce the final artifact directly. It sits inside a closed loop made up of the execution framework, the toolset, the browser environment, the context window, and the acceptance rules. Every cycle of “think, call a tool, observe the result, decide again” is one action turn, and a single task often stacks dozens to hundreds of action turns.
So judging whether a model is “fast” requires at least two layers: the response latency of a single inference, and the number of action turns and rework rounds needed to finish the whole job. The former is an intrinsic property of the model; the latter is an emergent result of the model interacting with the framework, tools, and environment. A model with extremely fast responses may take longer overall if it frequently misreads tool returns, re-reads the same batch of files, or makes state-management mistakes, while a slightly slower but steadier model finishes sooner.
The experiment here uses a single-variable control: the execution framework is fixed to the same agent execution environment (referred to below as a DSH-style execution framework), and the task, materials, context organization, browser environment, and acceptance rules all stay identical. Only the underlying model is swapped, to observe process differences among four models in the sub-300B parameter range with different positioning while they build the same complex creative collaboration system.
2. Experiment Design: Locking Down Everything Except the Model
2.1 Task Definition
The task is a creative studio collaboration system with five core states: project overview, moodboard, asset location and commenting, version approval, and publish preview. The system must support three role perspectives (creative director, designer, and client) and allow asset drag-and-drop, comments anchored to asset coordinates, version switching, and approve-or-reject actions, with state preserved after a page refresh.
On the asset side, only six open stock images are provided, plus seed data for project members, assets, versions, and comments. There are no ready-made pages to reference. This means the model must handle information architecture design, state modeling, the persistence approach, and interaction implementation on its own rather than copying an existing example.
2.2 Fixed-Item Checklist
To keep the runs comparable, the following elements are identical across all four experiments:
- Execution framework: the same DSH-style framework, with identical tool registration and invocation protocol;
- Context organization: the same system prompt, project description, and file-reading order;
- Browser environment: the same automation browser and viewport, with the same operation timeout;
- Acceptance rules: the same automated checks, covering reachability of the five states, switching among the three roles, drag-and-drop and comment positioning, the version approval loop, and state persistence after refresh;
- Retry policy: all runs start with the framework default, with backoff parameters extended only after a failure and as recorded.
2.3 Metrics
Beyond “time to first success,” the experiment records four process metrics: number of action turns, number of tool calls and failure rate, number of full reruns, and number of internal automatic retries. These four scalar metrics explain the sources of efficiency differences better than a final screenshot.
3. Results: Four Ways of “Finishing,” Four Different Paths
All four runs eventually passed acceptance, but the process curves differed sharply.
The first model finished in about 17 minutes with no full rerun, compact action turns, and a low tool-call failure rate, a typical case of getting it right the first time. The second failed on the first attempt, then reran after fixes, for a cumulative time of about 1 hour 12 minutes; the failures clustered in the intersection of state persistence and role-permission logic. The third had no full rerun, but the framework triggered 3 internal automatic retries, for a cumulative time of about 88 minutes, with most time spent waiting and re-reading. The fourth failed twice in a row under the default retry policy and only finished after the backoff interval was extended, reaching first success at a cumulative time of about 1 hour 4 minutes.
One counterintuitive conclusion is that the shortest cumulative time does not always belong to the fastest-responding model. The third model responded quickly per turn, but idle spinning from internal retries stretched the total duration; the fourth responded more slowly per turn, yet held its total time down by succeeding on one attempt.
4. Four Root Causes of the Efficiency Gap
4.1 Action Turns: The Real Invisible Clock
For complex frontend tasks, total time is roughly proportional to action turns multiplied by per-turn latency. Efficient models tend to first build a complete file inventory and state model, then write in batches; inefficient models write and test as they go, repeatedly reading and writing the same file, until action turns balloon to several times as many. A rough estimate shows the impact:
total time ≈ Σ(per-turn inference latency + tool execution time + failed-retry wait)if per turn is 3s and tool is 1s:40 turns ≈ 160s120 turns ≈ 480s
4.2 Tool-Call Quality: Parameter Correctness Drives Rework
Tool-call failures mostly come from wrong paths, mismatched parameter types, and writes truncated for exceeding length limits. Each failure costs an extra turn to read the error and correct it. The robust approach is for the model to do a minimal validation write before a batch write, confirming the path and format before making large-scale changes.
4.3 Service Stability and Retry Policy: Backoff Beats Brute Force
Default retries often use a fixed short interval and keep hitting the wall during rate limiting or backend jitter. Exponential backoff with jitter significantly reduces wasted retries:
import random, timedef call_with_backoff(fn, max_retry=5, base=2.0, cap=30.0):for i in range(max_retry):try:return fn()except Exception:if i == max_retry - 1:raisedelay = min(cap, base * (2 ** i)) + random.uniform(0, 1)time.sleep(delay)
In the experiment, the fourth model only moved from repeated failures to a single success after raising the backoff cap and the initial interval.
4.4 Context Management: Do Not Let the Window Become the Bottleneck
In long tasks, repeatedly reading files in full quickly crowds the context and makes the model forget earlier constraints (for example, the permission differences among the three roles). Practical points include: read in batches by directory, solidify the acceptance rules into a standalone checklist file, and periodically write key conclusions into an in-project progress document, so later turns read a summary instead of the full text.
5. Reusable Practices
- Use “full-run success rate” rather than “single-response speed” as the primary selection metric, supplemented by action turns and tool failure rate;
- Configure exponential backoff with jitter for the framework’s retry policy, and set a total time cap to avoid endless spinning;
- State the acceptance checklist explicitly in the task description so the model can self-check instead of relying on manual follow-up;
- For complex state, prefer a persistable approach (local storage or a lightweight data file) and verify with a refresh after completion;
- For high-uncertainty steps, adopt a “validate in small steps, then advance in batches” rhythm to push rework cost as low as possible.
6. Conclusion
The low-cost, high-speed positioning of a model describes only one facet of its capability. Real agent efficiency is the product of model decision quality, the framework toolchain, service stability, and context management working together. Only by locking down the variables and breaking the metrics into fine detail can you see where efficiency actually comes from, and this is the evaluation habit any team should build first when introducing agents to engineering tasks.
