Real Studios

Model Selection for Agents: How to Choose the Right LLM

Watercolour ribbons frame an uncluttered title

There is no single best LLM for agents. The right model is the one that completes your agent's tasks reliably, within your latency and cost budget, under the data rules that apply to your business. You find it by defining the task, testing a shortlist on your own workload, and reviewing the choice as models and prices change.

This guide sets out that process for UK businesses building customer-facing or back-office agents. It covers the selection criteria, how to test, how to split work between models, the UK privacy and security checks, and how to monitor the choice after launch.

TL;DR

  • Match the model to the task. Simple intake, classification and extraction rarely need the largest model. Planning and error recovery often do.
  • Ignore public leaderboards as a final answer. Build a small evaluation set from your real tasks and score completion, tool-call errors, time and cost per task.
  • Judge cost per completed task, not price per token.
  • Check UK requirements before you commit: data protection, supplier contracts, security controls and human approval for high-risk actions.
  • Treat the model choice as temporary. Re-run your evaluation whenever the model, prompt, supplier terms or workload changes.

Table of Contents

What model selection means for an agent

A chatbot answers a question. An agent plans, calls tools, reads results and decides what to do next. That changes what you need from a model. A model that writes fluent text can still fail as an agent if it produces malformed tool calls, drifts from instructions or loses track of a multi-step task.

Model selection is therefore the process of evaluating and choosing the model that powers each part of your agent, against the job it has to do. The model shapes cost, speed, reasoning depth and what the agent can do at all. It is also a decision you will make more than once, because the model market moves quickly.

The UK Government's Generative AI framework tells public bodies to select the most appropriate model for their use case. The same principle applies in the private sector: start from the use case, not from the model.

Start with a task profile

Before you compare any model, write down what the agent actually does. Guidance on agent model selection for 2026 recommends defining a task profile covering steps per trajectory, tool schemas and cost and latency budgets before benchmarking anything.

A useful task profile answers these questions:

  • What is the job? For example, answering customer enquiries from your own documents, triaging an inbox, booking appointments or processing invoices.
  • How many steps does a typical run take? An agent that makes two tool calls has different needs from one that makes twenty.
  • Which tools does it call? List each tool and its input schema. Strict schemas test a model's ability to produce valid calls.
  • What is the latency budget? A voice agent on a live call has seconds. An overnight reconciliation job has hours.
  • What is the cost ceiling per task? Work this out from the value of the task, not from the model's price list.
  • What is the cost of an error? A wrong answer in a marketing draft is cheap. A wrong refund or a wrongly disclosed record is not.

This profile becomes the brief for every later decision. It also stops the common mistake of choosing the most powerful model by default and paying for capability the task never uses.

The criteria that matter for agents

IBM's documentation on choosing an AI model for an agent says to match the model to task complexity and balance accuracy, latency and cost. It also notes that third-party models may be worth considering for regional availability or compliance needs. For agents, those headline factors break down into more specific checks.

Tool-calling reliability

This is the first thing to test. Recent guidance lists tool-calling reliability, measured as the rate of valid, schema-compliant calls, alongside instruction following and structured-output validity as the key criteria for agent models in 2026. An agent that calls a tool with a missing field either fails or, worse, does something unintended.

Instruction following

Agents run on system prompts full of rules: tone, escalation triggers, what never to say. A model that follows these rules in a short test but drops them in a long conversation is a risk. Test with long, messy, realistic inputs.

Reasoning depth

Planning a multi-step task, recovering when a tool returns an error and deciding when to stop all need stronger reasoning. Routine steps do not.

Latency

In an agent loop, delay compounds. Every step waits on the model, so a slow model multiplies across a trajectory. Measure end-to-end time for a full task, not only the speed of one response.

Cost per completed task

Token price is a poor guide on its own. The better measure is cost per full task trajectory, which includes retries, tool-call loops and the tokens spent on context. A cheaper model that needs three attempts can cost more than a dearer one that succeeds first time.

Domain fit

The UK Government framework suggests that organisations with domain-specific requirements, such as medical or security applications, consider pre-tuned or specialised models to reduce time to production compared with general-purpose foundation models. Government guidance on coding assistants also observes that code-specific models can give comparable results faster and with far less energy than state-of-the-art foundation models.

Grounding in your own data

If the agent has to give reliable information about your products, policies or prices, the model alone is not enough. The same UK framework describes retrieval augmented generation (RAG) as a critical step for factual accuracy when a model must provide dependable information. This shifts the selection question: you need a model that uses retrieved context faithfully and says so when the context does not contain the answer.

Why public benchmarks are not enough

Public leaderboards measure general ability on fixed tests. Your agent faces your documents, your tools and your customers' phrasing. A model near the top of a leaderboard can still handle your tool schemas badly, and a lower-ranked one can suit your workload well.

Guidance on agentic model selection says to compare models on your own evaluation set, replaying the same tasks and scoring task completion, tool-call errors, tokens, wall-clock time and cost per task. Use leaderboards only to build the shortlist.

How to run a model comparison

  1. Collect real tasks. Pull 50 to 200 representative cases from tickets, emails, call transcripts or workflow logs. Include awkward ones: ambiguous requests, missing data, angry customers, requests the agent should refuse.
  2. Define what good looks like. For each case, write the expected outcome or a scoring rule. Decide which failures are tolerable and which are not.
  3. Shortlist three to five models. Include a large model, a mid-sized one and a small, fast one. Add a specialised model if your domain suggests it.
  4. Replay identically. Use the same prompts, tools and context for each model. Change one variable at a time.
  5. Score the metrics. Record completion rate, invalid tool calls, retries, tokens, time and cost per task.
  6. Review failures by hand. Averages hide the pattern. Read the cases where each model fails and ask whether a prompt change, a better retrieval step or a different model would fix them.
  7. Add safety cases. The UK Government framework recommends logging and auditing interactions and analysing metrics across hallucinations, toxicity, fairness, robustness and business key performance indicators. Build cases that probe each of these for your use.

A table of results helps the business decision. A simplified example of the layout:

MeasureLarge modelMid-sized modelSmall model
Task completion rateHighestClose behindLower on complex cases
Invalid tool callsFewestFewMore frequent
Time per full taskSlowestModerateFastest
Cost per completed taskHighestModerateLowest, if retries stay low

The pattern is illustrative. Your own results decide, and they will often surprise you.

Use more than one model

Most production agents work better with a mix. A cascade routes simple work such as extraction or classification to cheaper, smaller models and reserves larger frontier models for complex planning and error recovery.

Cascade routes simple and complex agent tasks

One practitioner view, from a 2026 guidebook on matching capability to work, is that a mature agent system should not expect a single model to excel at every task. It recommends decomposing the work so lighter models handle routine intake and stronger models handle complex reasoning.

A customer-service agent shows how this works in practice:

  • A small model classifies the incoming message and extracts the order number.
  • A mid-sized model drafts the reply using retrieved policy text.
  • A larger model is called only when the case involves a dispute, several systems or an unusual request.
  • A human approves anything above a set risk threshold.

Routing adds engineering work, so use it where volume makes the saving real. For a low-volume agent, one well-chosen model is often simpler and cheaper overall, because fixed costs such as hosting and any fine-tuning weigh more when requests are few.

Quality, speed and cost trade-offs

These three pull against each other, and the balance depends on the task profile.

Quality versus cost. Deloitte UK's perspective is that model economics must be judged against realised workload, quality and business outcomes, because no single cross-supplier measure combines consumption, quality and outcome. In practice, compare cost per accepted outcome, not per token.

Speed versus depth. Voice and live chat agents need fast first responses. Background agents can afford slower, deeper reasoning. Parallel tool execution also helps: one 2026 research note describes fetching from several independent sources at once as a major performance optimisation compared with doing it step by step.

Reliability versus flexibility. The more autonomy the agent has, the more a single bad decision can cost. Constrain the agent with schemas, tool limits and approval steps, then choose the cheapest model that stays reliable inside those limits.

If you want to see where an agent loses time in tool use, agent execution time monitoring gives engineering teams visibility of slow steps and failures in the systems around the model.

UK privacy, security and deployment checks

The model choice is also a data protection and security decision. Check these before you commit.

Data protection and suppliers

The ICO's guidance on contracts and third parties says organisations should do due diligence on accuracy, bias, explainability and data sources. It also says to put accuracy KPIs or SLAs in supplier contracts, obtain model documentation and fairness evidence, and specify processor measures such as encryption, minimisation or pseudonymisation, resilient systems and backups.

The ICO's guidance on security and data minimisation in AI adds that you should document where personal data moves and is stored, keep audit trails, delete unnecessary intermediate files and stay current on evolving attacks and mitigations. For a model that processes customer data, ask your data protection lead or legal adviser to review the supplier terms and where processing takes place.

Security

The government's Code of Practice for the Cyber Security of AI, published on 31 January 2025, asks organisations to assess AI-specific security risks and design systems to withstand adversarial attacks, unexpected inputs and failure. It also covers documenting model, dataset and prompt lifecycles, restricting permissions, protecting sensitive data, securing APIs and access controls, separating development environments, keeping vulnerability-disclosure and incident and recovery plans, and testing before deployment.

Autonomy and human approval

Law firm Freshfields' summary of the ICO's 2026 expectations for AI agents says autonomy should be a deliberate, risk-proportionate design choice. It points to guardrails, least-privilege access, tool limits and human approval thresholds for high-risk actions, because failures or malicious instructions can spread across connected systems.

In selection terms, add these to your evaluation: does the model respect permission boundaries, refuse out-of-scope tool use and resist instructions injected through documents or emails?

Monitor and reassess the choice

The best model today is unlikely to be the best model in a year. Deloitte UK recommends monitoring cost per workflow, token and tool consumption, retries, latency, throughput, quality, failures, safety, user corrections and business outcomes. It also advises re-running controlled evaluations on representative and high-risk cases whenever the model, prompt, application, supplier terms or workload changes materially. Commitments should be reviewed at least quarterly and at renewal, with versioning, canaries, rollback and an alternative route in place.

Microsoft's engineering guidance takes the same line: treat model, prompt, tool and agent changes like production changes, with regression datasets, production traces, monitoring of quality, latency, cost and throughput, and versioning and rollback controls.

A practical routine:

  • Keep your evaluation set under version control and add every real failure to it.
  • Re-run it before any model upgrade or prompt change.
  • Keep a second model configured as a fallback.
  • Review cost per completed task every quarter.

Our perspective

Clients often ask us which model is best. The honest answer is that it depends on the job, and that the job is easier to define than most teams expect.

We start from the task, not the model. We build a working demo quickly, run it on real examples from your business and let the results show which model, or which mix of models, earns its place. Where the agent has to answer from your own documents, we pair the model with retrieval so answers rest on your content.

We also design for change. Models and prices move, so we keep the model layer swappable and the evaluation set reusable. Our aim is that you own the solution and can move to a better model without rebuilding the agent. Ongoing support after launch covers that review.

Oded

Work with us on your agent

We build custom AI agents for UK businesses, including RAG, voice, chat and email agents, and handle model selection and integration as part of the project. Our approach is working demos in days, fixed pricing, GDPR compliance, full ownership of the finished solution and support after launch. If you have a use case and want a shortlist tested against it, see our AI agent and automation services. If you want to prove the idea first, our Rapid MVPs are built for that, and our AI integrations and enablement work connects the chosen model to your existing systems.

FAQ

What is the best LLM for agents?

No single model wins on every task. The best choice is the one that scores highest on your own evaluation set for tool-call validity, task completion, speed and cost per completed task. Most teams end up with a small shortlist and sometimes a mix of models.

Should I use one model or several?

Several models suit high-volume agents, where routing simple steps to a smaller model saves money and time. A single model is often simpler for low-volume agents. Test both options against your task profile.

How many test cases do I need?

Start with 50 to 200 real cases that include awkward and high-risk examples. Add every production failure to the set over time. The set matters more for its realism than for its size.

Can I use a model hosted outside the UK?

Possibly, but it needs a data protection review. Check where processing takes place, the supplier's contract terms and the safeguards in place, using the ICO's guidance on contracts and third parties. Your data protection lead or legal adviser should sign this off before launch.

How often should I review the model choice?

Review at least quarterly and at contract renewal. Re-run your evaluation whenever the model, prompt, supplier terms or workload changes materially.

Sources

Recommended

All guides