WWhichAITry via Vercel AI Gateway
Best for/coding

Best AI models for coding

Coding is the highest-leverage use case for LLMs today. We rank models on code quality, tool-use reliability, and price for typical agent loops.

The podium

Top 3 picks

πŸ₯‡Anthropic
Claude Opus 4.7

Anthropic's flagship. Deep reasoning, long-horizon agents.

coding
10.0
reasoning
10.0
value
6.0
1M context$15.00 / $75.00
πŸ₯ˆDeepSeek
DeepSeek V3

Open-weights reasoning at bargain pricing.

coding
9.0
reasoning
9.0
value
10.0
128K context$0.27 / $1.10
πŸ₯‰Anthropic
Claude Sonnet 4.6

Sonnet strikes back. The price-performance sweet spot.

coding
9.0
reasoning
9.0
value
9.0
1M context$3.00 / $15.00
Full ranking

Runners-up

#ModelContextPrice /M
4GPT-5 OpenAI400K$10.00 / $40.00View β†’
5Qwen 3 Max Alibaba256K$1.20 / $4.00View β†’
6Qwen 3 Coder Alibaba128K$0.50 / $1.50View β†’
7GPT-4.1 OpenAI1M$2.00 / $8.00View β†’
8o4 OpenAI200K$15.00 / $60.00View β†’
Keep learning

Related guides