Agent Efficiency Under a Fixed Harness: A Cross-Model Comparison

    This article presents a controlled cross-model evaluation in which the Agent execution framework, task materials, runtime environment, and acceptance rules are fixed while four models below 300B parameters are swapped. It examines differences in action rounds, failure recovery, service stability, and context management, then distills practical lessons for model selection and process-oriented Agent benchmarking.

    Agent Efficiency Under a Fixed Harness: A Cross-Model Comparison

    I’m Lu Xuzhou. In the previous experiment, I fixed the model and swapped four different Agent execution frameworks. The result confirmed one conclusion: framework design has a much larger impact on task completion speed than many people expect. This time, I reversed the experimental variable—fixing the framework and swapping only the underlying models—to see how much difference different models can create in Agent efficiency under the same tasks and the same toolchain.

    1. Experiment Design: Keeping Only One Variable

    To obtain credible comparative conclusions, the key is to lock down every factor that could interfere with the results. The control conditions for this experiment were as follows:

    • Execution framework: All runs used the same self-developed Harness, referred to below as DSH, covering the full chain of task decomposition, browser operations, result validation, and related steps.
    • Tasks and materials: All runs used the same set of requirements for a complex creative collaboration system, with identical input documents, design drafts, and reference context.
    • Runtime environment: Runs were completed in the same browser environment, under the same network conditions, and near the same execution period to avoid environment jitter.
    • Acceptance rules: A unified automated acceptance standard was used, with screenshot comparison after completion rather than subjective scoring.

    The only variable was the model itself. All four participating models were cost-effective small-to-medium parameter models below 300B. Three were recently released lightweight reasoning models, and one long-context model served as a cross-comparison control.

    2. Overview of the Four Runs

    All four models eventually completed the task, but their process profiles differed significantly:

    Model positioning First attempt Total time Key process
    High-speed reasoning A Passed on the first attempt About 17 minutes Few action rounds, almost no retries
    Balanced B Failed in the first round About 72 minutes, including rerun Deviated in the middle of the first round and required a full rerun
    Lightweight C No full-round failure About 88 minutes Automatically retried three times internally and corrected gradually
    Long-context D Passed after backoff About 64 minutes Default retry strategy failed twice in a row; completed after extended backoff

    If we look only at the final deliverables, all four arrived at the same destination. But once the process data is laid out, the gap is clear: the fastest took 17 minutes, the slowest took 88 minutes, and the efficiency difference was more than fivefold.

    3. Process Differences Matter More Than Results

    1. Action Rounds Are the First Lever for Efficiency

    High-speed reasoning A was fast not simply because its inference was fast, but because it made higher-quality decisions within each round: reasonable task decomposition granularity, one-shot tool invocation, and very little backtracking. Each additional action round means an additional network round trip, an additional context rebuild, and an additional chance to make an error. Decision quality per round matters more to total time than raw generation speed alone.

    2. Failure Recovery Strategy Determines Long-Tail Cost

    After Balanced B failed in the first round, it required a full rerun. This indicates that its error occurred late in the task and could not be repaired locally. Lightweight C, by contrast, absorbed errors during execution through the framework’s automatic retry mechanism. Although its total duration was extended, it avoided starting over. This suggests that designing fine-grained checkpoints and local rollback capabilities in the Harness layer can downgrade a “full-round failure” to a “step retry.” The logic is illustrated below:

    1. def run_step(step, max_retry=3):
    2. for attempt in range(max_retry):
    3. result = execute(step)
    4. if validate(result): # step-level acceptance
    5. checkpoint(step) # record checkpoint
    6. return result
    7. raise StepFailed(step) # trigger upper-level replanning only after the limit is exceeded

    3. Service Stability Is a Hidden Cost

    Long-context D’s two consecutive failures came from the server side rather than from model capability itself, and it returned to normal only after extended backoff. In real production environments, waiting time caused by such non-model factors is often misattributed to “the model being slow.” During evaluation, server-side error rates, rate limiting, and backoff waits should be recorded and attributed separately; otherwise, the conclusions will be distorted.

    4. Context Management Affects Late-Stage Performance

    The more complex the task, the longer the accumulated context. Observations showed that some models forgot early constraints in the middle-to-late stages of the task, causing rework. Strong context management—such as summarizing and fixing key constraints and pruning irrelevant intermediate results—can significantly reduce this kind of drift.

    4. Three Implications for Model Selection

    1. Do not replace measured testing with labels such as “low cost” or “high speed.” Labels describe only static capability. Real Agent efficiency is the combined result of model capability, framework design, and service stability.
    2. Evaluation must control variables. Only by fixing the Harness, materials, and acceptance rules can differences be attributed to the model itself. Without controlled variables, comparisons are just noise.
    3. Process metrics are more sensitive than outcome metrics. During evaluation, record action rounds, tool call counts, retry counts, failure attribution distribution, and context length curves. These metrics can expose a model’s weaknesses in complex tasks early.

    5. Conclusion

    The core takeaway from this reverse-controlled-variable experiment is that Agent efficiency is not a single attribute of a model, but a system property of “model × framework × environment.” When selecting models, rather than struggling over parameter counts and benchmark scores, it is better to run a controlled evaluation on a real task chain and let process data speak. In future posts, I will continue to share how to turn this evaluation method into a reusable automated benchmark.