Benchmarking Four LLMs on the Same Agent Framework: Where Do Efficiency Differences Really Come From?
This article presents a controlled-variable benchmark of four mid-sized large language models running identical agentic tasks within the same harness. With fixed task inputs, context windows, browser environments, and acceptance criteria, the models all completed the assignment but with drastically different time costs — from 17 minutes to over 88 minutes. The analysis breaks down the sources of variance into action rounds, tool-call stability, and context management, and offers a reusable evaluation checklist plus practical guidance for model selection and cloud deployment of agent workloads.
Introduction: Why a Controlled-Variable Model Benchmark?
As large language models iterate rapidly, developers are bombarded with marketing claims focused on parameter count, inference speed, and per-token pricing. But when a model is embedded in a real agent workflow, “fast and cheap” does not necessarily translate into “delivered early.”
To test this, we designed a strictly controlled experiment: the agent harness, task requirements, input data, context window, browser environment, and acceptance rules were all kept identical — the only variable was the underlying model. Four mid-sized models with different positioning participated: a vision-enhanced model marketed for high speed and low cost, two newly released lightweight models, and a long-context model used as a horizontal reference.
The results were revealing: all four models eventually completed the task, but the process varied enormously. The fastest finished in 17 minutes. One model failed its first attempt and had to rerun, taking a total of 1 hour 12 minutes. Another executed for 88 minutes, including three automatic retries within the harness. The long-context model failed repeatedly under the default retry policy; after introducing exponential backoff, it accumulated 85 retries and only succeeded after 1 hour 4 minutes.
These numbers make it clear that evaluating model capability in the agent era requires moving beyond single-turn answer accuracy.
1. Experiment Design: Same Task, Same Toolchain
1.1 Task Setup
The test task was to build a complete web application called “Creative Studio Collaboration System.” The input conditions were deliberately minimal: six openly licensed art gallery images plus seed data for project members, assets, versions, and comments. No reference pages were provided.
The model had to autonomously implement five core business states:
- Project Overview: Display project progress, member assignments, and key milestones.
- Moodboard: Support free dragging and layout of assets.
- Anchored Asset Comments: Comments must be pinned to specific positions on specific assets.
- Version Approval: Support version switching, approval, and rejection.
- Publish Preview: A read-only view for final delivery.
Three roles — creative director, designer, and client — were built into the system, each with different permissions. All states had to persist across browser refreshes.
1.2 Environment and Constraints
All four runs used a unified 262K-token context window, a task budget of 200K tokens, and real-browser automation via a browser automation protocol for self-verification. Desktop checks were performed at 1440×1000 resolution, mobile at 390×844. Each run saved the first version screenshot and allowed only one round of fixes. The full set of code, screenshots, execution logs, review records, and metrics had to be kept for auditability and reproducibility.
2. Results Review: The Process Tells More Than Screenshots
2.1 Delivery Profiles of the Four Models
Looking at the final artifacts, the four models displayed clearly distinct engineering aesthetics:
- The high-speed vision model produced a light-toned editorial interface — lightest architecture, clear information hierarchy, with project status, assets, and member relationships visible without scrolling.
- Lightweight model A used black-gold and cream colors, serif headings, a permission matrix, and approval states in a unified gallery-editing style. Brand consistency and mobile responsiveness were the strongest among the four.
- Lightweight model B chose a dark professional workbench route, integrating navigation, progress, roles, delivery, approvals, and an asset canvas into a dense system with the highest engineering completion.
- The long-context model delivered a museum-archive style interface — black serif headings on cream backgrounds, with fine-line tables and artwork thumbnails arranged in a polished layout.
If you only looked at final screenshots, this would be a matter of aesthetic preference. But when you open the execution logs, the story changes entirely.
2.2 Three Sources of Time Differences
First: number of action rounds. The fastest model finished in 17 minutes because it produced an almost correct information architecture during the planning phase, requiring very few encode–verify–fix cycles. Slower models often exposed layout or state-persistence issues only at the third or fourth verification round; each additional round means a full page re-render and browser regression check.
Second: tool-call stability. The long-context model’s 85 retries were not all due to incorrect actions — a significant proportion were server-side timeouts, rate limits, or truncated responses. The default retry strategy gave up after consecutive failures; it took exponential backoff to sustain enough attempts to succeed. This reminds us that a model’s nominal capability and service availability are two independent variables, and benchmark runs must log them separately.
Third: context management ability. Within a 200K-token budget, some models actively compressed history and discarded stale DOM snapshots, while others retained every browser screenshot and log verbatim, diluting effective attention in later stages and leading to state inconsistencies like “forgetting what it had changed.” A larger context window does not automatically mean better context management.
3. Methodology Takeaways: How to Reproduce a Credible Agent Benchmark
Based on this experiment, we distilled a reusable evaluation checklist:
- Lock the harness: The agent framework itself has a massive impact (our earlier comparisons showed the same model can take several times longer on the same task under different harnesses). Always fix the framework version when comparing models.
- Fix inputs and acceptance rules: Task inputs, resolution checkpoints, and the maximum number of fix rounds must be identical, word for word.
- Keep full traceability: Code, screenshots, logs, review records, and token consumption are all mandatory — without them, you cannot distinguish “model deficiency” from “service flakiness.”
- Classify failure types: Categorize failures as planning errors, coding errors, tool-call failures, or service anomalies, and count them separately. Avoid a single “success rate” that hides root causes.
- Track time to first success, not final completion: With unlimited retries, any model will eventually “complete.” What matters in engineering is the time taken to pass acceptance on the first attempt.
4. Implications for Engineering and Model Selection
This experiment offers three direct takeaways for teams selecting models:
First, place “speed-oriented models” in the right role. The high-speed model that finished in 17 minutes is ideal as the primary executor in an agent pipeline; but its lighter information architecture suggests that scenarios demanding high information density may require additional human-specified acceptance criteria.
Second, retry and backoff strategies are infrastructure, not optional features. The 85-retry case shows that without exponential backoff, jitter, and circuit-breaking, even the strongest model can be brought down by service flakiness. An example configuration:
def call_with_backoff(fn, max_retries=8):delay = 1.0for attempt in range(max_retries):try:return fn()except TransientError:time.sleep(delay + random.uniform(0, 0.5))delay = min(delay * 2, 60)raise MaxRetryExceeded()
Third, when deploying agent workloads on cloud platforms, keep inference calls, logging, monitoring, and object storage (for screenshots and artifacts) decoupled. Use the cloud provider’s generic monitoring and alerting capabilities to set threshold alerts on retry rates and token consumption rate. Incorporate “process metrics” into your daily observability instead of digging through logs only after failures.
Conclusion
LLM evaluation is shifting from “answer accuracy” to “task delivery efficiency.” This controlled benchmark demonstrates that action rounds, tool-call stability, retry strategy, and context management together determine the real productivity of an agent. For developers, asking “how does it perform across multiple execution rounds?” matters far more than comparing leaderboard scores.
