LLM Benchmarking in a Unified Agent Framework: Why Task Completion Times Vary Fivefold
A controlled comparison of four models using the same agent framework and product-development task found that all passed acceptance testing, but completion times ranged from about 17 to 88 minutes. This article examines how action counts, tool-call quality, service reliability, retry policies, and context management affect end-to-end agent efficiency, and outlines practical metrics for model selection.
1. Why Isolate the Model in Agent Benchmarks?
A common mistake in agent development is to judge a model by whether it can complete a demo once. In practice, an agent system’s performance depends on several interacting variables: the model, orchestration framework, toolchain, and context-management strategy. If the framework, prompts, or tool implementations change, differences in completion time and success rate cannot be attributed to the model alone—even when the task stays the same.
This comparison therefore used a controlled setup:
- Fixed framework: Every model used the same agent orchestration framework, covering task decomposition, tool calls, browser interactions, and acceptance testing.
- Fixed task: Each model received the same complex product requirement, with no existing pages to copy, and had to design and implement the application independently.
- Fixed assets and context: Inputs included the same image assets and seed data for users, assets, versions, and comment histories.
- Fixed acceptance criteria: Functional completeness, interaction behavior, and state persistence were assessed against the same standards.
The model was the only deliberately changed variable. The comparison included several relatively lightweight models in a similar parameter range below 300 billion parameters, plus a long-context model as a reference.
The goal was straightforward: What explains differences in real-world agent efficiency among models of broadly comparable scale?
2. Task Design: A Complex Product With No Reference Implementation
The benchmark task was to build a collaboration system for a creative studio. Three aspects made it challenging.
Build From Scratch
The inputs consisted only of openly licensed images and structured seed data. There were no existing pages to imitate. Each model had to understand the business domain, design the information architecture, and implement the interface.
Support Multiple States and Roles
The application had to cover five core states:
- Project overview
- Inspiration board
- Comments anchored to specific image locations
- Version approval
- Publishing preview
It also had to support three roles—creative director, designer, and client—with different permissions and interaction paths.
Implement Real Interactions
Required interactions included asset drag-and-drop, comments attached to specific image coordinates, version switching, and approval or rejection workflows.
State also had to survive a page refresh. This required working persistence logic, not just a static demonstration page.
Together, these requirements tested requirement comprehension, frontend engineering, multistep tool-use planning, and self-correction over a long execution sequence.
3. Results: All Four Models Passed, but Their Execution Paths Differed
All four models eventually passed acceptance testing. Their completion times and failure patterns, however, varied substantially.
| Model | Initial execution outcome | Total completion time | Key characteristic |
|---|---|---|---|
| Model A | Passed on the first attempt | About 17 minutes | Shortest execution path, with almost no unproductive cycles |
| Model B | Failed initially; required a full rerun | About 72 minutes | Encountered an error that could not be recovered from automatically within the run |
| Model C | No full rerun required | About 88 minutes | Three automatic retries within the framework resolved local failures but extended execution |
| Model D | Succeeded after two failures under the default retry policy | About 64 minutes | Retries and backoff were the main sources of delay |
The slowest completion took more than five times as long as the fastest, despite the models’ broadly similar parameter-scale positioning.
The distinction was not simply whether a model could complete the task. It was how reliably it executed the workflow and how effectively it recovered from errors.
4. Four Often-Overlooked Drivers of Agent Efficiency
4.1 Action Count
An agent run can involve dozens or even hundreds of cycles of reasoning, tool use, and result inspection.
Model A’s efficiency did not primarily come from overwhelming speed at each individual step. Instead, its decisions were more accurate, reducing unnecessary exploration and repeated edits.
Extra cycles compound across a long workflow. Depending on the execution path, even 20% more unproductive cycles can add substantial time—potentially half an hour.
4.2 Tool-Call Quality
Agent failures often have less to do with an inability to write code than with execution details:
- Incorrectly formatted tool-call arguments
- Misinterpreted tool responses
- Failure to locate elements during browser interactions
An individual error may cost only seconds. Repeated errors, however, can significantly lengthen the workflow or trigger cascading retries.
4.3 Service Reliability and Retry Policies
Model D illustrates the importance of service reliability. Its two failures were attributed to instability at the invocation layer rather than an inability to perform the task.
The framework’s backoff policy helped the run eventually succeed, but waiting between attempts became a major source of delay. Policies such as exponential backoff can substantially increase elapsed time across repeated failures.
The engineering implication is clear: Model selection should account for service availability and rate-limit behavior, not just capability rankings.
4.4 Context Management
In long-running tasks, how the context window is used directly affects execution quality.
Which information should remain in context? What should be summarized or compressed? How should error information be fed back to help the model correct its approach?
These framework-level choices can amplify or obscure differences between models. Even with a shared framework, context management remains an important part of interpreting end-to-end performance.
5. Practical Guidance for Model Selection
The comparison suggests several practical principles.
1. Prioritize End-to-End Completion Time and First-Attempt Success Rate
Isolated capability scores do not fully capture agent performance. Maintain an internal benchmark suite covering representative business scenarios and rerun it regularly to track regressions.
2. Treat Retry and Backoff Policies as First-Class Design Decisions
Retries influence both reliability and total execution time. For example:
# Exponential backoff with jitter to avoid retry stormsfor attempt in range(MAX_RETRIES):result = call_model(task)if result.ok:breaksleep(backoff_base * 2 ** attempt + random.uniform(0, 1))
These policies should be evaluated as part of the overall workflow rather than treated as incidental infrastructure settings.
3. Use Stronger Intermediate Validation for Smaller Models
Smaller models can be more susceptible to drifting off course during long execution sequences. Framework-level checks of intermediate outputs—such as compilation checks and screenshot comparisons—can catch problems before they require a full rerun.
4. Log Action Counts, Failure Points, and Retries
Record the number of execution cycles, where failures occur, and how many retries are needed for every run.
These process metrics reveal more about a model’s engineering value than a final screenshot alone. They also provide the data needed to improve context-management strategies.
6. Conclusion
Labels such as “low cost” or “high speed” describe only part of a model’s suitability for agent workloads. Real-world efficiency emerges from the interaction of action count, tool-call quality, service reliability, and context management.
In this comparison, all four models completed the same task, yet elapsed times ranged from about 17 to 88 minutes. That gap makes execution stability and recovery behavior central to model evaluation.
Rather than selecting a model solely because it ranks as the most capable, developers should establish controlled benchmarks around their own workloads. Measuring end-to-end time, first-attempt success, failure points, and retries provides a more reproducible basis for selection.
