Agent Benchmark Comparison: Where Model Efficiency Really Diverges

    This article presents a controlled benchmark comparing four cost- and throughput-oriented models and one long-context model within a fixed agent framework. It shows that all groups eventually passed acceptance, but end-to-end time varied widely, and explains the four real sources of efficiency gaps: action rounds, tool-call quality, service stability and retry backoff, and context management. It also outlines a reusable evaluation method for building your own agent benchmark.

    1. Starting Point of the Experiment: Isolating the Model as the Only Variable

    In agent evaluation, a persistent mistake is treating raw model benchmark scores as a proxy for agent delivery efficiency. Real agent tasks are not a single question-and-answer exchange; they are a multi-turn loop of understanding the goal, planning steps, calling tools, observing results, correcting deviations, and passing acceptance. To measure differences in model capability, every variable except the model must be held constant.

    The design principles of this comparison can be summarized in four points:

    • Fixed execution framework: All groups use the same agent execution framework, so scheduling policies at the framework layer do not distort the results.
    • Fixed tasks and materials: Input requirements, reference materials, and the initial context window contents are identical.
    • Fixed tool environment: Tool permissions and availability, such as browser, file read/write, and terminal execution, are the same.
    • Fixed acceptance rules: Success is determined solely by an automatically verifiable acceptance checklist, not by subjective impressions.

    The experiment covers four models with similar parameter counts that are positioned for low cost and high throughput, plus one model positioned for long context as a horizontal reference. This article does not rank specific products. Instead, it uses these comparisons to examine what agent efficiency is actually made of.

    2. Results Overview: All Completed, but the Process Differed Greatly

    All four models eventually passed acceptance, but elapsed time and process volatility differed significantly:

    Group Full rerun Internal automatic retries Cumulative time to first success
    Group A No 0 ~17 minutes
    Group B Yes (1 time) Several ~1 hour 12 minutes
    Group C No 3 ~88 minutes
    Group D Default policy failed twice in a row; succeeded after adjusting backoff Multiple ~1 hour 04 minutes

    The most valuable part of this data is not the final screenshot but where the time went. All groups completed the task, yet Group A advanced almost in a straight line, while the other three spent much of their time on retries after failures, state rollback, and context rebuilding.

    3. Four Real Sources of Efficiency Differences

    3.1 Action Rounds: The Real Cost Unit

    Agent cost should not be estimated along a single token dimension. A more realistic measure is action rounds, where each round contains one model inference plus several tool calls. If a model plans at too coarse a granularity, a single round produces a large output with a high error rate, triggering extensive rework. If it plans at too fine a granularity, the number of rounds balloons. Group A’s advantage was clear task boundaries within each round and a noticeably higher success rate per tool call.

    An illustrative way to define the metrics:

    1. metrics = {
    2. "action_rounds": 0, # Number of model inference rounds
    3. "tool_calls": 0, # Number of tool calls
    4. "tool_failures": 0, # Number of failed tool returns
    5. "retries": 0, # Number of framework-level retries
    6. "wall_clock_sec": 0, # End-to-end elapsed time
    7. }

    3.2 Tool-Call Quality: Failure Rate Is More Damaging Than Speed

    Tool-call failures are often not because the model cannot write code, but because parameter structures are invalid, paths do not exist, or state preconditions are unmet. A single failed tool call creates three costs: rolling back the result, feeding the error message back into the context, and forcing the model to replan. Group C’s three automatic retries and Group D’s consecutive failures were essentially tool-layer friction.

    Engineering improvements include adding strict parameter schema validation to tools, compressing long error logs into structured summaries before feeding them back, and distinguishing idempotent operations from write operations.

    3.3 Service Stability and Retry Backoff Strategy

    Group D exposed the most typical problem: the default retry strategy lacked enough backoff space during consecutive failures, so two attempts landed within the same unstable window. It succeeded only after the backoff was changed to exponential with added random jitter. A general practice:

    1. base = 1s, factor = 2, jitter = 0~0.5s, max_attempts = 5
    2. wait for attempt n ≈ min(base * factor^(n-1), cap) + random(0, jitter)

    The key point is that retries must distinguish retryable errors, such as rate limiting, timeouts, and 5xx responses, from non-retryable errors, such as invalid parameters and insufficient permissions. The latter should fail immediately and be handed to the planning layer for correction, rather than wasting time.

    3.4 Context Management: The Hidden Tax of Long Tasks

    The longer the context, the more diluted the attention on effective instructions becomes. Early constraints are easily forgotten, and acceptance items get missed. Practical approaches include fixing the acceptance checklist as a non-compressible system-level constraint, summarizing and compressing historical tool outputs, and re-injecting key goal fragments at the beginning of each round.

    4. A Reusable Evaluation Method

    Teams should build their own agent benchmark instead of relying on a single demo:

    1. Fix the framework and tool versions, replacing only the model to ensure comparability.
    2. Record process metrics, not just success or failure: action rounds, tool failure rate, retry count, and end-to-end elapsed time.
    3. Repeat runs and take the distribution, focusing on P50 and P90, because the long tail is the source of production incidents.
    4. Automate acceptance, using scripts to determine whether outputs meet hard conditions.
    5. Calculate cost end to end, including the compute consumed by failed retries in total cost.

    5. Conclusion

    Positioning such as low cost and high throughput describes only one facet of model capability. Agent efficiency is the product of model planning ability, tool ecosystem maturity, service stability, and context management; a weakness in any one link is amplified by the retry mechanism into time cost. Selection should center on end-to-end successful elapsed time and long-tail stability, and general capabilities on cloud platforms such as Baidu AI Cloud, including log services, monitoring and alerting, and containerization, can turn every agent action into an observable, traceable, and optimizable engineering object.