GLM 5.3 Flash is the cheapest model per task on chat, PDF summaries and ticket classification, and its LMArena Text score of 1474 is respectable. It is not the cheapest on a 50-step agent run, where GPT-6 Luna wins. Token price alone does not predict task cost, because reasoning tokens, tokenizer differences and caching change the ranking.
How I measured
I ran the chat, summary and ticket tasks through OpenRouter on 12 models, one run per task at default settings, with output capped at 16,000 tokens. Other models are estimated from those token profiles. The 50-step agent run is modeled, not measured: an 8,000-token system prompt, 1,500 tokens of added context per step and 300 visible output tokens per step. Reasoning tokens are billed as output tokens, so a model that thinks at length costs more than its output price suggests. The full method is on the methodology page.
Across all 336 models, the median cost is 0.24¢ for a chat answer, 0.78¢ for a PDF summary, 0.68¢ for ticket classification and 46¢ for the agent run.
Cost per task next to quality
Costs are per task. Prices are list prices per 1M tokens. Claude Haiku 5.5 has no LMArena score in my price data.
| Model | Input / output per 1M | Chat answer | 20-page summary | Classify 100 tickets | 50-step agent | LMArena Text |
|---|---|---|---|---|---|---|
| GLM 5.3 Flash | $0.046 / $0.074 | 0.01¢ | 0.07¢ | 0.06¢ | 7.2¢ | 1474 |
| GPT-6 Luna | $0.10 / $0.50 | 0.06¢ | 0.16¢ | 0.06¢ | 4.1¢ | 1443 |
| Claude Haiku 5.5 | $0.10 / $0.50 | 0.07¢ | 0.22¢ | 0.09¢ | 6.6¢ | not listed |
| DeepSeek V4.1 Flash | $0.14 / $0.42 | 0.27¢ | 0.27¢ | 0.22¢ | 6.3¢ | 1475 |
| GLM 5.3 | $0.07 / $1.40 | 0.25¢ | 0.34¢ | 1.1¢ | 22¢ | 1478 |
| Gemini 3.8 Flash | $0.82 / $4.12 | 0.68¢ | 1.6¢ | 2.9¢ | 50¢ | 1496 |
| Claude Sonnet 5.5 | $2.00 / $10.00 | 1.3¢ | 4.5¢ | 0.89¢ | 84¢ | 1475 |
| Claude Opus 5.5 | $4.00 / $20.00 | 2.5¢ | 8.9¢ | 1.8¢ | $1.68 | 1508 |
The cheapest tier is nearly the same on chat, summary and tickets. The agent column reorders it.
Why a cheap token price does not mean a cheap task
Reasoning tokens. DeepSeek V4.1 Flash has an output price of $0.42 per 1M tokens, yet it used 5,461 reasoning tokens on a single chat answer, against 391 output tokens and 1,391 reasoning tokens for GLM 5.3 Flash. That is why its chat answer cost 0.27¢ rather than something near the cheapest. On ticket classification it used 4,462 reasoning tokens. Reasoning is billed at the output rate.
Reasoning mode can also help. Claude Sonnet 5.5 used 0 reasoning tokens in my chat run, but it wrote 1,256 output tokens at $10.00 per 1M, which put the answer at 1.3¢.
Tokenizers. The same English document produces different token counts by vendor. Relative to OpenAI at 1.00, the Anthropic ratio is 1.39. Claude Haiku 5.5 and GPT-6 Luna both list $0.10 input, but on the agent run Haiku processed 3,101,175 input tokens against 2,237,500 for Luna. Haiku cost 6.6¢ and Luna 4.1¢.
Input-heavy work and caching. The agent run sends over 2 million input tokens per task, so input price and cached input price dominate. GPT-6 Luna cost 4.1¢ with caching and $0.23 without. GLM 5.3 Flash cost 7.2¢ with caching and $0.11 without, so its cached input rate of $0.03 per 1M works against it, while Luna's is $0.01.
Output price skew. Kimi K3 lists $0.16 input but $20.00 output per 1M tokens. Its chat answer cost 2.7¢, far above models with similar input prices.
Context window. Most models here offer around 1,000,000 tokens, so a 20-page PDF is not a limit. Command A+ has 192,000 and Nemotron 3 Ultra 262,144. Context is mostly a constraint, not a cost driver.
The shortlist
Cheapest overall
GLM 5.3 Flash: 0.01¢ per chat answer, 0.07¢ per PDF summary and 0.06¢ per ticket batch (tied with GPT-6 Luna). For agent runs, choose GPT-6 Luna at 4.1¢.
Best quality per dollar
GLM 5.3 Flash again. It scores 1474 at 0.01¢ per chat answer. DeepSeek V4.1 Flash scores 1475 but costs 0.27¢ for the same answer. If you want a higher score, Gemini 3.8 Flash scores 1496 at 0.68¢ per chat answer. Claude Opus 5.5 scores 1508 at 2.5¢, and I would pay that only where the gap matters.
When a cheap model is a false saving
- Low quality. Llama 4 Maverick costs 0.11¢ per chat answer, but its LMArena Text score is 1327, the lowest among models with a score in my price data. An answer you must redo is not a saving.
- Agent workloads. The cheapest single-task model, GLM 5.3 Flash, cost 7.2¢ on the agent run against 4.1¢ for GPT-6 Luna.
- Heavy reasoning on simple tasks. Mistral Small 4 used 6,565 reasoning tokens on ticket classification and cost 0.46¢, versus 0.06¢ for GPT-6 Luna.
To test your own workload, use the calculator. Full rankings are on the chatbot answer and AI agent task pages, and model details are on GLM 5.3 Flash and GPT-6 Luna.
| # | Model | Cost per task | WebDev score | Tokens in / out | Basis | |
|---|---|---|---|---|---|---|
| 1 | DeepSeek V4.1 FlashDeepSeek | 2.7¢$26.61 / 1,000 | 1619 | 2,235,262 / 102,435 | modeled best value | |
| 2 | GPT-6 LunaOpenAI | 4.1¢$40.71 / 1,000 | 1579 | 2,237,500 / 22,000 | modeled | |
| 3 | MiMo-V2.6-ProXiaomi | 6.5¢$64.51 / 1,000 | 1625 | 2,241,975 / 24,380 | modeled best value | |
| 4 | Claude Haiku 5.5Anthropic | 6.6¢$66.35 / 1,000 | 1589 | 3,101,175 / 50,340 | modeled | |
| 5 | GLM 5.3 FlashZ.ai | 7.1¢$71.44 / 1,000 | 1607 | 2,239,737 / 43,814 | modeled | |
| 6 | GPT-5.4 NanoOpenAI | 8.7¢$86.92 / 1,000 | 1401 | 2,237,500 / 22,000 | modeled | |
| 7 | Qwen3.8 FlashAlibaba Qwen | 9.2¢$92.31 / 1,000 | - | 2,259,875 / 96,000 | modeled | |
| 8 | Mistral Small 4Mistral | 13¢$135 / 1,000 | - | 2,304,625 / 147,800 | modeled | |
| 9 | Gemini 3.1 Flash LiteGoogle | 17¢$166 / 1,000 | - | 2,194,987 / 61,865 | modeled | |
| 10 | MiniMax M3MiniMax | 18¢$182 / 1,000 | 1483 | 2,221,837 / 24,245 | modeled |
FAQ
Which AI model is cheapest for a single chat answer?
GLM 5.3 Flash, at 0.01¢ per answer in my measurements. GPT-6 Luna and Claude Haiku 5.5 follow at 0.06¢ and 0.07¢.
Is the cheapest model also cheapest for agent runs?
No. On the modeled 50-step agent run, GPT-6 Luna cost 4.1¢ and GLM 5.3 Flash cost 7.2¢. Cached input pricing and reasoning tokens drive the difference.
Should I always pick the cheapest model?
No. Llama 4 Maverick is cheap per chat answer but has an LMArena Text score of 1327. GLM 5.3 Flash or DeepSeek V4.1 Flash give a better balance of cost and score.