Multi-Model AI Agent Benchmark: The Efficiency Gap Is in the Process

    This article presents a controlled benchmark comparing four AI agents built on different cost-effective large language models, with the execution framework, task inputs, environment, and acceptance rules held constant. All four models passed the end-to-end acceptance test, yet total runtime ranged from about 17 minutes to 88 minutes, with retry counts as high as 85. The analysis traces these efficiency differences to four sources: action steps, tool-call correctness, service stability and retry strategy, and context management. It also outlines a reusable evaluation method and practical guidance for model selection, including layered scheduling of a strong planning model with a smaller execution model.

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

    A common mistake when evaluating AI agent systems is changing several variables at once: swapping the model while also changing the execution framework, the prompts, and the acceptance criteria. The resulting conclusions cannot be attributed to any single factor. The controlled experiment discussed here applies the inverse approach.

    In the previous round, the underlying model was fixed while four different agent execution frameworks (harnesses) were substituted to observe how the same model behaved under different scheduling strategies. This round reverses the variables: the execution framework is fixed, and the task description, input materials, context window configuration, browser operation environment, and acceptance rules are all kept identical. The only variable is the large language model being used. All models in the comparison belong to the cost-effective category with relatively small parameter counts (roughly under 300B), with one long-context model added as a horizontal reference.

    The value of this design is that it separates model capability from engineering capability. When the framework, toolchain, and acceptance scripts remain unchanged, differences in elapsed time, retry counts, and failure locations can only come from the model’s own decision quality, instruction adherence, tool-call stability, and server-side availability.

    The task itself is a fairly complex creative collaboration system build, involving multi-role content generation, state synchronization, UI rendering, and end-to-end acceptance. It cannot be completed in a single question-and-answer turn and requires multiple rounds of tool calls and self-correction.

    2. Results Overview: Same Finish Line, Very Different Paths

    All four models eventually passed acceptance, but the process data diverged sharply:

    • Model A: finished in about 17 minutes, with no full-run reruns and a compact action sequence.
    • Model B: failed on the first attempt; about 1 hour 12 minutes in total once the rerun was counted.
    • Model C: no full-run rerun, but 3 automatic retries inside the framework, totaling about 88 minutes.
    • Model D: failed twice in a row under the default retry policy, then completed after adjusting the backoff parameters; about 1 hour 4 minutes to first success, with as many as 85 retries.

    The most notable figures here are not total elapsed time but the retry count and where failures occurred. The gap between 17 minutes and 88 minutes is more than fivefold, yet the theoretical compute cost consumed by the two may be nearly the same. This directly overturns the intuition that a low-priced model necessarily means low total cost.

    3. Four Real Sources of the Efficiency Gap

    3.1 Action Steps

    An agent’s elapsed time is roughly proportional to effective action steps multiplied by per-step latency. Weaker models often take only half a step per round: read one file, think, then read a second file, which inflates the number of rounds. Stronger models tend to issue multiple tool calls in parallel within the same round, compressing read, modify, and verify into fewer round trips.

    Illustrative pseudocode can express this difference:

    1. # Inefficient path: serial probing
    2. for step in plan:
    3. content = read(step.path) # 1 round
    4. decide(content) # 1 round
    5. write(step.path, patch) # 1 round
    6. # Efficient path: batch in parallel + one verification
    7. results = parallel([read(p) for p in paths])
    8. patch = apply(results)
    9. verify = run_acceptance() # roll back only on failure

    3.2 Tool-Call Correctness

    Tool-call errors are the most expensive hidden failures: parameter formats that do not match, mistyped paths, ignored return codes, and continuing with subsequent steps after a failure. These errors do not surface immediately; they erupt all at once during acceptance, forcing the model to redo an entire round. The first-attempt failure and the two consecutive failures seen in the experiment basically stem from this.

    3.3 Service Stability and Retry Strategy

    The figure of 85 retries is essentially not a matter of model intelligence but the combined result of server-side rate limiting, timeouts, and backoff strategy. Default retries often use a fixed short backoff interval, which only accelerates failure when rate limiting persists; switching to exponential backoff with jitter significantly improved the success rate. The engineering recommendation is:

    1. delay = min(base * 2 ** attempt, cap) + random_jitter

    Also set a maximum number of attempts and a circuit-breaker threshold to avoid ineffective retries consuming the entire time budget.

    3.4 Context Management

    A long context is not the same as an effective context. As conversation rounds increase, irrelevant historical tool outputs dilute critical constraints, and the model begins to forget acceptance rules, showing repeated work and reverting completed changes. Practical approaches include: producing structured summaries of tool outputs, keeping only the fragments relevant to the current subgoal, repeatedly injecting the acceptance criteria as a fixed block, and explicitly checking off completed items.

    4. A Reusable Evaluation Method

    To run a similar comparison in your own business, fix the following elements and vary only one:

    1. Task and acceptance scripts: replace manual visual inspection with end-to-end checks that can be judged automatically.
    2. Materials and initial context: the same input and the same directory structure.
    3. Execution environment: the same container image, the same browser environment, and the same network conditions.
    4. Metrics recorded: total elapsed time, action steps, tool-call count, failure count, retry count, time to first success, and peak context usage.

    Among these metrics, time to first success and retry count are more diagnostic than total elapsed time: the former reflects the model’s upper-bound capability, while the latter reflects stability and the quality of engineering support.

    5. Practical Conclusions

    First, model positioning labels (low cost, high speed, small parameter count) describe only part of the capability and cannot predict real efficiency in agent scenarios. Second, total cost should be measured by time budget and retry overhead together; the cost of a single full-run rerun may far exceed the savings on unit price. Third, framework-side retry and backoff strategies and context compression mechanisms are deterministic gains that can be reused across models and should be prioritized. Fourth, selection should be based on automated acceptance results for your own tasks, not on general leaderboards.

    The practical recommendation for engineering teams is to first build a task set with automated acceptance and a metrics dashboard, then connect candidate models one by one under the same framework and let data decide the combination; when necessary, adopt layered scheduling with a strong model for planning and a small model for execution to balance cost and stability.