LLM Selection for AI Agents: A Multi-Dimensional Evaluation Practice
This article describes a reproducible method for choosing the language model that powers a long-running AI agent. Four models were tested in identical agent setups across five progressive tasks: skill packaging, web app development, presentation design, knowledge base management, and browser automation. It explains how to measure token cost, weigh subscription plans against pay-as-you-go billing, and check whether a model asks for confirmation before high-risk actions.
1. Why Agent Model Selection Needs Its Own Evaluation
Over the past year, LLM releases have accelerated. Parameter counts, reasoning modes, and multimodal capabilities change almost every month. For people who use models as chat tools, differences between old and new models may only mean small changes in answer quality. For developers who use a model as the core engine of an AI agent, the differences can be critical.
Agents differ from ordinary chat in several ways. The model must keep context consistent over long periods, follow system constraints reliably, correctly recognize and invoke local skills and external tools, and ask a human for confirmation before performing high-risk operations. Leaderboard scores do not show these abilities directly. A model may rank near the top on general benchmarks and still fail inside an agent framework. Typical failures include not recognizing a skill, executing a dangerous command without confirmation, or consuming several times the expected number of tokens. For this reason, evaluation for agent use must move away from traditional benchmark thinking. It needs real tasks that test how well a model works in an engineering setting.
The goal of this evaluation is simple: under a controlled budget, select the most suitable model to drive a primary agent that runs continuously. The comparison included four current, representative frontier models: the latest flagship from an international vendor, a new-generation open-source model from a domestic vendor, and two products focused on cost-effective coding subscription plans. To stay neutral, this article does not name specific brands and refers to each model by its characteristics.
2. Experimental Design: Controlling Variables Comes First
The most common mistake in a side-by-side comparison is running models in different frameworks, with different memory, or with different toolsets. Then the framework differences get mistaken for model differences. To remove this interference, the experiment created four identical agent instances with the same long-term memory, the same skill library, the same system prompt, and the same set of callable tools. The only variable was the underlying model. For reasoning strength, every model that supports a high reasoning mode was set to its highest level.
Several configuration principles matter here:
- Replicate a real environment, not a clean one. The agent instances replicated a prototype the author had been using locally for several months. This means the models worked with accumulated domain terms, historical constraints, and personal conventions. A messy environment like this is closer to production. A model that only works in a clean demo environment has little value for selection.
- Screen candidates with cost in mind. Pay-as-you-go API billing becomes very expensive in long-running agent workloads, so the team could not run up the quotas freely. The candidate pool was filtered partly on economics. Some models fit better in a web interface for heavy design work. Others rely on large-quota subscription plans for daily coding tasks.
- Track risk signals from community feedback. Before testing, the author noted community reports. One newer model was said to have problems in agent settings: it failed to recognize local skills and did not ask for confirmation before high-risk actions, which people described as “framework failure.” Another model was reported to use eight times the tokens of comparable tasks. A third model’s coding subscription quota was reported to drop by more than half within five minutes of a coding task. These signals went onto a watch list to be verified through testing.
3. Five-Stage Task Design: From Skill Packaging to Browser Automation
To avoid a mechanical list of test cases, the evaluation used five progressive stages. Each stage tests a different layer of the agent’s capabilities.
Stage 1: Skill Packaging, the Basic Requirement
The task was to turn an existing system prompt for an LLM into a skill package that could be published online. The goal was not to copy the prompt text. The model had to abstract it into a capability module that someone else could install and use. The model also had to review its own output once and point out where the skill might fail.
This stage looks simple, but it separates capable models from weaker ones. In daily operation, agent frameworks often trigger the creation and updating of skills. Skill packaging is essentially an upgraded form of document organization. The model must understand the intent and boundaries behind a prompt, extract the parts that can be parameterized, write a clear trigger description, and anticipate edge cases. If a model cannot consistently package existing know-how as a skill, there is no point testing it on more complex tasks. In testing, the biggest difference appeared in the self-review. Strong models identified real risks, such as ambiguous trigger conditions and missing dependency paths. Weaker models gave vague conclusions such as “more documentation is recommended.”
Stage 2: Web Development, Testing End-to-End Engineering
The agent had to design and code a small web application from scratch. The work covered structure planning, styling, and interaction logic. This stage measures more than code generation quality. It also measures consistency across multiple rounds of iteration. Can the agent remember the technical choices it made five minutes earlier? Can it change one feature without breaking another? The problem of attending to one part of a long context while losing track of another often appears clearly in this stage.
Stage 3: Presentation Design and Copywriting, Structured Aesthetic Judgment
The agent produced a complete presentation, including an outline, layout descriptions for each slide, and supporting copy. The key points are structured expression and aesthetic consistency. Are the heading levels clear? Is the copy style uniform? Are the layout suggestions practical to implement? Some models perform well on pure code tasks but clearly decline on tasks that require visual design sense. Single-dimension benchmark scores cannot reveal this blind spot.
Stage 4: Knowledge Base Management, the Real Pressure of Long-Term Memory
The agent received a batch of heterogeneous materials. It had to build an index, answer retrieval questions, and correctly cite previously added content in later conversations. This stage directly tests long-context handling and retrieval coordination. It is also where token consumption grows fastest. During evaluation, some models tended to reread the full set of materials repeatedly, which multiplied token usage. This explains the “eight times” consumption reported by the community. Cost sensitivity must be one of the selection criteria, not just a surprise on the bill afterward.
Stage 5: Browser Automation, the Ultimate Stability Test
In the final stage, the agent drove a browser through a multi-step automated process. This involved understanding page content, locating elements, recovering from errors, and maintaining a long session. This stage consumed the most tokens of the five and placed the highest demands on following constraints. It also served as the final check on the safety baseline: whether the model asks for confirmation before high-risk actions. Any model that bypasses the confirmation step and runs a sensitive operation directly should be disqualified, regardless of how well it performed in earlier stages.
4. Evaluation Conclusions and Selection Advice
Across all five stages, several conclusions apply broadly to developers:
First, evaluate benchmark scores and agent performance separately. A model with strong general benchmark results may fail at skill recognition or constraint following. Before selecting a model, test it in your own agent framework on a small scale. This costs far less than reworking a system after launch.
Second, token consumption is a seriously underestimated metric. A token difference of several times on the same task means a large difference in monthly cost. During evaluation, record the input and output tokens for each task. Build a task-to-cost baseline table, then compare it against subscription plans or pay-as-you-go pricing.
Third, assign subscription and pay-as-you-go models by role. A coding subscription with ample quota and multimodal support suits daily coding as the main model. A pay-as-you-go flagship model works well as an expert consultation channel for difficult tasks. The web interface suits design work that needs deep reasoning. No single model needs to be used at full capacity in every scenario.
Fourth, the safety confirmation mechanism is a non-negotiable requirement. An agent must ask before performing high-risk operations. This is a hard constraint at the framework level. If a model systematically bypasses it, the model’s instruction-following chain has a defect with the framework, and the model should be eliminated immediately.
Fifth, turn the evaluation into a reusable pipeline. The framework used here, with four identical instances and five progressive tasks, can be standardized. Whenever a new model is released, run the same task set. Reliable selection conclusions can then be reached within half a day. For agent applications built on a cloud platform, general-purpose logging and monitoring alerting services can automatically collect and archive token consumption and task success rates for each evaluation. This turns model selection from a one-time task into continuous engineering practice.
Choosing a model for an agent is essentially a balancing act among capability, cost, and controllability. The author hopes this method helps readers avoid detours and find the model that works best with their own agents.
