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

    This article presents a single-variable benchmark comparing four AI agents running on the same orchestration framework, task, and acceptance rules, with only the underlying model changed. All four models passed validation, yet total runtime varied by more than 4x. The analysis breaks down that gap across four dimensions—action steps, tool-call quality, service stability and retry strategy, and context management—and proposes a four-metric dashboard for reproducible agent evaluation, along with scenario-based model selection guidance.

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

    When evaluating AI agent execution efficiency, the most common mistake is conflating model capability with engineering framework capability. If the framework, materials, and acceptance criteria all differ, any runtime difference becomes impossible to attribute. This experiment therefore uses single-variable control:

    • The execution framework is fixed to the same agent orchestration framework (referred to below as a DSH-type framework), responsible for plan generation, tool orchestration, browser operations, and result validation.
    • The task goal is fixed: build a multi-module creative collaboration system covering requirement parsing, UI generation, interaction integration, and self-checking.
    • Materials and context window are identical, the browser environment is identical, and acceptance rules are identical (runnable, clickable, no blocking errors).
    • The only variable is the underlying model. All are lightweight or high-throughput models with fewer than 300B parameters, plus one long-context model included as a horizontal reference.

    The value of this design is that it strips the model out of the product context and turns it into a pure capability variable, making the conclusions transferable in engineering practice.

    2. Results Overview: Same Completion, Very Different Processes

    All four models passed acceptance, but their process curves were completely different:

    • Model A: completed in one pass in about 17 minutes, with almost no retries.
    • Model B: failed on the first round; about 1 hour 12 minutes total including a rerun.
    • Model C: no full-round rerun, but triggered 3 internal automatic retries; about 88 minutes total.
    • Model D: failed twice consecutively under the default backoff strategy, then succeeded after adjusting backoff parameters; about 1 hour 4 minutes to first success.

    The conclusion is clear: identical final screenshots do not mean identical process cost. An agent’s real cost hides in the number of rounds and retries.

    3. Why Runtime Differs by More Than 4x: Four Attribution Dimensions

    1. Action Steps

    Agent runtime is roughly: per-turn inference latency × number of action steps + tool execution time. If a lightweight model can produce a structured, directly executable action sequence within a single turn, the number of steps drops significantly. Conversely, if the model tends to “think and try as it goes,” steps balloon and runtime grows linearly or even superlinearly.

    2. Tool-Call Quality

    Tool calls include file reads and writes, command execution, browser clicks, and assertions. High-quality calls get parameters right on the first attempt, use correct paths, and write explicit assertions. Low-quality calls repeatedly probe the environment, re-read the same file, or write assertions that are too broad, causing false passes or false failures.

    Illustrative comparison of call structures:

    1. # Efficient mode: complete actions in a single turn
    2. {"tool":"browser.click","args":{"selector":"#submit","waitFor":"#result"}}
    3. {"tool":"assert.visible","args":{"selector":"#result"}}
    4. # Inefficient mode: multiple exploratory turns
    5. {"tool":"browser.click","args":{"selector":"button"}} # selector too broad
    6. {"tool":"browser.snapshot"} # re-observe after failure
    7. {"tool":"browser.click","args":{"selector":"#submit"}} # try again

    3. Service Stability and Retry Strategy

    Retries are not exceptions; they are the norm. What matters is whether the backoff strategy matches the failure type: rate-limit failures call for exponential backoff with jitter, while deterministic failures (such as a wrong selector) should fail fast and be corrected rather than kept waiting on backoff. The experiment’s “two consecutive failures under the default strategy, success after adjusting backoff” shows that retry parameters are themselves an efficiency variable.

    1. # Exponential backoff with jitter (pseudocode)
    2. delay = base * 2 ** attempt + random(0, jitter)
    3. if error is deterministic:
    4. fail_fast_and_replan()

    4. Context Management

    A long-context model is not inherently faster. The longer the context, the higher the per-turn inference latency, and irrelevant information dilutes instruction attention, causing action drift. The effective approach is segmented summarization: keep only observations relevant to the current subgoal, and compress the historical action log every turn.

    4. A Reusable Evaluation Method: Don’t Just Look at Total Runtime

    Teams should build a four-dimension metrics dashboard:

    • First-pass success rate;
    • Number of action steps and tool calls;
    • Retry count and retry type distribution (rate limit / deterministic / timeout);
    • Average per-turn latency and peak context usage.

    These four metric groups explain “why it is slow,” while total runtime only tells you “how slow it was.”

    5. Selection Guidance: Match by Scenario, Not by Benchmark Score

    • For scenarios that demand the shortest delivery time with a clear task chain, prioritize lightweight models with strong single-turn structured output.
    • For long-document understanding and cross-file refactoring, a long-context model can be chosen, but it must be paired with context compression.
    • For stability-sensitive production pipelines, make backoff strategy, fail-fast, and replanning configurable rather than relying on defaults.
    • If using general cloud capabilities (for example, a container platform hosting the execution sandbox, a logging service collecting call chains, and monitoring and alerting to track failure rates), these metrics can be wired directly into an observability system.

    6. Conclusion

    “Low cost” and “high speed” are just labels for a model’s positioning; they cannot predict its real efficiency in an agent pipeline. What truly determines delivery time is action steps, tool-call quality, service stability, and context management. Making the experiment single-variable and controllable, and making the metrics a four-dimension dashboard, is the reproducible, comparable, and optimizable engineering path.