Overview
SWE-2.1 is the coding model behind Cognition's Devin, released on 24 November 2026 as a major upgrade over SWE-2. Like its predecessor it starts from Moonshot AI's Kimi K3 and is trained with reinforcement learning; Cognition says the run mixed short- and long-horizon tasks and used new algorithms to control rollout length, which reduced training instability. It ships in three forms: SWE-2.1 itself, SWE-2.1 Ultrafast — the same model served at 10× the speed through a partnership with Cerebras — and SWE-2.1 Cyber, a version with more permissive safeguards rolling out to Devin Security for defensive work.
Against SWE-2, the gains in Cognition's published table are large: FrontierCode 2.0 rises from 24.1 to 41.3, Terminal-Bench 4.1 from 24.2 to 50.0, ProgramBench from 17.0 to 44.0 and SWE Marathon v1.2 from 32.5 to 54.9. The same table places it below the frontier general models on most coding rows — Claude Opus 5.5 scores 47.3 on FrontierCode 2.0 and 65.8 on Terminal-Bench 4.1, and GPT-6.2 Sol 66.0 on ProgramBench — while it beats Moonshot's newer Kimi K3.1 on FrontierCode 2.0 (41.3 vs 19.9) and SWE Marathon (54.9 vs 38.8).
Cognition puts particular weight on security work. SWE-2.1 scores 80.0 on ExploitBench (36.1 for SWE-2), 27.3 on ExploitGym success and 44.8 on ExploitGym flag capture, and 65.8 on CWE-Bench v2 Public, and Cognition reports that its ExploitGym results improve log-linearly as the time horizon grows, more steeply than the base model's. During training the team red-teamed its sandboxes and ran a canary evaluation in which the model tries to escape; the model found new sandbox vulnerabilities four times, each of which alerted researchers. The standard model ships with safeguards against high-harm activities, which the Cyber variant relaxes for defenders.
Weights are not published and the launch post lists no API or per-token price; access is through Devin Desktop, Cloud and CLI. Cognition made it free on Desktop and CLI through 8 December 2026 and discounted until 30 January 2027. In its speed chart, SWE-2.1 generates about 60 tokens per second and SWE-2.1 Ultrafast about 600.
| Released | 2026-11-24 |
|---|---|
| License | Proprietary |
| Weights | API only |
| Architecture | Trained with reinforcement learning on Moonshot AI's Kimi K3, the same base as SWE-2 |
| Modalities | Text |
| Status | Generally available — in Devin Desktop, Cloud and CLI; SWE-2.1 Cyber rolling out to Devin Security |
Benchmarks
SWE-2.1 against the field on coding benchmarks, as published by Cognition at launch (upstream scores where available, otherwise Cognition's internal framework; ProgramBench counts tasks where at least 95% of tests pass)
| Benchmark | SWE-2.1 | SWE-2 | Kimi K3.1 | Grok 4.7 | Muse Wonder | Gemini 4 Neon | GPT-6.2 Sol | Claude Opus 5.5 |
|---|---|---|---|---|---|---|---|---|
| Terminal-Bench 4.1 | 50% | 24.2% | 59.7% | 38.8% | 47% | 65.2% | 61.5% | 65.8% |
| FrontierCode 2.0 | 41.3% | 24.1% | 19.9% | 28.9% | 25.3% | 46.2% | 43.8% | 47.3% |
| ProgramBench | 44% | 17% | 31.5% | 21.5% | 50% | 45% | 66% | 65% |
| SWE-Atlas QA | 71% | 63.7% | 70.2% | 73.4% | 73.4% | 71.8% | 61.3% | 77.4% |
| SWE Marathon v1.2 | 54.9% | 32.5% | 38.8% | 7.9% | 30% | 58.1% | 68.8% | 73.1% |
This model's scores
- FrontierCode 2.041.3%
- Terminal-Bench 4.150%
- ProgramBench44%
- SWE-Atlas QA71%
- SWE Marathon v1.254.9%
- ExploitBench80%
- CWE-Bench v2 Public65.8%
Scores on a 0–100 scale (25-point gridlines); higher is better. Each benchmark links to its published source.
Strengths
- Large step over SWE-2 in Cognition's table: FrontierCode 2.0 41.3 vs 24.1, Terminal-Bench 4.1 50.0 vs 24.2, ProgramBench 44.0 vs 17.0
- 80.0 on ExploitBench and 44.8 on ExploitGym flag capture, with results that keep improving as the time horizon grows
- SWE-2.1 Ultrafast serves the same model at 10× the speed (about 600 tokens/s) via Cerebras
- A separate SWE-2.1 Cyber variant with more permissive safeguards for defensive security teams in Devin Security
- Long-horizon training aimed at autonomous work that runs for hours, not chat turns
Best for
- Long-running software engineering tasks delegated to Devin Desktop, Cloud or CLI
- Urgent incident work where SWE-2.1 Ultrafast's 10× speed matters more than cost
- Defensive security work — vulnerability discovery and exploit validation — through SWE-2.1 Cyber in Devin Security
- Rebuilding or porting whole programs, the kind of task ProgramBench and SWE Marathon measure
How to access
| Provider | Model ID |
|---|---|
| Devin (Cognition) ↗ | — |
SWE — every version
The full lineage of the SWE line, newest first. Every version has its own page — click any to compare specs, benchmarks and pricing.
| Version | Released | Context | License |
|---|---|---|---|
| SWE-2.1current | 2026-11-24 | — | Proprietary |
| SWE-2 | 2026-09-10 | — | Proprietary |
FAQ
What is the difference between SWE-2.1, SWE-2.1 Ultrafast and SWE-2.1 Cyber?
They share one model. Ultrafast serves it at 10× the speed through Cognition's partnership with Cerebras — about 600 tokens per second against 60 in Cognition's chart. Cyber is a version with more permissive safeguards, rolling out to Devin Security for defensive security work; the standard model keeps safeguards against high-harm activities.
What model is SWE-2.1 built on?
Moonshot AI's Kimi K3, the same base as SWE-2. Cognition says SWE-2.1 is trained with pure reinforcement learning on it, on a mix of short- and long-horizon tasks.
How much better is SWE-2.1 than SWE-2?
In Cognition's launch table SWE-2.1 scores 41.3 on FrontierCode 2.0 (SWE-2: 24.1), 50.0 on Terminal-Bench 4.1 (24.2), 44.0 on ProgramBench (17.0), 54.9 on SWE Marathon v1.2 (32.5) and 80.0 on ExploitBench (36.1).
Is SWE-2.1 open source or available by API?
No weights are published, and the launch post mentions no API or per-token price. SWE-2.1 is used through Devin Desktop, Cloud and CLI; Cognition made it free on Desktop and CLI through December 8, 2026 and discounted until January 30, 2027.
What is SWE-2.1's context window?
Cognition does not state one. Its ProgramBench note says SWE-2.1 and SWE-2 ran with a 250K-token context and up to three compactions (1M tokens in total), which is an evaluation setting rather than a product specification.
