Benchmarking Multi-Model AI Agents: Why Efficiency Gaps Come From Retries

    When multiple large language models complete the same complex product task inside a fixed execution framework, their completion times can differ by several times. This article breaks down the test variables, action rounds, tool calls, and retry strategies, then provides a reusable acceptance and observability methodology to help teams evaluate real AI agent efficiency.

    Benchmarking Multi-Model AI Agents: Why Efficiency Gaps Come From Retries

    Summary: With a fixed execution framework in place, multiple large models can show several-fold differences in the time they take to complete the same complex product task. This article breaks down the test variables, action rounds, tool calls, and retry strategies, and provides a reusable acceptance and observability methodology to help teams evaluate real agent efficiency.

    1. Why Fix the Execution Framework and Swap Only the Model

    In agent practice, many teams treat “which model is faster” as a conclusion, but this kind of comparison often mixes in multiple variables such as the execution framework, tool-chain paths, and context management strategy. To reach a credible conclusion, the first step is to ensure there is only one free variable.

    This experiment fixes the execution framework as the same agentic code execution environment. The task description, materials, initial context, browser capabilities, and acceptance rules all remain consistent; only the connected model is swapped. Only then can the measured differences be attributed to the model’s own planning ability, tool usage habits, and output stability.

    It is important to emphasize that the “low cost” or “high speed” positioning in a model’s spec sheet can only describe the theoretical performance of a single inference. Real agent efficiency is a system-level metric determined by the number of action rounds, tool call success rate, service stability, and the cost of managing initial context.

    2. Task Design: A Complex Product Task With No Standard Answer

    The test task is a creative studio collaboration system. The input contains only six museum open-source images, plus project members, materials, versions, and seeded comments. There is no ready-made page to copy. The purpose of this design is to test the model’s ability to build an information architecture from scratch, rather than to replicate and transplant existing work.

    The system needs to deliver five states: project overview, inspiration board, material positioning and comments, version review, and publishing preview. It also involves three roles: creative director, designer, and client. It must support material drag-and-drop, comment positioning, version switching, approval or rollback, and state persistence after refresh. This requires the model not only to write the interface but also to handle state management and permission logic.

    All four groups use the same 262K initial context, a 200K task budget, and browser automation capabilities. Desktop checks use 1440×1000, and mobile checks use 390×844. Each group saves a first-version screenshot, allows only one round of fixes, and must ultimately leave behind code, screenshots, logs, a retrospective, and a metrics file. This acceptance rule effectively avoids the false positives caused by “looking only at the effect screenshot.”

    3. Four-Group Comparison: Time Differences Come From Retries and Round Counts

    Group Completion First-Success Time Key Difference
    Model A Passed on the first attempt ~17 minutes Fewest action rounds, almost no retries
    Model B Re-ran after the first failure ~1 hour 12 minutes Included one full re-execution
    Model C Completed after internal automatic retries ~88 minutes 3 automatic retries, no full re-run
    Model D Completed after fallback avoidance ~1 hour 4 minutes Default retries failed twice in a row

    All four groups eventually completed the task, but the process metrics are more valuable than the effect screenshots. The fastest group took only 17 minutes; the slowest group ran for 88 minutes with three internal automatic retries. One group’s default retry strategy failed twice in a row, and only after switching to a fallback avoidance strategy did it complete, with a cumulative time of about 1 hour 4 minutes.

    This shows that for complex tasks, a model’s price tag cannot be directly equated with agent output efficiency. What truly widens the gap is whether a re-run is needed, how many retries occur, whether tool calls are stable, and whether the initial context can be used effectively.

    4. The Engineering Meaning of the Four Output Styles

    Model A produced a light editorial style with a pale color scheme and the lightest structure. Project status, materials, and member relationships can be read at a glance. This choice reflects relatively strong information layering ability and is one reason its round count is lower.

    Model B uses a black-and-gold with off-white combination, with underlined headings, a permission matrix, and approval states forming a unified museum editorial style. Among the four groups, it has the strongest brand feel and mobile consistency. This shows it is more mature in visual rule adherence, but the full re-run also brought extra time cost.

    Model C chose a dark professional workspace, placing navigation, project progress, roles, deliverables, approvals, and material boards into the same system, with the highest information density and engineering completeness. But its time was the longest, mainly due to multiple automatic retries.

    Model D uses an art museum archive style, with black underlined headings, an off-white base, thin-line tables, and work thumbnails. Its output is usable, but the default retry strategy is not effective enough; only after manually adjusting the avoidance parameters does it produce stably.

    5. Reusable Retry and Fallback Strategies

    In real engineering, retries should be treated as a system capability rather than a behind-the-scenes move to hide errors. It is recommended to divide them into three types: full re-runs, single-step retries, and tool-layer automatic retries, and record the time for each separately.

    1. retry_policy:
    2. max_attempts: 3
    3. backoff: exponential
    4. initial_delay_ms: 1000
    5. max_delay_ms: 16000
    6. retry_on:
    7. - timeout
    8. - transient_tool_error
    9. stop_on:
    10. - validation_failed
    11. - permission_denied

    The fallback strategy should distinguish retryable errors from non-retryable errors. Timeouts and transient tool failures can be retried; acceptance rule failures and insufficient permissions should stop immediately and output diagnostic logs. Otherwise, retries will only amplify costs.

    6. Best Practices and Conclusion

    First, when evaluating models, you must fix the execution framework, task, initial context, browser, and acceptance rules, changing only one free variable. Second, record the first-success time, total time, retry count, tool call success rate, and initial context usage rate at the same time. Finally, fix acceptance as a five-piece set of code, screenshots, logs, retrospective, and metrics, avoiding reliance on the final effect screenshot alone.

    The conclusion is that a low-cost or high-speed model positioning can only describe part of its capability. Real agent efficiency also depends on action rounds, tool calls, service stability, and context management. For enterprise deployment, you can combine general capabilities such as container platforms, log services, and monitoring alerts from Baidu AI Cloud to build an observability system, upgrading model evaluation from single inference to a reproducible systems engineering problem.