Multi-Model Benchmarking in the Same Agent Framework: Why Task Completion Time Can Vary by Several Times

    A controlled benchmark of four lightweight language models shows that agent efficiency depends on far more than raw inference speed. With the framework, task, environment, and acceptance criteria held constant, completion times varied from roughly 17 to 88 minutes. The results highlight the impact of action count, tool-call reliability, service stability, retry behavior, and context management on end-to-end agent performance.

    Hello, I’m Luxuzhou.

    In my previous experiment, I isolated the framework variable: I kept the underlying model unchanged and tested four different agent orchestration frameworks. The results showed that framework-level differences alone could make the same task take several times longer.

    This time, I reversed the setup. I kept the agent framework and task environment fixed, changing only the underlying language model to examine how model-level differences affect performance.

    1. Experimental Design: Strict Variable Isolation

    To make the comparison meaningful, the core principle was simple: everything remained the same except the model.

    • Fixed agent framework: All models used the same agent orchestration system, ensuring identical logic for task decomposition, tool calls, and context injection.
    • Fixed task and materials: Each model received the same requirements document, design files, and reference materials. The goal remained the same complex creative collaboration system.
    • Fixed execution environment: The browser environment, file system, and dependency versions were aligned.
    • Fixed acceptance criteria: The generated application was evaluated using the same criteria: runtime capability, visual fidelity, and interaction completeness.

    The benchmark covered four models with similar positioning: two newly released lightweight models from domestic vendors, one experimental model with vision capabilities, and one model known for its long context window as a comparative reference. All had parameter scales below 30 billion, placing them in the industry’s increasingly important low-cost, high-speed category.

    2. Overview of the Four Test Results

    All four models eventually completed the task, but the process differences were much more revealing than the final screenshots.

    Model First Attempt Total Time Key Characteristic
    Model A Passed on the first attempt Approximately 17 minutes Smoothest process, with almost no rework
    Model B Failed on the first attempt Approximately 72 minutes, including a rerun Full-task rerun created the highest cost
    Model C No full-task failure Approximately 88 minutes Automatically retried three times internally
    Model D Succeeded after two failures Approximately 64 minutes, including backoff delays Accumulated dozens of retries

    The same task, running through the same pipeline, took three to five times longer depending on the model. The reasons behind this gap deserve closer examination.

    3. Four Hidden Variables That Determine Agent Efficiency

    1. Number of Action Rounds: Getting It Right Once Beats Repeated Correction

    An agent completes a task through a sequence of cycles: reasoning, calling a tool, observing the result, and deciding what to do next. Model A completed the task in 17 minutes not because its individual reasoning steps were dramatically faster, but because it made nearly correct decisions at each stage. As a result, it kept the total number of action rounds close to the minimum.

    By contrast, models that required frequent retries introduced additional rounds after every failed attempt: reading error messages, generating a new response, and validating the result again. The number of action rounds can grow multiplicatively, causing total execution time to become unpredictable.

    This suggests that when evaluating models for agent workloads, single-step reasoning quality is often more important than raw reasoning speed.

    2. Tool-Call Reliability and Format Compliance

    Agent frameworks typically impose strict output requirements. For example, tool-call arguments must conform to a predefined JSON Schema. Models with weak format compliance can trigger repeated parsing failures, forcing the framework to retry.

    In this experiment, a significant portion of the cases involving dozens of retries was not caused by the model being unable to determine the answer. Instead, the execution chain was interrupted because the model’s output format was unstable.

    This is why structured output capability is becoming a core evaluation criterion for agent systems.

    3. Service Stability and Backoff Strategies

    All four experiments encountered some degree of API-level fluctuation. The key difference was how the framework and model service handled those interruptions.

    Some combinations recovered automatically within a single request, adding only a few seconds of delay. Others triggered a complete task rerun, discarding tens of minutes of work.

    From an engineering perspective, appropriate exponential backoff and checkpoint-based recovery can significantly reduce the cost of these failures.

    4. Context Management: A Large Context Window Is Not the Same as Long-Term Memory

    The long-context model used for comparison did not perform especially well. As the task progressed, the conversation history and tool outputs continued to grow. Once the effective attention range was exceeded, the model began to lose track of important constraints from earlier stages, which led to rework later in the process.

    Context-window size defines an upper resource limit, but context-management strategies determine how much of that capacity can be used effectively. Framework-level techniques such as summary compression and anchoring critical information are often more effective than simply increasing the context window.

    4. Three Lessons for Developers

    1. Do not choose a model based only on benchmark scores. Standard benchmarks usually do not measure tool-call reliability, format-compliance rates, or the cost of retries. Yet these factors are often the main sources of delay in agent workloads. A small-scale comparison using your own real tasks can provide more useful selection data.

    2. Framework-level fault tolerance has significant value. Automatic retries, checkpoint recovery, and context compression can reduce the cost of a failure from rerunning an entire task to retrying only one step. In cloud-based agent development platforms, these engineering capabilities may deserve more investment than model selection alone.

    3. Track task-level metrics instead of request-level metrics. Monitoring should focus not only on individual response latency, but also on total task duration, action-round count, retry distribution, and token-consumption distribution. Only task-level data can accurately reflect real end-to-end efficiency.

    5. Conclusion

    The biggest takeaway from this experiment is that the labels “low cost” and “high speed” describe only one aspect of a model’s capabilities.

    Real-world agent efficiency is the product of reasoning quality, format compliance, service stability, and context management. Any weakness in one of these areas can be magnified by task complexity.

    For developers, models and frameworks should be evaluated as a complete system. Using the same task and the same acceptance criteria across candidates is the only reliable way to obtain results that support meaningful engineering decisions.