Use case · Agents

Cheapest agent LLMs

The cheapest LLMs that score well on agentic benchmarks. Ranked by price per 1M input tokens.

Models30
Cheapest$0.00
ScopeSWE · tau · WebArena
What this page is
This page ranks every LLM with meaningful agentic scores (SWE-bench, tau-bench, WebArena, GAIA, AgentBench) by input price. Agent workloads spike token consumption because of looping, tool schemas, and retries. Choosing a cheaper model for routine tool calls while reserving frontier models for planning can cut agent bills by 50 to 90 percent.

Models with agent benchmark scores, cheapest first.

#ModelIn $/1MOut $/1MType
1Google DeepMind logoGemma 4 26B A4B (free)$0.00$0.00OSS
2Google DeepMind logoGemma 4 31B (free)$0.00$0.00OSS
3OpenAI logogpt-oss-120b (free)$0.00$0.00OSS
4OpenAI logogpt-oss-20b (free)$0.00$0.00OSS
5liquid logoLFM2.5-1.2B-Instruct (free)$0.00$0.00OSS
6liquid logoLFM2.5-1.2B-Thinking (free)$0.00$0.00OSS
7Alibaba Qwen logoQwen3 Coder 480B A35B (free)$0.00$0.00OSS
8Alibaba Qwen logoQwen3 Next 80B A3B Instruct (free)$0.00$0.00OSS
9ibm-granite logoGranite 4.0 Micro$0.02$0.11OSS
10liquid logoLFM2-24B-A2B$0.03$0.12OSS
11DeepSeek logoDeepSeek V4.1 Flash$0.04$0.01OSS
12OpenAI logogpt-oss-120b$0.04$0.17OSS
13z-ai logoGLM 5.3 Flash$0.05$0.16Closed
14OpenAI logoGPT-5 Nano$0.05$0.40Closed
15ibm-granite logoGranite 4.1 8B$0.05$0.10OSS
16Ring-2.6-1T$0.07$0.63Closed
17z-ai logoGLM 5.3$0.08$1.40Closed
18NVIDIA logoNemotron 3 Super$0.08$0.45OSS
19Google DeepMind logoGemma 4 31B$0.09$0.34OSS
20xiaomi logoMiMo-V2-Flash$0.09$0.29OSS
21Alibaba Qwen logoQwen3 235B A22B Instruct 2507$0.09$0.55OSS
22Alibaba Qwen logoQwen3 Next 80B A3B Instruct$0.09$1.10OSS
23DeepSeek logoDeepSeek V4 Flash$0.09$0.18OSS
24OpenAI logoGPT-6 Luna$0.10$0.50Closed
25Anthropic logoClaude Haiku 5.5$0.10$0.50Closed
26Google DeepMind logoGemini 2.0 Flash$0.10$0.40Closed
27Google DeepMind logoGemini 2.5 Flash Lite$0.10$0.40Closed
28Meta logoLlama 4 Scout$0.10$0.30OSS
29Alibaba Qwen logoQwen3.5-9B$0.10$0.15OSS
30Alibaba Qwen logoQwen3.6 35B A3B$0.10$0.95OSS
Cheapest
Gemma 4 26B A4B (free)
$0.00/M
$ per 1M input tokens
Why the gap

Premium agent models pay for more reliable tool use, fewer hallucinated tool names, and longer-horizon planning. For simple tool loops, the cheap end works fine.

Most expensive
Claude Haiku 5.5
$0.10/M
$ per 1M input tokens
Agents loop. A single task may produce 10 to 100 LLM calls with heavy context re-use. That amplifies input costs (because the system prompt and tool schema repeat) and multiplies output costs for every thinking step.