Multi-Model Agent Comparison: Where the Efficiency Gap Comes From

    This article compares four model profiles running the same end-to-end agent task inside a fixed harness, and shows that wall-clock speed is a poor predictor of task completion time. It breaks total runtime into decision, tool, retry, and context costs, and offers tuning advice such as eliminating full reruns and tiering retries.

    1. Why a Fast Benchmark Score Does Not Mean a Fast Agent

    When an AI agent handles an end-to-end engineering task, single-inference response speed explains only a small part of the total time. What really determines how long a task takes is the quality of the model’s decisions across multiple rounds of action: whether it picks the right tool on the first try, whether it approaches the acceptance criteria in fewer action rounds, and whether it can correct itself after an error instead of repeatedly hitting the same wall.

    A typical agent task can be abstracted as the following loop:

    1. while not accepted:
    2. observation = tool_call(action) # tool call interacts with the external environment
    3. plan = model(goal, history) # context accumulates and decisions are made
    4. if error(observation):
    5. retry(backoff) # retry and backoff strategy

    This loop means that model capability, harness capability, and external environment stability are in a multiplicative relationship: if any one of them degrades, overall efficiency collapses. The first principle of evaluation design is therefore to control variables — either fix the model and swap only the harness, or fix the harness and swap only the model. The two must not drift at the same time.

    2. Experiment Design: Narrowing the Variables to the Model Alone

    In this round of evaluation, the execution harness was kept completely fixed. The task description, input assets, context window, browser automation capability, and acceptance rules all stayed the same; only the underlying model was replaced. The four model profiles compared here represent a vision-enhanced lightweight model, a long-context general-purpose model, an ultra-fast response model, and a large context window model as a control.

    The task itself was a high-complexity product problem: build a collaboration system for a creative studio. The only inputs were a few publicly available museum collection images, a member roster, asset metadata, version history, and seed comment data — with no existing pages to imitate. The model had to derive the information architecture on its own and implement five core states: project overview, inspiration board, asset location and comments, version approval, and publish preview.

    The system also had to support permission differences across three roles — creative director, designer, and client — covering operations such as dragging assets, anchoring comments, switching versions, and approving or returning work, while ensuring that state survived a refresh. In practice, this turned a pure frontend task into an engineering task with persistence and state-machine constraints.

    The shared acceptance environment was set as follows: context 262K, task budget 200K, desktop viewport 1440×1000, mobile viewport 390×844. Each group kept a screenshot of the first version, was allowed only one round of fixes, and had to deliver code, screenshots, execution logs, review records, and a metrics file at the end.

    3. Results: Four Curves, Four Efficiency Profiles

    All four groups eventually passed acceptance, but the differences in process were far larger than the differences in outcome.

    • Vision-enhanced lightweight model: finished in about 17 minutes, with the fewest action rounds and almost no invalid calls.
    • Long-context general-purpose model: failed the first round; total time including the rerun was about 1 hour 12 minutes.
    • Ultra-fast response model: no full rerun, but the harness triggered 3 automatic retries internally, for a cumulative 88 minutes.
    • Large context control model: failed twice in a row under the default retry policy, then succeeded after the backoff parameters were adjusted, for a cumulative time of about 1 hour 04 minutes on first success.

    In terms of interface style, the fastest group chose a light editorial style with the lightest structure, where project status, assets, and member relationships could be read at a glance. The long-context group used a black-and-gold and off-white palette, serif headings, and a permission matrix, giving a more unified museum-editorial feel. This points to an important conclusion: visual completeness is not positively correlated with execution efficiency.

    4. Breaking Down Time into Four Attributable Cost Categories

    To reproduce or optimize results like these, it helps to split total time into four layers of metrics instead of looking only at wall-clock time:

    1. Decision cost: number of action rounds, share of invalid rounds, and whether the same file is read repeatedly.
    2. Tool cost: per-call tool latency, failure rate, and the waiting and timeouts in browser automation.
    3. Retry cost: number of retries, backoff curve, and whether a full rerun happens (a full rerun discards existing context and is the most expensive).
    4. Context cost: how fast history grows, how often compression or summarization is triggered, and attention dilution from long context.

    An illustrative metrics record structure:

    1. {
    2. "model_profile": "lightweight-vision",
    3. "wall_clock_sec": 1020,
    4. "action_rounds": 46,
    5. "invalid_round_ratio": 0.07,
    6. "tool_calls": 132,
    7. "tool_fail_rate": 0.03,
    8. "retries": 0,
    9. "full_reruns": 0,
    10. "context_peak_k": 210
    11. }

    5. Tuning Advice for Practitioners

    • Eliminate full reruns first. Keep resumable checkpoints and an artifact directory so that a failure becomes “continue” instead of “start over”.
    • Tier your retries. Use exponential backoff with jitter for recoverable errors; report unrecoverable errors immediately, and avoid retry volumes on the order of 85