Multi-Model Agent Benchmark: Where the Efficiency Gap Comes From

    This article presents a single-variable benchmark that holds the agent harness, task, context configuration, browser environment, and acceptance rules constant while swapping only the underlying reasoning model. It breaks down the four real sources of the efficiency gap—action steps, structured output and tool-call stability, service stability with retry backoff, and context management—and closes with a reusable evaluation design based on total elapsed time, action steps, tool-call failure rate, and retry counts. Readers will learn why "cost per completed task" is a better selection criterion than raw model quality.

    1. Experiment Background: Why Swapping Only the Model Is a Cleaner Comparison

    In agent engineering, a common mistake is treating “did it finish the task” as the only evaluation dimension. A final screenshot reflects the end state, but what actually determines production readiness is the time consumed, the number of calls made, and the cost of recovering from failures.

    This article therefore uses a single-variable design: the harness is fixed to the same agent orchestration system, while the task goal, input materials, context window configuration, browser operation environment, and acceptance rules all stay identical. Only the underlying reasoning model is replaced. Four model tiers in the mid-size parameter range are compared, covering three orientations: general reasoning, long context, and vision-enhanced.

    The value of this design is that it strips out framework differences and attributes efficiency variance to the model’s own behavioral characteristics. In the previous round, with the model fixed and four harnesses swapped, the best harness completed the most complex creative collaboration system build in about seventeen minutes. With the variable reversed in this round, the best model also finished on the order of seventeen minutes, while the slowest tier accumulated nearly ninety minutes. All four runs eventually passed acceptance, yet the process data differed enormously.

    2. Results Overview: Elapsed Time and Retry Profiles

    Model Tier Full Rerun Automatic Retries Cumulative Time to First Success
    Vision-enhanced No 0 ~17 minutes
    General reasoning A Yes (first round failed) 1 full rerun ~72 minutes
    General reasoning B No 3 internal retries ~88 minutes
    Long context Yes (default policy lost twice) Succeeded after backoff adjustment ~64 minutes

    These numbers are not a ranking of model “intelligence”; they are a profile of cost per unit of task. One model may have high reasoning quality yet trigger repeated retries because its tool-call formatting is unstable; another may have mediocre single-round quality but a high first-pass success rate, so its total elapsed time is actually shorter.

    3. Four Real Sources of the Efficiency Gap

    3.1 Action Steps

    Agents complete tasks through an observe–decide–act loop. For the same goal, if a model tends to split a large task into more small steps, the rising step count brings context accumulation, orchestration overhead, and stacked latency. In testing, the slowest group was not the slowest per round—it had the most rounds.

    3.2 Tool-Call and Structured Output Stability

    Browser operations, file writes, and script execution all require the model to emit output that strictly matches an agreed structured format. Any format deviation causes a parse failure and triggers a retry. Constrained prompting plus a validation layer reduces the loss:

    1. Require the model to output exactly one JSON object per round:
    2. {"action":"click|type|eval|done","selector":"...","value":"...","reason":"..."}
    3. The outer orchestrator validates against the schema first; on failure it returns the error reason instead of restarting the whole round.

    3.3 Service Stability and Retry Backoff

    The long-context model failed twice in a row under the default retry policy, which shows that fixed-interval retries easily stack with upstream rate limiting. Switching to exponential backoff with jitter succeeded:

    1. import random, time
    2. def call_with_backoff(fn, max_retry=5):
    3. for i in range(max_retry):
    4. try:
    5. return fn()
    6. except TransientError:
    7. time.sleep(min(2 ** i, 30) * (0.5 + random.random()))
    8. raise RuntimeError("exhausted")

    3.4 Context Management

    The longer the context, the higher the risk of attention dilution and truncation. The effective approach is layering: keep system constraints resident, update task state with a rolling structured summary, and retain only summaries and key fragments of historical tool output, avoiding repeatedly feeding in large blocks of raw page content.

    4. A Reusable Evaluation Design

    1. Fix the harness and the acceptance script; acceptance must be a set of automatically decidable assertions, not visual inspection by a human.
    2. Record four metrics: total elapsed time, action steps, tool-call failure rate, and retry count.
    3. Run each model tier at least three times and take the median, so a single fluctuation does not cause a misjudgment.
    4. Separate “full rerun” from “intra-round retry”—their cost magnitudes are completely different.
    5. Keep complete trajectory logs so failures can be attributed afterward to a specific step.

    5. Engineering Takeaways

    A low-cost or high-speed product positioning describes only one facet of capability. Real agent efficiency is determined jointly by action steps, tool-call stability, service availability, and context management. Selection should be guided by total cost per completed task, with retry backoff, structured validation, and context compression treated as default engineering infrastructure. On the cloud platform side, container platforms can host execution sandboxes, log services can retain trajectories, and monitoring and alerting can track failure rates, forming a closed optimization loop.