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. 44 models have a published score on this board.

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

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
90% of leader strength · 85% cheaper
google/gemini-3.7-flash
Budget
DeepSeek V4 Flash 0731
DeepSeek
$0.10 / 1M blended
73% of leader strength · 99% cheaper
deepseek/deepseek-v4-flash-0731
Best for agents
Gemini 3.7 Flash
Google
$1.50 / 1M blended
90% 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 1534 100% $10.001M tools
2 Claude Fable 5.1
anthropic/claude-fable-5.1
Anthropic 1528 98% $20.001M tools
3 Claude Opus 4.6
anthropic/claude-opus-4.6
Anthropic 1507 92% $10.001M tools
4 Kimi K3
moonshotai/kimi-k3
Moonshot AI 1503 91% $6.001.048576M tools
5 Gemini 3.7 Flash
google/gemini-3.7-flash
Google 1501 90% $1.501.048576M tools
6 Claude Fable 5
anthropic/claude-fable-5
Anthropic 1496 89% $20.001M tools
7 Qwen3.8 Max (0902)
qwen/qwen3.8-max-0902
Qwen (Alibaba) 1489 87% $3.001M tools
8 Gemini 3.8 Flash
google/gemini-3.8-flash
Google 1488 87% $1.501.048576M tools
9 Gemini 3.5 Flash
google/gemini-3.5-flash
Google 1488 87% $3.381.048576M tools
10 Claude Opus 4.7
anthropic/claude-opus-4.7
Anthropic 1487 87% $10.001M tools
11 GLM 5.3
z-ai/glm-5.3
Z.ai (Zhipu) 1486 86% $2.151.31072M tools
12 Gemini 3.6 Flash
google/gemini-3.6-flash
Google 1483 85% $1.501.048576M tools
13 GLM 5.2
z-ai/glm-5.2
Z.ai (Zhipu) 1474 83% $1.491.048576M tools
14 Qwen3.7 Max
qwen/qwen3.7-max
Qwen (Alibaba) 1472 82% $2.211M tools
15 Claude Opus 4.8
anthropic/claude-opus-4.8
Anthropic 1472 82% $10.001M tools
16 GPT-5.6 Sol
openai/gpt-5.6-sol
OpenAI 1471 82% $4.001.05M tools
17 Claude Sonnet 4.6
anthropic/claude-sonnet-4.6
Anthropic 1471 82% $6.001M tools
18 GLM 5.1
z-ai/glm-5.1
Z.ai (Zhipu) 1470 82% $1.49205K tools
19 GPT-5.6 Terra
openai/gpt-5.6-terra
OpenAI 1468 81% $4.501.05M tools
20 DeepSeek V4 Pro 0813
deepseek/deepseek-v4-pro-0813
DeepSeek 1464 80% $1.571.048576M tools
21 DeepSeek V4 Pro 0423
deepseek/deepseek-v4-pro
DeepSeek 1464 80% $1.201.048576M tools
22 Grok 4.5
x-ai/grok-4.5
xAI 1463 80% $3.00500K tools
23 Claude Sonnet 5
anthropic/claude-sonnet-5
Anthropic 1460 79% $4.001M tools
24 Kimi K2.6
moonshotai/kimi-k2.6
Moonshot AI 1459 79% $1.71262K tools
25 GLM 5.3 Flash
z-ai/glm-5.3-flash
Z.ai (Zhipu) 1456 78% $0.241.31072M tools

Capability: Arena leaderboard dataset (CC-BY-4.0), Arena text / industry_legal_and_government, 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/legal.json | jq .picks

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

Other tasks