LLM Evaluation for AI Agents: Capability Boundaries and Model Selection Across Four Models
A controlled comparison of four LLM options examines what matters when choosing a model for AI agents: instruction following, tool reliability, token efficiency, and cost. Five progressively demanding tasks—from reusable skill packaging to browser automation—provide a practical framework for evaluating model fit, identifying failure modes, and preparing agents for production.
1. Why Compare Models Under Controlled Conditions?
A recurring question in agent engineering is why the same agent framework behaves so differently when its underlying model changes. Is the problem model capability, prompt design, or the tool execution pipeline?
Isolated examples and subjective impressions cannot reliably answer that question. A more useful approach is to hold the agent configuration constant and change only the model.
For this comparison, I created four identical agent instances with the following controls:
- Identical memory: The same long-term memory and short-term conversation context.
- Identical skills: The same packaged skills and prompt templates.
- Identical system settings: The same system instructions, safety constraints, and output requirements.
- Identical tools: The same browser, file system, code execution tools, and other available capabilities.
- Consistent reasoning settings: Each model used its highest available reasoning setting by default, avoiding comparisons between lower- and higher-effort configurations.
This setup makes differences in behavior more attributable to the underlying models rather than the surrounding agent configuration.
The four candidates represented several common choices: a proprietary flagship model with strong general-purpose capabilities, a cost-effective reasoning model from a Chinese provider, an emerging model backed by a smartphone manufacturer, and a model offered through a subscription-based coding plan.
More expensive flagship models were not included because usage-based API billing can create difficult-to-control costs during long-running unattended tasks. For this use case, those models are better suited to interactive use through a web interface than to serving as the primary model for an agent expected to run continuously.
2. Three Risk Signals to Watch Before Testing
Before the evaluation, community reports had already highlighted potential weaknesses among the candidates. I grouped these reports into three risk categories to guide observation. They were warning signals to investigate, not established findings from the comparison.
Agent Framework Compliance Failures
Some reports described a model failing to recognize locally registered skills or proceeding with high-risk actions—such as deleting files or making external requests—without asking for user confirmation.
In practical terms, the model appeared to lose awareness that it was operating inside a constrained agent framework and reverted to ordinary chatbot behavior.
For agent applications, this is a critical failure mode: degraded instruction following and reduced awareness of operational guardrails.
Uncontrolled Token Consumption
Another common complaint was excessive token use. For the same task, a model reportedly consumed several times as many tokens as a baseline model.
Possible causes include:
- Excessively long reasoning that fails to converge and repeatedly revisits earlier decisions.
- Aggressive context-management behavior that repeatedly rereads large files.
- Failure to exit gracefully after tool errors, leading to retry loops.
The important question is not simply whether a model can finish a task, but whether its resource consumption remains predictable while doing so.
Trial Credits Depleted Too Quickly
Emerging models often attract users with trial credits. Some reports claimed that a five-minute coding task consumed half of a monthly allowance.
Such behavior may reflect fine-grained billing or a large number of internal calls during task execution. Either way, enterprise users need to assess this cost exposure before adopting a model.
3. Five Progressively Demanding Evaluation Tasks
Rather than treating the evaluation as a flat list of test cases, I organized it into five stages. They progress from basic capability packaging to automation tasks that can consume substantial token budgets.
Stage 1: Skill Packaging—Turning Experience into a Reusable Capability
The task was to turn a design-system prompt document into a skill that could be published, installed, and used by someone else.
The objective was not to copy the prompts into a new file. It was to create a reusable capability package with activation conditions, usage instructions, constraints, and a self-check checklist.
Three criteria mattered:
- Structure: Could the model transform unstructured prompts into a standard directory layout with a description file, entry-point instructions, and examples?
- Publishability: Did it include metadata such as author, version, and intended scope?
- Self-review: Did it identify where the skill might fail, as requested? This tests the model’s ability to critique its own output and reason about capability boundaries.
Reliable skill packaging is a foundation for agents that build and reuse their own capabilities. If a model cannot complete this stage consistently, more complex tasks become less meaningful to evaluate.
Stage 2: Web Development—Testing End-to-End Engineering Delivery
The next task was to build a small web application from scratch.
The evaluation focused on whether the model:
- Made reasonable technology choices.
- Started a local service and tested the application without prompting.
- Diagnosed and repaired errors independently.
- Delivered code that actually ran.
This stage tests engineering execution, not just the ability to generate plausible-looking code.
Stage 3: Slide Decks and Copywriting—Balancing Presentation and Structured Output
This stage assessed more than writing quality. It examined whether the model could adapt information density to the intended audience while following strict output and layout requirements.
Examples included keeping the main text out of code blocks, avoiding unrequested sections, and respecting formatting instructions.
The central question was whether the model could produce useful presentation content without drifting from the delivery specification.
Stage 4: Knowledge Base Management—Retrieval and File Governance
This task examined how well the model understood, indexed, and incrementally updated a local knowledge base.
Key observations included:
- Whether it accidentally deleted content.
- Whether it created duplicate entries.
- Whether it correctly distinguished high-risk operations such as archiving and deleting.
These distinctions matter because a knowledge-management agent must preserve information as well as retrieve and organize it.
Stage 5: Browser Automation—Stress-Testing Token Use and Stability
Browser automation is particularly demanding on token budgets. Repeated page parsing, failed element-location attempts, retries, and waits for dynamically loaded content can all drive consumption sharply upward.
This stage is especially likely to expose rapid credit depletion. It also tests whether a model can stay on task during long workflows, handle interruptions, and recover from execution failures.
4. A Practical Framework for Selecting Agent Models
Beyond any individual ranking, the comparison provides a reusable framework for choosing models for agent workloads.
| Dimension | Key question |
|---|---|
| Instruction following | Does the model consistently recognize registered skills and framework constraints? |
| Risk awareness | Does it request confirmation before high-risk actions? |
| Token efficiency | Is consumption per task predictable and controllable? |
| Long-running resilience | Does it remain stable during extended tasks and recover from tool failures? |
| Cost structure | Does usage-based billing, a subscription plan, or managed cloud hosting fit the workload? |
Several practical recommendations follow from this framework.
Do Not Rely on Benchmark Scores Alone
High scores on conversational benchmarks do not necessarily translate into strong agent performance. Instruction following and reliable tool use are central to agent workflows and need direct evaluation.
Consider Subscription Plans for Coding-Heavy Workloads
For workloads dominated by code generation, plans with bundled usage can offer substantially lower marginal costs than per-token billing.
The relevant comparison is the cost structure under the intended workload, not simply the price advertised for a model.
Add Framework-Level Confirmation for Sensitive Actions
Regardless of model capability, high-risk operations—such as deletion, payments, and sending information externally—should have a separate human-confirmation step enforced by the framework.
Model judgment alone should not be the only safeguard.
Stress-Test Before Production
Use representative real-world tasks to test both cost and stability before deployment. Include token consumption per task among the operational metrics used to define service-level expectations.
For teams that want to run these evaluations without building their own infrastructure, managed cloud platforms can support controlled experiments. Model inference services, logging, monitoring, and alerting can be used to collect structured records of:
- Runtime per execution.
- Token consumption.
- Number of tool calls.
These measurements provide an objective basis for comparing models.
5. Conclusion
The model shapes an agent’s capability ceiling, while the framework and model-selection strategy shape its baseline reliability.
The purpose of a side-by-side evaluation is not merely to declare one model the strongest. It is to understand each model’s boundaries: which can serve as the main engine for long-running unattended work, which is better suited to precise short tasks, and which belongs in an interactive workflow for creative output.
Effective agent engineering means matching the model to the role—not assuming that one model is the best fit for every task.
