Choosing a coding model has turned into a moving target. A shortlist drawn up in January 2026 is almost certainly wrong by now, because the vendors retired or replaced most of the models that led the field at the start of the year.
Large language models have settled into everyday development work by now, both as vibe coding and as the engine behind GenAI services. That part of the argument is over. What keeps changing is which model you should point at a codebase, and the answer in November 2026 looks very different from the answer in February.
This page covers 7 models you can actually use today. Each one includes the benchmark figures its vendor publishes, the context window, the license, and the price. We have also listed the models that have gone, because most comparison pages still recommend at least one of them.
How we picked these 7 models
Every model below had to clear 3 tests. Its vendor still supports it, the vendor publishes something measurable about its coding ability, and we could read both facts in the vendor’s own documentation, with no summary in between. We checked every figure in this article on 6 November 2026 against the pages linked beside it.
Something worth saying plainly: no single score can rank these models honestly. The vendors have stopped publishing a common coding benchmark. Anthropic reports Terminal-Bench 4.0, FrontierCode and CursorBench. Google reports Terminal-bench 2.1 and DeepSWE. DeepSeek and Moonshot AI report a mix of both sets. OpenAI publishes no coding benchmark at all on its model pages.
Any composite index across that gap would be an invention, so we have not built one. Where 2 or more vendors do publish the same benchmark at the same version, those figures appear together in the comparison tables further down, and that is the only place a direct comparison is safe.
The older benchmarks have also dropped out of vendor reporting. HumanEval dates from 2021, and most frontier models now saturate it. APPS came out of the same period, from Dan Hendrycks and colleagues at UC Berkeley, with co-authors at UChicago, UIUC, and Cornell. Neither appears in the 2026 model cards from Anthropic, Google, or OpenAI, so neither drives this list.
The benchmarks that vendors do publish
- Terminal-Bench measures agentic work in a terminal, running commands against working repositories. Version numbers make a large difference here, because 4.0 is far harder than 2.1 and the scores are not interchangeable.
- DeepSWE measures long-horizon software engineering, meaning multi-step changes across a codebase, well beyond single functions.
- FrontierCode and CursorBench are Anthropic’s own evaluations, reported for its models and for a small number of competitors.
- Codeforces ratings and ProgramBench cover competitive and algorithmic programming, which is a narrower skill than shipping production code.
The best LLMs for coding right now
We group these 7 by vendor and do not rank them, for the reason given above. Read the entry for the work you actually do, then check the comparison tables to see where the published numbers overlap.
1. Claude Opus 5.5
Vendor: Anthropic. Released 22 September 2026.
Anthropic describes Opus 5.5 as the model that “leads in agentic coding, computer use, and knowledge work”, and publishes Terminal-Bench 4.0 at 66.4% on xhigh effort, FrontierCode v1.1 at 54.4% and CursorBench 4.0 at 57.8%. Anthropic points it specifically at long and sprawling jobs, naming codebase-wide migrations and audits.
That makes it the one to raise first with an LLM development company when the job spans a whole repository instead of one service. Opus 5.5 costs more per task than the Sonnet line, so the saving comes from finishing in one pass.
- 1M tokens context window
- Paid plans and API
- Strongest on codebase-wide migrations, audits and long-running refactors
2. GPT-6.1 Sol
Vendor: OpenAI. Knowledge cutoff: 30 April 2026.
OpenAI’s documentation points to GPT-6.1 Sol for “complex coding, computer use, and professional work”, and positions it as “Near-Astra performance for complex work at a lower cost”. It takes a 1,050,000-token context window with 128,000 tokens of output.
OpenAI publishes no coding benchmark scores on its model pages, which is worth knowing before you compare it against the others here. The one figure in circulation for the Sol line, FrontierCode v1.1 at 49.3%, comes from Anthropic’s comparison table, and it covers GPT-6 Sol, so 6.1 has no published coding figure at all.
- 1,050,000 tokens context window, 128,000 tokens output
- Paid API
- Strongest where Astra would be more reasoning than the task needs
3. Gemini 3.8 Flash
Vendor: Google. Published 2 September 2026, knowledge cutoff March 2026.
Google shipped Gemini 3.8 Flash as the successor to Gemini 3 Pro, which it shut down in March 2026. The model card calls it “engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows,” and backs that with Terminal-bench 2.1 at 89.4% and DeepSWE v1.1 at 73.7%.
Cross-language work suits it, so you get consistent output across Java, Python, and C++ in the same project. Google also reports Terminal-bench 4.0 at 19.1% for this model, filed under general agent capability, so Google does not present it as a coding score. That gap between 2.1 and 4.0 shows how much harder the newer version is.
- Up to 1M tokens input, 64K tokens output
- Paid API, at Flash pricing, below the flagship tier
- Strongest on long-running agent work where the cost per run has to stay low
4. GPT-6 Astra
Vendor: OpenAI. Knowledge cutoff: 30 April 2026.
GPT-6 Astra replaced GPT-5 as OpenAI’s flagship, and the documentation calls it “Our most capable model for the most demanding work”. OpenAI lists it for complex reasoning, coding, computer use, research, and document creation, with the same 1,050,000-token context window and 128,000-token output as Sol.
Astra costs more than Sol across an identical context window, so pick it when the reasoning depth genuinely changes the result. As with Sol, no coding benchmark accompanies it on OpenAI’s model pages.
- 1,050,000 tokens context window, 128,000 tokens output
- Paid API
- Strongest on reasoning-heavy problems that smaller models get wrong
5. Claude Sonnet 5.5
Vendor: Anthropic. Released 28 September 2026.
Sonnet 5.5 arrived at $2 per million input tokens and $10 per million output tokens, prices Anthropic published in September 2026. On Terminal-Bench 4.0, it reaches 70.6%, the highest figure any vendor publishes for that benchmark, and above Anthropic’s own Opus 5.5 at 66.4%.
Anthropic describes it as “strongest at well-scoped everyday tasks, fixing bugs”, and reports FrontierCode v1.1 at 52.1% on xhigh effort with CursorBench 4.0 at 55.5%. For most day-to-day development, that combination of price and published score makes it the sensible default, and the reason to reach for Opus comes down to job size, with quality close between them.
- 1M tokens context window
- $2 per million input tokens, $10 per million output tokens, as published September 2026
- Strongest on scoped work: bug fixes, small features, code review
6. DeepSeek V4.1 Flash
Vendor: DeepSeek. Released 10 September 2026.
DeepSeek put V4.1 Flash out under the MIT license, which puts it in a different category from the 5 models above. You can download the weights, run them on your own hardware, and clear the license through legal review in an afternoon.
The model card publishes Terminal-Bench 2.1 at 90.6 and DeepSWE v1.1 at 74.2, both slightly ahead of Gemini 3.8 Flash on the same 2 benchmarks. Architecture runs to 763B total parameters with 8B active per token at prefill and 16B at decode, so inference costs less than the headline parameter count suggests.
- 1M tokens context window
- Weights are free under the MIT license. Paid API charges at half the rate off-peak
- Strongest for self-hosting and for work that cannot leave your own infrastructure
7. Kimi K3
Vendor: Moonshot AI.
Kimi K3 is the largest open-weight model here, at 2.8T total parameters with 104B activated per token, on a 1,048,576 token context window. Moonshot AI reports Terminal-Bench 2.1 at 88.3, FrontierSWE at 81.2, and ProgramBench at 77.8, and releases the full weights for research and deployment.
The license is the thing to check. The weights fall under the Kimi K3 License, which is neither MIT nor Apache 2.0, so someone has to read it before commercial deployment. On running costs, comparing costs by deepinfra across hosting providers is a sensible first step, because serving 2.8T parameters yourself is a project of its own.
- 1,048,576 tokens context window
- Weights are downloadable under the Kimi K3 License, which is not a standard permissive license.
- Strongest where you want maximum open-weight capability and can fund the hosting
What the published benchmark numbers compare
Only 3 benchmarks appear in more than one vendor’s documentation at the same version. Those are the only safe comparisons on this page, and each figure below is the publisher’s own.
Terminal-Bench 4.0
The hardest of the agentic coding benchmarks in current use, and the most useful single column here.
| Model | Score | Published by |
| Claude Sonnet 5.5 | 70.6% | Anthropic |
| Claude Opus 5.5 | 66.4% (xhigh effort) | Anthropic |
| DeepSeek V4.1 Flash | 31.2 | DeepSeek |
| Gemini 3.8 Flash | 19.1% |
Terminal-Bench 2.1
An earlier and markedly easier version. Scores here cannot be set against the 4.0 column above.
| Model | Score | Published by |
| DeepSeek V4.1 Flash | 90.6 | DeepSeek |
| Gemini 3.8 Flash | 89.4% | |
| Kimi K3 | 88.3 | Moonshot AI |
DeepSWE v1.1
Long-horizon software engineering, meaning changes that span a codebase.
| Model | Score | Published by |
| DeepSeek V4.1 Flash | 74.2 | DeepSeek |
| Gemini 3.8 Flash | 73.7% | |
| Kimi K3 | 67.5 | Moonshot AI |
Across those 3 tables, 2 patterns show up. The open-weight models match or beat Gemini 3.8 Flash on both benchmarks where all 3 publish figures, which was not true a year ago. And Anthropic’s models run far ahead on Terminal-Bench 4.0, although no open-weight vendor has published a 4.0 figure above 31.2 for comparison.
Every figure above is the vendor’s own. Artificial Analysis runs Terminal-Bench 4.0 independently and reports lower scores across the board: Claude Sonnet 5.5 at 63.6%, Claude Opus 5.5 at 59.6% and GPT-6 Astra at 59.1%. Use the vendor columns for what each one claims, and the independent run to compare them on the same terms.
Best open source LLM for coding
Open-weight coding models closed most of the gap during 2026, and the practical question has shifted from capability to licensing. All 3 options below let you download weights and run them yourself. The licenses differ in ways that directly affect commercial deployment.
| Model | License | Context | What you get |
| DeepSeek V4.1 Flash | MIT | 1M tokens | Weights downloadable, permissive license, paid API available |
| Kimi K3 | Kimi K3 License | 1,048,576 tokens | Weights downloadable, custom license needs reading first |
| gpt-oss-120b and gpt-oss-20b | Apache 2.0 | Not published | OpenAI’s own open-weight models, 2 sizes |
For most companies, DeepSeek V4.1 Flash is the straightforward pick, because MIT places no field-of-use restriction and the published benchmark figures are the strongest of the 3. Kimi K3 goes further on raw capability and parameter count, and its custom license is why you should involve a lawyer early. The gpt-oss pair under Apache 2.0 suits smaller deployments, and OpenAI publishes it in 2 sizes so you can match it to the hardware you already run.
Self-hosting changes the shape of the cost, not the size of it. You trade a per-token bill for GPUs, engineers, and uptime, which pays off at volume and rarely pays off below it.
Coding models the vendors retired during 2026
Most comparison pages get this part wrong. The vendors have deprecated or switched off 6 models that appeared on best-of lists through 2026, and other pages were still recommending 2 of them months after the shutdown dates.
| Model | Vendor | Status as of 6 November 2026 |
| Gemini 3 Pro | Discontinued, shut down 9 March 2026 | |
| OpenAI o1 | OpenAI | Shut down 23 October 2026, replaced by gpt-5.6-sol |
| GPT-5.1 Codex-Max | OpenAI | Shut down |
| GPT-5 | OpenAI | Deprecated, API snapshots shut down 11 December 2026 |
| Claude Sonnet 4.5 | Anthropic | Deprecated 30 September 2026, retires 30 November 2026 |
| Claude Opus 4.5 | Anthropic | Still active; retirement not sooner than 24 November 2026 |
Claude Sonnet 4.5 is the one to watch if it appears anywhere in your tooling, because 30 November 2026 is close. Claude Opus 4.5 still runs, and Anthropic has said that retirement will come no sooner than 24 November 2026, so it needs a replacement plan, with no immediate migration required.
The wider lesson for anyone maintaining an internal shortlist: check the vendor’s deprecation page before you check anybody’s ranking. A model that scores well and no longer runs is worth nothing.
How to choose a coding LLM for your own work
Capability differences between the top few models have narrowed to the point where they rarely decide the question. These 5 checks tend to decide it instead.
- Job size. Scoped work such as bug fixes and small features suits Sonnet 5.5 or Gemini 3.8 Flash. Repository-wide migrations and audits suit Opus 5.5 or GPT-6 Astra.
- Where the code can go. Any requirement that source stays on your own infrastructure points to DeepSeek V4.1 Flash or the gpt-oss models, and rules out every paid API here.
- License tolerance. MIT and Apache 2.0 clear legal review quickly. A custom license such as Kimi K3’s needs reading in full before anyone commits to it.
- Cost shape. Per-token pricing suits variable and bursty usage. Self-hosting suits steady high volume, once you count GPU and engineering time honestly.
- Vendor lifecycle. Check the deprecation page and prefer a model released within the last 6 months, because the retirement table above shows how fast this list turns over.
Run your own evaluation on your own repository before you commit. Published benchmarks tell you which models are worth testing. They do not tell you which one handles your codebase, your language mix, and your review process, and that difference shows up within a week of daily use.
Putting a coding model to work with Xavor
The model you pick counts for less than what you wire it into. A coding LLM behind a chat window returns very little, and it starts paying off once it reaches your repositories, your review process, and your deployment pipeline with the right permissions and guardrails around it.
Xavor provides AI engineering across generative, agentic, and conversational AI, backed by 30 years of enterprise software experience. Our developers put these models into actual development workflows, from evaluation on your own codebase through to the integration work that follows.
Send the problem you want a coding model to solve to [email protected], and we will get back to you with an evaluation plan and scope.
FAQs
No single model wins across the board, and the vendors no longer publish a shared benchmark that would settle it. On the hardest benchmark currently in common use, Terminal-Bench 4.0, Claude Sonnet 5.5 reports the highest figure at 70.6%. For self-hosted work, DeepSeek V4.1 Flash leads the open-weight options.
DeepSeek V4.1 Flash is free to download and run under the MIT license, which makes it the strongest genuinely free option. Free refers to the weights, and the running cost stays with you because you still pay for the hardware. OpenAI’s gpt-oss-20b is the easier starting point if your GPU budget is small.
DeepSeek V4.1 Flash, based on the published figures and license terms. It reports Terminal-Bench 2.1 at 90.6, and DeepSWE v1.1 at 74.2, ahead of both Kimi K3 and Gemini 3.8 Flash, and the MIT license puts no restriction on commercial use.