Benchmarking AI Agent Models Under a Unified Harness: How Controlled Variable Testing Reveals Real Efficiency Differences

    Benchmark scores often fail to predict how large language models perform in real agent workflows. This article walks through a controlled variable evaluation approach: keeping the entire agent harness fixed while swapping only the underlying model. Using four sub-300B models on a complex development task, the experiment reveals that first-pass success rate, retry overhead, and end-to-end wall-clock time matter far more than raw speed or leaderboard rankings, and offers a practical multi-dimensional evaluation framework for teams choosing models for agent systems.

    Benchmarking AI Agent Models Under a Unified Harness: How Controlled Variable Testing Reveals Real Efficiency Differences

    Why Benchmark Scores and Real Agent Performance Often Don’t Match

    When building AI agent applications, many teams run into the same frustration: a model that looks faster and lighter on leaderboards turns out to be unstable—or completely unable to finish tasks—when plugged into a real automation pipeline. The reason is that evaluating agent capabilities is fundamentally different from traditional single-turn Q&A or code completion benchmarks.

    Traditional evaluations measure “the quality of a single generation,” while an agent task is a long, multi-step process that involves at least the following capabilities:

    1. Task decomposition: Can the model break a vague goal into an executable sequence of steps?
    2. Tool call quality: Are parameters constructed accurately, and are tool results handled correctly?
    3. Error recovery: When something fails, can the model retry or adjust its strategy autonomously instead of getting stuck in a loop?
    4. Context management: Over long tasks, can the model effectively maintain and use historical information?
    5. Stability: What is the variance across repeated runs, and how does the model behave when external services fluctuate?

    This means inference speed or benchmark scores alone can’t predict how a model will perform in a real agent pipeline. Getting reliable conclusions requires a more rigorous experimental method.

    The Controlled Variable Method: Fix the Harness, Change Only the Model

    In my actual projects, I use the classic controlled variable approach. The core idea is simple: treat the agent harness as a constant and the model as the only variable.

    What Is a Harness?

    The harness is the entire execution environment wrapped around the model, including:

    • Task definitions and prompt templates;
    • How materials and initial context are injected;
    • The browser operating environment and tool set;
    • Acceptance criteria for results (what counts as passing).

    The harness determines “how the model is used,” while the model determines “how it performs when used.” If both change at the same time, any observed difference in execution time cannot be attributed to anything. The experiment design must therefore guarantee that all models face exactly the same tasks, materials, browser environment, and acceptance criteria—the only difference is the underlying model.

    Experiment Setup

    For this experiment, I selected four models of similar scale (all under 300B parameters): three recently released lightweight, high-speed models, plus one model with standout long-context capability as a cross-reference. The task was a complex creative collaboration system build—a task type involving multi-round planning, code generation, interface verification, and self-checking that reliably exposes weaknesses in long-chain execution.

    Results: The Process Matters More Than the Final Screenshot

    All four models eventually completed the task, but their paths to completion differed dramatically. Here is the key data:

    Model Total Time Retry Behavior
    Model A (high-speed positioning) ~17 minutes Passed on first attempt, no full-run retries
    Model B ~1 hour 12 minutes Failed first run; time includes the re-run
    Model C ~88 minutes No full-run retries; 3 automatic retries within the run
    Model D (long-context) 1 hour 4 minutes cumulative to first success Failed twice under the default retry policy; completed after extended backoff

    This table reveals several facts that traditional benchmarks never show:

    Fast Doesn’t Mean Stable—But First-Pass Success Is Seriously Undervalued

    Model A passed in 17 minutes on the first try, an overwhelming efficiency advantage. But note: this isn’t simply because it “generates tokens faster.” It was more precise in every planning round and every tool call, which reduced rework. First-pass success means no extra API costs from retries, no human intervention, and no context pollution caused by failure states.

    Retry Count Is the Hidden Cost Driver

    Model D did finish, but after two consecutive failures under the default retry policy, it had accumulated over an hour of execution time. In agent scenarios, retries cost far more than time:

    • Token consumption multiplies (every retry re-injects the full context);
    • Failures can create side effects (such as duplicate resources) that require extra cleanup logic;
    • Mid-task failures in long-running jobs erode users’ trust in the system.

    Internal Automatic Retry Strategies Deserve Designers’ Attention

    Model C’s behavior is particularly interesting: instead of re-running the whole task, it completed the 88-minute run with 3 automatic retries handled inline. Its harness integrated fine-grained error recovery—single-step failures were resolved on the spot rather than triggering a full restart. The takeaway: the retry strategy built into your agent framework can affect overall efficiency as much as the model itself.

    An Evaluation Framework Derived from the Experiment

    Based on this experiment, I recommend that teams adopt a multi-dimensional evaluation framework for model selection rather than relying on a single metric:

    1. Agent Efficiency Evaluation Dimensions:
    2. ├── First-pass success rate # Percentage of one-shot completions; the core metric
    3. ├── End-to-end wall-clock time # Real time from task start to acceptance
    4. ├── Action rounds # Number of plan-execute-verify loops
    5. ├── Tool call success rate # Direct reflection of parameter accuracy
    6. ├── Retry overhead # Retry count × cost per round
    7. └── Long-task stability # Variance and degree of context degradation

    Practical recommendations:

    1. Benchmark with real tasks, not public leaderboards. Pick a complex task that is representative of your business, fix the harness, and run repeated comparisons.
    2. Log process data, not just result screenshots. Per-step timing, failure reasons, and retry paths are all worth recording and analyzing.
    3. Distinguish “model problems” from “framework problems.” If every model fails at the same step, the issue most likely lies in your prompts or tool design.
    4. Watch the variance. Run the same model three times; large run-to-run differences mean the model is uncontrollable in production, and you’ll need to harden things at the harness level.

    Conclusion

    The biggest lesson from this experiment: a model’s positioning as “cheap” or “fast” only describes part of its capability. Real agent efficiency depends on the combination of action rounds, tool call quality, service stability, and context management. For teams building agent systems, rather than chasing leaderboard rankings, it’s worth investing the time to build your own controlled variable evaluation pipeline—measuring models with real tasks, real environments, and real acceptance criteria to determine whether they are actually worth using in your scenario. The methodology itself often outlasts the conclusions.