Agent Efficiency Benchmark: Multi-Model Comparison Under a Fixed Framework

    This article presents a controlled benchmark comparing four LLMs running inside the same agent harness on an identical multi-page application task. It shows why benchmark scores fail to predict end-to-end agent efficiency, breaks down per-model runtime and retry behavior, identifies three root causes of performance gaps, and outlines a reusable evaluation methodology for teams that need reproducible results.

    1. Background: Why Model Benchmarks Fail to Predict Agent Efficiency

    In real agent applications, the “fast” and “slow” experience reported by users often has little to do with the inference speed or parameter count advertised at launch. A common mistake is treating single-response throughput as end-to-end task efficiency. In practice, an agent completing a complex engineering task must go through requirement understanding, solution planning, multiple rounds of tool calls, state persistence, self-verification, and failure recovery. A retry or rollback at any single stage can significantly increase total elapsed time.

    The core design principle of this comparison is the single-variable rule: the execution framework (harness) is fixed to the same agent orchestration system, while the task description, input assets, context window configuration, browser automation environment, and acceptance rules remain identical. Only the underlying LLM is swapped. The four models compared all belong to the small-parameter, cost-efficient or high-speed category, with one long-context model included as a horizontal reference.

    2. Experimental Design: Keeping the Results Trustworthy

    For the comparison to mean anything, the uncontrollable factors must be locked down first.

    1. Fixed task: Every model faces the same complex product brief — build a creative studio collaboration system. The only inputs are a few openly licensed images, a member list, an asset inventory, version records, and seeded comment data. There are no existing pages to imitate.
    2. Fixed capability boundary: The system must implement five core state pages (project overview, inspiration board, asset location and comments, version approval, publish preview) and support permission differences across three roles: creative director, designer, and client.
    3. Fixed interaction complexity: Asset drag-and-drop, comment anchor positioning, version switching, and approve/return actions must all genuinely work, and state must survive a page reload. This forces the model to design data persistence on its own.
    4. Fixed acceptance rules: A unified automated script and manual review decide jointly. The task counts as complete only when every state and interaction passes.

    The acceptance check logic can be abstracted as:

    1. def verify(app):
    2. for role in ["director", "designer", "client"]:
    3. session = login(app, role)
    4. assert session.can("drag_asset")
    5. assert session.can("switch_version")
    6. assert app.reload_keeps_state()
    7. return True

    3. Process Data: The Real Gap Is in Retries

    All four models eventually completed the task, but the process differences were far larger than the outcome differences.

    • Model A (vision-oriented, high speed): Passed on the first attempt in 17 minutes, with no full rerun and a high first-hit rate on tool calls.
    • Model B (general-purpose, high speed): Failed the first run, triggered a full rerun, then succeeded, for a cumulative time of about 1 hour 12 minutes.
    • Model C (ultra-fast, lightweight): No full rerun, but 3 automatic internal retries. Cumulative execution time was 88 minutes, spent mainly on correcting local tool calls.
    • Model D (long-context reference): Failed twice in a row under the default retry policy, and completed only after switching to an extended backoff strategy, reaching first success at about 1 hour 04 minutes.

    This data reveals a key fact: total time ≈ effective reasoning time + failure recovery time. When a model is positioned around “low cost” or “high speed”, a single generation may be fast, but if tool call arguments are unstable and state management is sloppy, failure recovery time multiplies.

    4. Three Root Causes of the Efficiency Gap

    4.1 Action Rounds and Tool Call Quality

    Agent efficiency depends first on how many rounds are needed to converge. High-quality models tend to generate the complete file structure and dependency relationships in the planning stage, reducing back-and-forth probing. Others fall into a “generate — error — patch” loop, where every round consumes context and a network round trip.

    4.2 Service Stability and Retry Strategy

    A retry is not simply “try again”. Fixed-interval retries tend to hit the same wall repeatedly during service jitter, while exponential backoff with jitter significantly improves the first-attempt success rate. In this experiment, the long-context model completed only after its backoff parameters were adjusted, which shows that the retry strategy is itself an efficiency variable. An evaluation harness should include backoff configuration in the control group.

    4.3 Context Management and State Persistence

    Complex page tasks require the model to remember role permissions, asset IDs, and version numbers across a long workflow. Poor context compaction leads to “forgetting constraints”, which causes acceptance failures and full reruns. A reusable practice is to have the model explicitly maintain a lightweight state manifest:

    1. {
    2. "roles": ["director", "designer", "client"],
    3. "assets": [{"id": "a1", "x": 120, "y": 80}],
    4. "version": "v3",
    5. "persisted": true
    6. }

    5. A Reusable Evaluation Methodology

    For teams that want to reproduce this kind of comparison in their own environment, four principles apply:

    1. One framework only: Fix the orchestration system, browser environment, and acceptance script to avoid multi-variable contamination.
    2. Layered metrics: Record first-attempt success rate, number of full reruns, number of internal automatic retries, tool call failure rate, and total duration — not just the final screenshot.
    3. Explicit strategies: Write retry counts, backoff curves, and context limits as configurable items, and include them in the experiment record.
    4. Scenario-based conclusions: State clearly whether the priority is first-attempt success rate or average response latency. Selection conclusions for different businesses may be the opposite.

    6. Conclusion

    Parameter count and advertised speed describe only one facet of capability. Real agent efficiency is determined jointly by action rounds, tool call stability, service retry strategy, and context management. For developers, model selection should center on end-to-end task completion time and first-attempt success rate. For platform providers, offering configurable retries and observable call traces often improves the final experience more than simply increasing generation speed.