Multi-Model Agent Benchmark: Efficiency Gaps Come From Retries

    This article compares four small, low-cost or high-speed models, plus a long-context reference model, on the same end-to-end engineering task under a fixed agent harness. All models completed the task, yet total time differed by roughly 4x. The analysis breaks the gap down into action turns, tool-call quality, service stability and retry strategy, and context management, then offers a reusable evaluation method and an engineering tuning checklist.

    1. Background and Problem Definition

    When an AI agent handles end-to-end engineering work, “can the model build it?” is no longer the only question. What matters more is this: given the same tool environment, the same context budget, and the same acceptance criteria, how much time, how many actions, and how many failed retries does each model need to finish the same task.

    The experiment design is straightforward: fix the execution harness and swap only the underlying model. This removes “harness capability” as a variable and exposes how each model actually behaves on a real task. The task was a moderately complex creative collaboration system with multiple pages, multi-role interactions, and verifiable feature points. Assets, context window, browser environment, and acceptance rules were identical across runs.

    Four of the compared models belong to the small-parameter, low-cost or high-speed category, with one long-context model included as a horizontal reference. The final result has a counterintuitive trait: all four completed the task, but process cost differed by several times.

    2. Key Results: Completion Is the Baseline, Process Cost Is the Divider

    Model category (neutralized) Full rerun? Retry behavior Time to first success (cumulative)
    High-speed vision model No No significant retries ~17 minutes
    General Flash-type model A Yes (1 failure) Full rerun after failure ~1 hour 12 minutes
    General Flash-type model B No 3 internal automatic retries ~88 minutes
    Long-context reference model No (after strategy adjustment) Default strategy failed twice in a row; succeeded after extended backoff ~1 hour 4 minutes

    The core message in this data: “low cost / high speed” is only part of a model’s positioning. Real agent efficiency is determined by four variables together — action turns, tool-call quality, service stability, and context management strategy.

    3. Why “All Completed” but Time Differs by 4x

    3.1 Action Turns: The Main Amplifier of Agent Cost

    Agent execution is not a single inference. It is a loop of observe, decide, call a tool, observe again. If a model tends to probe in small steps, a single task may take dozens of turns; if it tends to generate larger-granularity changes in one shot, turn count drops significantly. More turns bring a triple amplification: token cost from repeatedly injected context, fixed latency for network and scheduling on each turn, and a higher probability of accumulated errors.

    3.2 Tool-Call Quality: Failures Are Often “Wrong Call,” Not “Can’t Code”

    Common failure modes include invalid parameter structures, wrong path or environment assumptions, write scopes that are too large and fail validation, and repeatedly tweaking the same error without changing strategy. The high-speed model’s advantage often shows up as “one call, one hit.” Models that need multiple automatic retries usually burn time at the tool-protocol layer rather than the code-logic layer.

    3.3 Service Stability: Retry Strategy Is a Hidden Time Sink

    Default retries are usually a fixed count at fixed intervals. When the backend hits rate limits or transient unavailability, fixed intervals keep hitting the wall at the worst moments. Extended backoff (exponential backoff plus jitter) works because it spreads retries across a longer time window and avoids congestion peaks. If you evaluate models without recording retry counts and backoff strategy, the resulting timing data is nearly impossible to reproduce.

    3.4 Context Management: Long Context Does Not Equal Efficiency

    A long-context model can hold more history, but without compression and summarization, historical noise dilutes attention and causes decision drift. The efficient approach is layered context: task constraints stay resident, completed facts are summarized, and failed attempts keep only conclusions and lessons.

    4. A Reusable Evaluation Method (Ready to Apply)

    1. Single-variable principle: swap only the model; fix the harness, assets, browser, acceptance script, and timeout settings.
    2. Layered metrics: do not record only total duration. At minimum, collect action turns, tool-call count, failed-call ratio, retry count, time to first success, and acceptance pass rate.
    3. Repeated runs and interval reporting: single-run variance is high. Run at least 3 times and report the median and range.
    4. Failure attribution coding: classify failures into protocol errors, environment-assumption errors, logic errors, and service unavailability, so improvement directions are easy to locate.

    An illustrative metric collection structure:

    1. {
    2. "run_id": "exp-001",
    3. "model_slot": "A",
    4. "turns": 42,
    5. "tool_calls": 57,
    6. "tool_failures": {"protocol": 2, "env": 1, "logic": 0},
    7. "retries": 0,
    8. "first_success_seconds": 1015,
    9. "acceptance": "passed"
    10. }

    5. Engineering Tuning Checklist

    • Retries and backoff: exponential backoff with random jitter, set an overall budget cap, and distinguish retryable from non-retryable errors.
    • Tighten tool contracts: strongly typed parameter validation, path allowlists, minimal write scope, so errors are caught before the call.
    • Layered context: resident constraints, progress summaries, structured storage of failure lessons.
    • Front-load acceptance: turn acceptance rules into executable checks and self-verify every turn, avoiding late-stage discovery of deviations.
    • Observability: combine log services with monitoring and alerting, and set threshold alerts on turn count and failure rate.

    6. Conclusion

    Under a unified harness and controlled conditions, models’ “completion ability” converges, and efficiency differences are mainly determined by process behavior. When selecting a model, shift the evaluation focus from parameters and positioning to an end-to-end efficiency profile: turns, call quality, stability, and context strategy. If an enterprise wants to reproduce this kind of evaluation in its own environment, it can build a repeatable evaluation pipeline on general cloud capabilities such as container platforms, object storage, and log monitoring, forming a continuously iterated model admission standard.