Best AI model for legal & government

Legal-domain prompts. Not legal advice; check outputs. Ranked by Arena text / industry_legal_and_government, priced against live API rates. 45 models have a published score on this board.

Capability published 2026-10-22 · pricing retrieved 2026-10-25

Most capable
Claude Opus 5
Anthropic
$10.00 / 1M blended
100% of leader strength
anthropic/claude-opus-5
Best value
Gemini 3.7 Flash
Google
$1.50 / 1M blended
91% of leader strength · 85% cheaper
google/gemini-3.7-flash
Budget
DeepSeek V4 Flash 0731
DeepSeek
$0.07 / 1M blended
74% of leader strength · 99% cheaper
deepseek/deepseek-v4-flash-0731
Best for agents
Gemini 3.7 Flash
Google
$1.50 / 1M blended
91% of leader strength · 85% cheaper
google/gemini-3.7-flash

Top 25 models for legal & government

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 Opus 5
anthropic/claude-opus-5
Anthropic 1529 100% $10.001M tools
2 Gemini 4 Argon
google/gemini-4-argon
Google 1527 99% $4.001.048576M tools
3 Claude Opus 5.5
anthropic/claude-opus-5.5
Anthropic 1516 96% $8.001M tools
4 Claude Fable 5.1
anthropic/claude-fable-5.1
Anthropic 1512 95% $20.001M tools
5 Kimi K3
moonshotai/kimi-k3
Moonshot AI 1502 92% $2.881.048576M tools
6 Gemini 3.8 Flash
google/gemini-3.8-flash
Google 1498 91% $1.661.048576M tools
7 Claude Fable 5
anthropic/claude-fable-5
Anthropic 1498 91% $20.001M tools
8 Gemini 3.7 Flash
google/gemini-3.7-flash
Google 1497 91% $1.501.048576M tools
9 Qwen3.8 Max (0902)
qwen/qwen3.8-max-0902
Qwen (Alibaba) 1494 90% $3.001M tools
10 GLM 5.2
z-ai/glm-5.2
Z.ai (Zhipu) 1486 88% $1.771.048576M tools
11 Claude Sonnet 5.5
anthropic/claude-sonnet-5.5
Anthropic 1480 86% $4.001M tools
12 Gemini 3.6 Flash
google/gemini-3.6-flash
Google 1479 86% $1.501.048576M tools
13 Claude Opus 4.8
anthropic/claude-opus-4.8
Anthropic 1477 85% $10.001M tools
14 GLM 5.3 Flash
z-ai/glm-5.3-flash
Z.ai (Zhipu) 1475 84% $0.241.048576M tools
15 GLM 5.3
z-ai/glm-5.3
Z.ai (Zhipu) 1473 84% $0.411.048576M tools
16 GPT-6.1 Sol
openai/gpt-6.1-sol
OpenAI 1467 82% $4.001.05M tools
17 GLM 5.1
z-ai/glm-5.1
Z.ai (Zhipu) 1465 82% $2.15205K tools
18 DeepSeek V4 Pro 0813
deepseek/deepseek-v4-pro-0813
DeepSeek 1464 81% $0.991.048576M tools
19 DeepSeek V4 Pro 0423
deepseek/deepseek-v4-pro
DeepSeek 1464 81% $0.261.048576M tools
20 Grok 4.5
x-ai/grok-4.5
xAI 1463 81% $3.00500K tools
21 Kimi K2.6
moonshotai/kimi-k2.6
Moonshot AI 1461 81% $1.34262K tools
22 GPT-6 Astra
openai/gpt-6-astra
OpenAI 1461 80% $20.001.05M tools
23 Claude Sonnet 5
anthropic/claude-sonnet-5
Anthropic 1454 79% $4.001M tools
24 Grok 4.20
x-ai/grok-4.20
xAI 1454 79% $1.562M tools
25 Qwen3.7 Plus
qwen/qwen3.7-plus
Qwen (Alibaba) 1452 78% $0.561M tools

Capability: Arena leaderboard dataset (CC-BY-4.0), Arena text / industry_legal_and_government, published 2026-10-22. Pricing: OpenRouter, retrieved 2026-10-25. (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/legal.json | jq .picks

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

Other tasks