Best AI model for long inputs

Handling long prompts well. Pair this with the context-window column. Ranked by Arena text / longer_query, priced against live API rates. 44 models have a published score on this board.

Capability published 2026-09-02 · pricing retrieved 2026-09-10

Most capable
Claude Fable 5.1
Anthropic
$20.00 / 1M blended
100% of leader strength
anthropic/claude-fable-5.1
Best value
Gemini 3.8 Flash
Google
$1.50 / 1M blended
94% of leader strength · 93% cheaper
google/gemini-3.8-flash
Budget
DeepSeek V4 Flash 0731
DeepSeek
$0.10 / 1M blended
74% of leader strength · 100% cheaper
deepseek/deepseek-v4-flash-0731
Best for agents
Gemini 3.8 Flash
Google
$1.50 / 1M blended
94% of leader strength · 93% cheaper
google/gemini-3.8-flash

Top 25 models for long inputs

Rows marked frontier are Pareto-optimal — nothing we track is both stronger and cheaper. "Strength" rescales the board so 100% = parity with the leader.

#ModelProviderScoreStrength$/1MContextTools
1 Claude Fable 5.1
anthropic/claude-fable-5.1
Anthropic 1527 100% $20.001M tools
2 Claude Opus 4.6
anthropic/claude-opus-4.6
Anthropic 1516 97% $10.001M tools
3 Claude Opus 5
anthropic/claude-opus-5
Anthropic 1516 97% $10.001M tools
4 Claude Fable 5
anthropic/claude-fable-5
Anthropic 1510 95% $20.001M tools
5 Gemini 3.8 Flash
google/gemini-3.8-flash
Google 1507 94% $1.501.048576M tools
6 Claude Opus 4.7
anthropic/claude-opus-4.7
Anthropic 1498 92% $10.001M tools
7 Gemini 3.7 Flash
google/gemini-3.7-flash
Google 1493 90% $1.501.048576M tools
8 Kimi K3
moonshotai/kimi-k3
Moonshot AI 1492 90% $6.001.048576M tools
9 Qwen3.8 Max (0902)
qwen/qwen3.8-max-0902
Qwen (Alibaba) 1489 89% $3.001M tools
10 GLM 5.3
z-ai/glm-5.3
Z.ai (Zhipu) 1488 89% $2.151.31072M tools
11 Qwen3.7 Max
qwen/qwen3.7-max
Qwen (Alibaba) 1485 88% $2.211M tools
12 Gemini 3.5 Flash
google/gemini-3.5-flash
Google 1483 87% $3.381.048576M tools
13 Claude Sonnet 4.6
anthropic/claude-sonnet-4.6
Anthropic 1480 87% $6.001M tools
14 Claude Opus 4.8
anthropic/claude-opus-4.8
Anthropic 1480 87% $10.001M tools
15 GLM 5.3 Flash
z-ai/glm-5.3-flash
Z.ai (Zhipu) 1479 86% $0.241.31072M tools
16 GPT-5.6 Sol
openai/gpt-5.6-sol
OpenAI 1478 86% $4.001.05M tools
17 Gemini 3.6 Flash
google/gemini-3.6-flash
Google 1475 85% $1.501.048576M tools
18 GLM 5.2
z-ai/glm-5.2
Z.ai (Zhipu) 1472 84% $1.491.048576M tools
19 Grok 4.5
x-ai/grok-4.5
xAI 1469 83% $3.00500K tools
20 GLM 5.1
z-ai/glm-5.1
Z.ai (Zhipu) 1468 83% $1.49205K tools
21 Kimi K2.6
moonshotai/kimi-k2.6
Moonshot AI 1466 83% $1.71262K tools
22 Claude Sonnet 5
anthropic/claude-sonnet-5
Anthropic 1464 82% $4.001M tools
23 DeepSeek V4 Pro 0813
deepseek/deepseek-v4-pro-0813
DeepSeek 1458 80% $1.571.048576M tools
24 DeepSeek V4 Pro 0423
deepseek/deepseek-v4-pro
DeepSeek 1458 80% $1.201.048576M tools
25 Qwen3.8 27B
qwen/qwen3.8-27b
Qwen (Alibaba) 1455 80% $1.061M tools

Capability: Arena leaderboard dataset (CC-BY-4.0), Arena text / longer_query, published 2026-09-02. Pricing: OpenRouter, retrieved 2026-09-10. (input x 3 + output x 1) / 4.

What this measures: Human pairwise preference votes. Measures perceived answer quality on this category, not correctness on a fixed test set. For each model this is the probability it beats the board leader in a head-to-head human vote — 0.50 means a dead tie and is the best possible value.

Get this as JSON

curl -s https://agentleaderboards.com/api/v1/route/long-input.json | jq .picks

No key, open CORS, refreshed daily. Set your own budget and constraints →

Other tasks