Model catalog

The best LLMs for AI agents in 2026

There is no single best LLM for agents, because an agent’s turns differ: GPT-5.5 leads on tool-call reliability, Gemini 3.5 Flash takes high-volume routine turns with 1M context at $1.50 per million input tokens, DeepSeek V4 gives frontier-class reasoning at $1.74, and Claude Opus 4.8 is the escalation tier for steps that must be right. Production agents route between them.

01
GPT-5.5Best tool use
OpenAI · 400K context · $5 in / $30 out per M tokens · Proprietary API

Best-in-class function calling over long agentic sequences, with cached input at a tenth of the list price for the stable system prompts agents resend every turn. When an agent chains ten tool calls and one malformed argument breaks the run, call reliability matters more than price.

02
Gemini 3.5 FlashBest for volume turns
Google · 1M context · $1.50 in / $9 out per M tokens · Proprietary API

1M tokens of context at $1.50 per million input. Most agent turns are routine, read the state, pick the next step, and this is the model that should be taking them.

03
Deepseek V4 ProBest reasoning per dollar
Deepseek · 512K context · $1.74 in / $3.48 out per M tokens · Proprietary API

Frontier-class reasoning at $1.74 per million input tokens and $3.48 out, a fraction of flagship list prices, with 512K context and published cached-input pricing. The pick for reasoning-heavy agent steps where the flagship premium buys little.

04
Claude Sonnet 5Best customer-facing
Anthropic · 1M context · $3 in / $15 out per M tokens · Proprietary API

Careful reasoning with strong writing and judgment. The pick for turns where the agent speaks to a customer and tone, policy, and safety carry real risk.

05
Claude Opus 4.8Best escalation tier
Anthropic · 200K context · $5 in / $25 out per M tokens · Proprietary API

Anthropic’s deepest reasoner at $5 per million input tokens and $25 out. Route the 1% of steps where being right is worth those numbers, and keep everything else on cheaper models.

Provider list prices from the Allocate catalog, checked 2026-07-21.

Route the agent, don’t pick one model

The costly mistake in agent design is running every turn on the model your hardest turn needs. A six-turn task where five turns are routine and one needs deep reasoning costs several times what it should if all six run on a frontier reasoner.

The pattern that works in production: a fast cheap model takes the routine turns, a tool-use specialist takes the steps that call external systems, and a reasoning model takes the judgment calls. On Allocate each of those is a route, and the model behind a route swaps without a deploy.

Cost grows with the square of turn count, because each turn resends the history. Before committing to an architecture, put your real numbers through the agent cost calculator.

Common questions

What matters most in a model for agents?

Function-call reliability first: an agent that formats one tool call wrong loses the whole run. Then latency, because users feel every turn. Then cost per turn, because multi-turn history makes agents far more expensive than single calls at the same list price.

Why not run the whole agent on the best model?

Because most turns don’t need it and every turn resends the full history. Routing routine turns to a cheaper model cuts agent cost by multiples with no visible quality change; the input-price spread on the catalog runs from $0.02 to $5 per million tokens. The hard steps still go to the strong model.

Can open-weight models run production agents?

Yes. GLM 5.2 and Qwen 3.5 handle agent work at open-market prices, and fine-tuning an open base on your resolved cases is how an agent gets better at your workload specifically, something no closed API offers.

How much does an AI agent cost to run?

It depends on turns, prompt size, and caching more than on the headline price. A six-turn task with a 3,000-token system prompt resends that prompt every turn; cached input rates cut most of that. The agent cost calculator models your exact shape, including the multi-turn history growth.

How do I switch models without breaking the agent?

Put a route name between the agent and the model. The agent calls prod/support-agent; which model answers is configuration. On Allocate that swap is one click, with per-route metering to compare before and after.

Every model here sits behind one key on Allocate: route by name, meter per route, and swap the model in one click.