Multi-Model Agent Benchmark: Efficiency Differences Show Up in Retries

    This article presents a controlled benchmark comparing lightweight AI agents across different underlying models while keeping the execution framework, task, inputs, and acceptance rules fixed. All four models delivered a working system, but process metrics revealed major efficiency gaps driven by retries, action steps, tool-call success rates, and context management. The article explains why completion time alone is misleading, shares a reusable evaluation framework with practical thresholds, and shows how exponential backoff with jitter can improve reliability more cost-effectively than switching models.

    1. Experimental Design: Isolating the Model as the Only Variable

    When evaluating large language model (LLM) agents, one of the most common mistakes is mixing “model capability” with “framework capability.” To produce reusable conclusions, the variables must be narrowed down first. This experiment used a reverse-control approach: the execution framework, task description, input assets, context length, browser automation capability, and acceptance rules were all fixed, and only the underlying model was swapped.

    The candidate models were limited to lightweight tiers below 300B parameters, with one additional long-context tier included as a horizontal reference. The goal was not to rank the models, but to observe how the same execution logic behaves across different models.

    The shared constraints were:

    • Context window: 262K; task budget: 200K;
    • Tool environment: unified browser automation (page operations, screenshots, DOM reading);
    • Acceptance viewports: desktop 1440×1000 and mobile 390×844;
    • Deliverables: source code, first-version screenshots, execution logs, review records, and metrics files;
    • Fix policy: only one repair round allowed, preventing “endless polishing” from masking real efficiency.

    The task itself was a complex product challenge: build a collaboration system for a creative studio. The only inputs were 6 public stock images, a member list, asset metadata, version records, and seed comment data, with no existing pages to reuse. The model had to derive five state pages on its own: project overview, inspiration board, asset location and comments, version approval, and publish preview. It also had to support permission differences across three roles—creative director, designer, and client—including asset drag-and-drop, comment anchor positioning, version switching, approval and rejection, with state preserved after refresh.

    2. Results: All Four Models Finished, but the Process Was Completely Different

    All four groups delivered a runnable system. The real differences were hidden in the process metrics:

    • Model A: finished in 17 minutes, with no full rerun;
    • Model B: failed on the first attempt, 1 hour 12 minutes total including the rerun;
    • Model C: no full rerun, but triggered 3 internal automatic retries, 88 minutes total;
    • Model D: failed twice consecutively under the default retry policy, then finished after adjusting backoff parameters, 1 hour 04 minutes total to first success.

    Visually, the four groups landed in different directions: a light editorial style, a black-gold and off-white museum editorial style, and a dark professional workbench, among others. The dark workbench approach had the highest information density and engineering completeness, integrating navigation, progress, roles, deliverables, approval, and the asset canvas into one system. The black-gold approach performed best in brand feel and mobile consistency. The light approach had the lightest structure, with the most readable states and member relationships.

    This highlights a key fact: final screenshots only reflect aesthetic direction, not engineering efficiency.

    3. Why “17 Minutes” Does Not Mean “Highest Efficiency”

    Treating completion time as the only metric leads to the wrong conclusion. Real agent efficiency is determined jointly by at least four factors.

    1. Action Steps

    Each time a model completes an “observe–decide–call tool” loop, that is one step. Complex frontend tasks typically require 40–120 steps. Too many steps mean the context is repeatedly written to, attention is diluted, and the model is more likely to “forget early constraints” later on.

    2. Tool-Call Success Rate

    Browser automation is where problems surface most easily. Invalid selectors, incorrect wait timing, and unsynchronized state can all waste a call. When the success rate drops from 90% to 70%, total time rises nonlinearly.

    3. Service Stability and Retry Strategy

    Retries are not free. Default policies often use fixed intervals, hitting rate limits or timeouts repeatedly in a short window. A more reasonable approach is exponential backoff with jitter:

    1. import random, time
    2. def call_with_backoff(fn, max_retry=5, base=1.0, cap=16.0):
    3. for attempt in range(max_retry):
    4. try:
    5. return fn()
    6. except Exception as e:
    7. if attempt == max_retry - 1:
    8. raise
    9. sleep = min(cap, base * (2 ** attempt)) + random.uniform(0, 0.5)
    10. time.sleep(sleep)

    In this experiment, merely adjusting the backoff parameters allowed a model that had failed twice consecutively to converge smoothly, at a lower cost than switching models.

    4. Context Management

    A 200K task budget means active compression is required. Practical strategies include: folding long logs into summaries, moving completed file contents out of the main context, and referencing asset metadata structurally instead of pasting it in full.

    4. A Reusable Evaluation Framework

    Teams are advised to replace “time-to-completion rankings” with the following metrics table:

    Metric Meaning Reference Threshold
    First-attempt success rate Completed without a full rerun ≥ 70%
    Average action steps Number of loops to complete the task Lower is better
    Tool success rate Effective calls / total calls ≥ 85%
    Retry amplification factor Time with retries / time without retries ≤ 1.5
    Context usage rate Peak usage / budget ≤ 80%

    For model selection, run a small-scale benchmark with 3–5 representative tasks first, then decide whether to move to production. For cost-sensitive scenarios, a lightweight model paired with a stable framework and reasonable backoff is often more cost-effective than simply pursuing a larger model.

    5. Conclusion

    The most important output of this controlled experiment was not any set of screenshots, but a judgment: a low-cost or high-speed model positioning only describes part of the capability. Real agent efficiency depends on the multiplicative effect of action steps, tool-call success rate, service stability, and context management. On the engineering side, retry backoff, context compression, and acceptance automation should be built as default infrastructure. If deliverables such as logs, screenshots, and metrics need to be carried, general cloud capabilities like object storage, logging services, and monitoring alerts can be combined to make the evaluation process itself observable and reproducible.