Agent Efficiency Benchmark: Models, Tools, and Stability

    This article presents a controlled benchmark comparing four AI agents built on the same execution framework with only the underlying large language model swapped. It breaks down completion time, retry behavior, visual and engineering styles, and key factors behind real delivery efficiency. Readers will find practical recommendations on layered metrics, retry backoff, context management, pre-submission validation, and artifact standardization for building more reliable agent systems.

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

    When evaluating the real delivery capability of multi-turn AI agents, the most common mistake is treating model benchmark scores as engineering efficiency. To reach reusable conclusions, you first have to fix every variable except the model: the same execution framework, the same task description, the same assets and seed data, the same browser automation capability, and the same acceptance rules. This comparison experiment did exactly that. Four runs used the same agent execution framework and swapped only the underlying large language model, representing four candidates with different positioning: a long-context model that emphasizes visual understanding, two lightweight models focused on low cost and high throughput, and an extra-long-context model as a horizontal reference.

    The complexity of the task is that it is not a static page replication problem, but a creative studio collaboration system that requires state management. The input is limited to six public stock images, a member list, asset metadata, version records, and comment seed data, with no existing pages to reference. The model has to derive five core views on its own: project overview, inspiration board, asset location and comments, version approval, and publish preview. It also has to support permission differences across three roles—creative director, designer, and client—covering operations such as asset drag and drop, comment anchoring, version switching, approval, and rejection, while preserving state after a refresh.

    The unified constraints included a 262K context window, a 200K task budget, and a common browser automation toolset. Acceptance was checked in two viewports: desktop at 1440×1000 and mobile at 390×844. Each group kept a first-version screenshot, was allowed only one round of fixes, and had to leave behind code, screenshots, run logs, review records, and a metrics file. The core idea behind this design is to make process data observable, rather than looking only at the final screenshot.

    2. Results: All Four Finished, but the Process Diverged Sharply

    All four groups ultimately delivered a runnable system, and the real divergence appeared in time and stability. The first group finished in about 17 minutes with the shortest action path. The second group failed on its first run and accumulated about 1 hour 12 minutes after including a rerun. The third group did not rerun an entire round, but internally triggered three automatic retries and accumulated about 88 minutes of execution. The fourth group failed twice in a row under the default retry policy and succeeded only after adjusting backoff parameters, with the first success accumulating about 1 hour 04 minutes.

    The four groups also showed clear style differences in visual and engineering orientation. One took a light editorial style with the lightest structure, making the relationships among projects, assets, and members clear at a glance. One used a dark and off-white contrast with serif headings and a permission matrix, delivering the best brand feel and mobile consistency. One chose a dark professional workbench that integrated navigation, progress, roles, delivery, approval, and the asset canvas into a single system, with the highest information density and engineering completeness. One followed an archive-system approach, where thin-line tables and work thumbnails formed a restrained creative environment.

    3. Why a “Fast Model” Does Not Equal “Fast Delivery”

    Breaking total time into explainable factors makes the source of the gap clear:

    1. total time ≈ action turns × per-turn latency + tool call overhead + failure retry cost + context management cost

    Lightweight models have low per-turn latency and low unit price, but if the structure generated in one pass is incomplete, they trigger many supplementary turns of “read file—edit file—verify again,” and the time saved per turn is eaten back by the number of turns. Long-context models reduce the number of information compressions and read-backs, but they may consume budget on irrelevant context. The retry strategy is an invisible amplifier: the default policy gives up too early on transient errors and passes only after extended backoff, which shows that the failure is not a capability problem but a scheduling problem.

    4. Actionable Evaluation and Optimization Recommendations

    First, layer the metrics. In addition to total duration, record at least action turns, tool call counts and failure rate, first-version pass rate, fix-turn usage rate, and mobile consistency score, and avoid drawing conclusions from a single dimension.

    Second, make retries a first-class citizen. Distinguish retryable errors (rate limiting, timeouts, dependencies not ready) from non-retryable errors (constraint conflicts, path errors), use exponential backoff with jitter, and set a maximum number of turns and a budget circuit breaker:

    1. delay = min(base * (2 ** attempt) + jitter, cap)
    2. if attempt > max_attempts or budget_used > budget_limit:
    3. raise BudgetExhausted()

    Third, manage context in layers. Put task constraints, the acceptance checklist, and the directory structure in a stable prefix, move volatile logs and screenshot paths to searchable external storage, and use summaries instead of full-text read-backs.

    Fourth, move acceptance earlier. Write viewport checks, state persistence checks, and permission matrix checks as automatically executable assertions so the model can self-check before submission, which can significantly reduce fix turns.

    Fifth, standardize artifacts. Produce code, screenshots, logs, reviews, and metrics in the same batch to make horizontal comparison and regression easier.

    5. Conclusion

    A comparison experiment that swaps only the model within a unified framework shows that low cost or high throughput is only part of the capability profile. Real agent efficiency is determined jointly by action turns, tool call quality, service stability, and context management. The direction more worth investing in engineering is to make retry backoff, layered context, acceptance automation, and metrics collection into platform-level common capabilities, which can be implemented with general cloud components such as object storage, logging services, and monitoring and alerting. This turns model replacement into a low-cost configuration change rather than an uncontrollable risk event.