Best AI model for coding
The best AI model for coding on current benchmarks is Claude Fable 5.2 (Anthropic): as of November 28, 2026 it has the highest FrontierCode 2.0 score TensorFeed tracks, 50.2%, 2.9 points ahead of Claude Opus 5.5 (47.3%), among 28 models scored. On Terminal-Bench 4.0, Claude Opus 5.5 leads (65.2%).
Ranked on FrontierCode 2.0. Benchmark data as of November 28, 2026; prices as of December 3, 2026.
FrontierCode 2.0: 46.2%. $3.00 / $15.00 per 1M tokens.
Ranking on FrontierCode 2.0
Each score links to its source; vendor-reported and independent figures are labeled and are not interchangeable.
| # | Model | Provider | FrontierCode 2.0 | Price in / out | TFII | Terminal-Bench 4.0 | SWE-bench |
|---|---|---|---|---|---|---|---|
| 1 | Claude Fable 5.2 | Anthropic | 50.2%independent | $8.00 / $40.00 | - | 65.15% | - |
| 2 | Claude Opus 5.5 | Anthropic | 47.3%independent | $4.00 / $20.00 | 94.7 | 65.15% | - |
| 3 | Gemini 4 Neon | 46.2%independent | $3.00 / $15.00 | - | 61.62% | - | |
| 4 | GPT-6.2 Astra | OpenAI | 44.2%independent | $8.00 / $40.00 | - | 63.13% | - |
| 5 | GPT-6 Astra | OpenAI | 44%independent | $10.00 / $50.00 | 81.7 | 59.6% | - |
| 6 | GPT-6.2 Sol | OpenAI | 43.8%independent | $2.00 / $10.00 | - | 60.61% | - |
| 7 | Gemini 4 Carbon | 42.6%independent | $4.00 / $20.00 | - | 63.13% | - | |
| 8 | Claude Sonnet 5.5 | Anthropic | 42.2%independent | $2.00 / $10.00 | 91.4 | 64.14% | - |
| 9 | GPT-6.1 Sol | OpenAI | 39.6%independent | $2.00 / $10.00 | - | 55.05% | - |
| 10 | Gemini 4 Hydrogen | 38.9%independent | $1.50 / $7.50 | - | 54.04% | - | |
| 11 | GPT-6 Sol | OpenAI | 34.9%independent | $2.00 / $10.00 | - | 44.44% | - |
| 12 | Claude Fable 5.1 | Anthropic | 34%independent | $10.00 / $50.00 | 87.8 | 58.08% | - |
| 13 | Grok 4.7 | xAI | 28.9%independent | $2.00 / $6.00 | - | 28.79% | - |
| 14 | GPT-5.6 Sol | OpenAI | 28.9%independent | $5.00 / $30.00 | 74.4 | 37.88% | 96.2% |
| 15 | Claude Haiku 5.5 | Anthropic | 28.9%independent | $0.10 / $0.50 | 67.7 | 36.36% | - |
| 16 | Claude Opus 5 | Anthropic | 28.1%independent | $5.00 / $25.00 | 82.3 | 53.54% | 97% |
| 17 | Gemini 4 Argon | 27.6%independent | $4.00 / $20.00 | - | 57.58% | - | |
| 18 | Muse Wonder | Meta | 25.3%independent | $4.00 / $20.00 | - | 49.49% | - |
| 19 | GPT-5.5 | OpenAI | 23.6%independent | $5.00 / $30.00 | 66.7 2024 set | - | 82.6% |
| 20 | GPT-6 Luna | OpenAI | 22.7%independent | $0.10 / $0.50 | - | 13.64% | - |
| 21 | Inkling 2 Small | Thinking Machines | 22.6%independent | $0.30 / $1.00 | - | 12.63% | - |
| 22 | GLM-5.3 | Z.ai | 20.2%independent | $1.40 / $4.40 | 69.6 | 38.89% | 95.4% |
| 23 | Kimi K3.1 Pro | Moonshot AI | 19.9%independent | $2.00 / $10.00 | 86.7 | 63.64% | - |
| 24 | Mistral Large 4 | Mistral | 19.7%independent | $0.70 / $2.10 | - | 26.26% | - |
| 25 | Kimi K3 | Moonshot AI | 18.9%independent | $3.00 / $15.00 | 63.6 | 17.17% | 93.4% |
| 26 | Claude Opus 4.8 | Anthropic | 15.3%independent | $5.00 / $25.00 | 66.5 | 23.23% | 88.6% |
| 27 | GLM-5.3 Flash | Z.ai | 14.9%independent | $0.15 / $0.50 | 60.8 | 37.37% | 92% |
| 28 | Muse Spark Open | Meta | 6.5%independent | $1.25 / $4.25 | - | 6.57% | - |
Prices are list prices per 1M input / output tokens. TFII is the headline TensorFeed Intelligence Index score; scores marked 2024 set come from older benchmarks and are not comparable with the rest.
How this is ranked
FrontierCode 2.0 asks whether a patch is good enough to merge, not only whether it passes tests. It covers 132 real repository tasks, including security patches and performance optimizations. Cognition replaced v1.1 with it on October 27, 2026, and it covers the November flagships that v1.1 does not. SWE-bench Verified, the old default, is saturated (Vals AI archived its board on September 1, 2026, and the newest flagships do not report it), so it is shown for reference only. Terminal-Bench 4.0 sits alongside as the broader test of long, unattended work in a terminal.
Models on this board run in different coding agents, such as Claude Code, Codex, Antigravity CLI, or Devin CLI, so a gap can come from the agent as well as the model, and a point or two between leaders is not decisive. Scores are each model at its best effort level and cannot be compared with v1.1. The TensorFeed index and paid routing still use v1.1, so they can rank models differently.
The full board, scoring notes and score ranges are on the FrontierCode 2.0 leaderboard. The same scores are free as JSON at /api/benchmarks.
Questions
What is the best AI model for coding?
The best AI model for coding on current benchmarks is Claude Fable 5.2 (Anthropic): as of November 28, 2026 it has the highest FrontierCode 2.0 score TensorFeed tracks, 50.2%, 2.9 points ahead of Claude Opus 5.5 (47.3%), among 28 models scored. On Terminal-Bench 4.0, Claude Opus 5.5 leads (65.2%).
Which of the top AI models for coding is cheapest?
Of the five highest FrontierCode 2.0 scores TensorFeed tracks, the lowest-priced model with a list price is Gemini 4 Neon (46.2%), at $3.00 input and $15.00 output per 1M tokens as of December 3, 2026.
Why rank AI models for coding on FrontierCode 2.0?
FrontierCode 2.0 asks whether a patch is good enough to merge, not only whether it passes tests. It covers 132 real repository tasks, including security patches and performance optimizations. Cognition replaced v1.1 with it on October 27, 2026, and it covers the November flagships that v1.1 does not. SWE-bench Verified, the old default, is saturated (Vals AI archived its board on September 1, 2026, and the newest flagships do not report it), so it is shown for reference only. Terminal-Bench 4.0 sits alongside as the broader test of long, unattended work in a terminal.