Comparing LLM Agents: Why Stability Matters as Much as Speed

    This article describes a controlled comparison of four models aimed at low cost or fast response, all run inside the same agent framework. The task, input files, context settings, browser environment, and acceptance rules stayed fixed while only the underlying model changed. The results show that response speed and public benchmark scores capture only part of agent performance. Failure recovery, retry strategy, and tool-call efficiency often determine how long a complex task takes to deliver.

    In agent applications, parameter count, single-response speed, and public benchmark scores each reflect only part of a model’s abilities. What affects development efficiency is whether a model can keep understanding the task, call tools correctly, detect errors in time, and resume execution after a failure.

    To observe these factors, this article describes a controlled-variable experiment. The agent framework stayed the same. The task goal, source files, context, browser environment, and final acceptance rules were all fixed. Only the underlying model changed. The four tested models had similar capabilities and were positioned toward low cost or fast response. They are referred to here as Model A, Model B, Model C, and Model D. The experiment does not rank specific products. It focuses on a general engineering question: in complex, multi-step tasks that require tool coordination, can a model finish delivery reliably?

    1. Why Fix the Agent Framework

    If the model, framework, toolchain, and task content all change at once, the results are hard to attribute. A model that finishes faster might simply use fewer tool calls because of its framework. A model that fails more often might be using a different retry policy. This test therefore fixed the execution framework and made the model the only variable.

    The fixed elements were:

    • the same task description;
    • the same input materials and files;
    • the same context window configuration;
    • the same browser and operating environment;
    • the same tool set;
    • the same acceptance criteria;
    • the same final delivery target.

    This design does not represent every production scenario. It does answer a focused question: when external conditions are identical, how do different models actually perform in an agent workflow?

    Agent tasks differ from ordinary Q&A. A Q&A exchange usually generates one block of text. A complex agent task often includes reading information, operating pages, handling files, generating content, checking results, and fixing errors. Each decision the model makes shapes the next steps, so total completion time is not the same as the time the model spends generating text.

    2. Characteristics of the Test Task

    The experiment used a complex creative collaboration task. The task did not simply ask the model to generate one page or one document. It required the model to process materials, follow constraints, carry out several rounds of operations, and check its own output against the acceptance criteria.

    In execution, such tasks typically include these stages:

    1. Reading and understanding the task background;
    2. Analyzing input materials and structural requirements;
    3. Planning the page, document, or interactive result;
    4. Completing the actual operations through a browser or other tools;
    5. Adjusting the plan based on intermediate results;
    6. Handling tool errors, abnormal page states, or content deviations;
    7. Running a final check and submitting the result.

    For this reason, evaluation cannot focus only on whether the final screenshot looks complete. It also has to examine how the model reached that result. Two models can produce similar final outputs, but if one went through many ineffective actions, repeated calls, and trial-and-error, its real engineering cost is still higher.

    3. Results of the Four Models

    All four models completed the assigned task, but their execution paths differed clearly.

    Model A finished in about 17 minutes, the fastest result in this round. Its main trait was a short action path. It formed an execution plan early and called tools directly at key points. When local problems appeared, Model A tended to fix them within the current context instead of restarting the whole task. Although the task was complex, the model produced relatively few ineffective actions.

    Model B failed on its first run, then ran again. The total time was about 1 hour 12 minutes. This shows that whether a single run succeeds strongly affects total time. If a model misunderstands the task early, later actions build on a wrong premise, and the problem may not surface until close to the acceptance stage. Even if a rerun succeeds, the time already spent cannot be recovered.

    Model C did not rerun the task. Within one execution, it triggered three internal automatic retries, and total time reached about 88 minutes. Automatic retries prevent a task from stopping outright, but a retry is not the same as efficient recovery. If each retry repeats the same error path, the system only prolongs the failure. A retry has practical value only when it changes the strategy, narrows the problem, or rereads the key state.

    Model D failed twice in a row under the default retry policy. It then finished the task after lengthening the backoff interval and adjusting the recovery process. Total time to first success was about 1 hour 4 minutes. This case suggests that failures may not come only from the model. They can also result from brief instability in tool services, page state that has not updated, calls sent too quickly, or context that has grown too long. A sensible backoff strategy reduces the impact of short-lived errors on the whole task, but it also noticeably increases completion time.

    Completing the task does not mean the four models have equal overall capability. Completion is the lowest-level measure. Execution path, failure recovery, and resource consumption also belong in the evaluation.

    4. Why Model Speed Does Not Represent Agent Efficiency

    In ordinary model calls, common metrics include time to first byte, output speed, and single-response latency. In an agent system, total task time can be roughly broken down as follows:

    1. Total time =
    2. model inference time
    3. + tool call wait time
    4. + browser or external service response time
    5. + retry and backoff time
    6. + context organization time
    7. + manual or system acceptance time

    Even if the model responds quickly, a task can still take a long time when it requires many action rounds and frequent tool calls. Conversely, a model with ordinary response speed may deliver earlier if its planning is more accurate and it makes fewer calls.

    Therefore, evaluating an agent should record at least the following data:

    • time to first success;
    • time to final success;
    • total number of action rounds;
    • number of tool calls;
    • number of failures;
    • number of automatic retries;
    • number of full reruns;
    • changes in context length;
    • whether the final output needed manual correction;
    • resource consumption and operating cost.

    “Time to first success” and “time to final success” must be kept separate. The former reflects delivery capability on an ideal path. The latter is closer to the user experience in a real production environment.

    5. More Retries Are Not Always Better

    Many agent systems add automatic retries to raise task success rates. A poorly designed retry policy can cause three problems.

    First, repeated errors. The model receives no new information and does not change its strategy. It just repeats the same action. Such retries usually do not improve the odds of success.

    Second, state contamination. Browser pages, temporary files, or context may already be half-finished. If the model does not check the current state before running again, it may create duplicate content, overwrite existing results, or make the problem more complicated.

    Third, runaway time. Consecutive retries keep consuming compute and external service capacity, so total time can far exceed what it would take to stop after one failure and handle it.

    A more reasonable retry process includes these steps:

    1. Classify the error type;
    2. Separate recoverable errors from unrecoverable ones;
    3. Read the current environment state;
    4. Change parameters, paths, or the operating strategy;
    5. Set a maximum retry count;
    6. Trip a circuit breaker after consecutive failures;
    7. Roll back to a stable checkpoint when needed.

    For example, a network timeout can usually be handled with exponential backoff. If a page element does not appear, the system should reread the page state. If the content fails the acceptance rules, the agent should reanalyze the task instead of mechanically repeating the last action.

    6. How Context Management Affects Long Tasks

    The longer a complex task runs, the more context management matters. The model must keep track of the task goal, completed steps, current state, failure causes, and acceptance conditions at the same time. If every piece of history is kept without distinction, the context becomes bloated, and the model is more