Cognition SWE-2.1: The Kimi-Based Coding Model Behind Devin and Windsurf
Cognition’s SWE-2.1 is a coding model based on Moonshot AI’s Kimi K3. It’s available in Devin Desktop, formerly Windsurf, and Devin CLI, with a separate preview in Devin Cloud. Cognition’s launch results show gains over SWE-2 on all five benchmarks in its comparison.
Status as of December 3, 2026: Cognition released SWE-2.1 on November 24 for Devin Desktop and Devin CLI, and Devin’s model docs list Cloud preview access through January 4, 2027.
What Cognition changed in SWE-2.1
Cognition post-trained SWE-2.1 with pure reinforcement learning on Kimi K3, the same base it used for SWE-2. The 2.1 release continues that line of models. SWE-2 arrived on September 10, 2026, while SWE-2 Flash followed on November 4 using Thinking Machines’ Inkling-Small as its base. In Cognition’s launch results, Flash scored 24.0 on FrontierCode 2.0, close to SWE-2’s 24.1. SWE-2.1 scored 41.3. Cognition’s SWE-2.1 announcement
Moonshot lists Kimi K3 as open-weight, with 2.8 trillion total parameters and 104 billion active parameters. Both figures describe the base model. Cognition’s benchmark table uses a separate entry, Kimi K3.1, for its comparison with SWE-2.1, so the training base and the benchmark comparator carry different version names. Moonshot’s Kimi K3 model card
Where to use it in Devin and Windsurf
Windsurf became Devin Desktop on June 2, 2026. If you’re looking for SWE-2.1 in the former Windsurf editor, open the model selector in Devin Desktop. Devin CLI also offers SWE-2.1 through its model selector. Devin Desktop rebrand announcement
Desktop and CLI offer five reasoning effort settings for the model: Low, Medium, High, XHigh, and Max. Both default to Medium. That setting matters when reading Cognition’s published cost comparison, which uses Max for the SWE-2.1 run on FrontierCode 2.0. The Cloud preview has its own access window, with Devin’s model docs listing January 4, 2027, as the end date. Devin model documentation
Confirmed pricing and variants
Standard SWE-2.1 is free on eligible self-serve plans in Devin Desktop and Devin CLI through December 8, 2026, Pacific time. The offer excludes Devin Cloud sessions and the Ultrafast variant. The discounted token rates begin December 9 and run through January 30, 2027, with list rates applying afterward.
| Model and pricing window | Input per million tokens | Output per million tokens | Cache reads per million tokens |
|---|---|---|---|
| Standard SWE-2.1, December 9, 2026–January 30, 2027 | $0.50 | $2.50 | $0.05 |
| Standard SWE-2.1, list rates after January 30, 2027 | $2.00 | $10.00 | $0.20 |
| SWE-2.1 Ultrafast | $5.00 | $25.00 | $0.50 |
Ultrafast and Cyber
SWE-2.1 Ultrafast serves the same model via Cerebras. Cognition called this variant SWE-2.1 Lightning in its LinkedIn announcement. Its demo showed 600 tokens per second versus 60 tokens per second. Those figures describe the demo’s token generation rates. Cognition is also rolling out SWE-2.1 Cyber for standard scans in Devin Security.
Benchmark results and evaluation limits
Cognition’s launch table shows SWE-2.1 beating SWE-2 on every row. Its largest gain was on ProgramBench, from 17.0 to 44.0. Its highest raw score in the table was 71.0 on SWE-Atlas QA, the sole row where it placed ahead of GPT-6.2 Sol. Claude Opus 5.5 finished ahead of SWE-2.1 on all five benchmarks.
| Cognition’s launch benchmarks | SWE-2.1 | SWE-2 | Kimi K3.1 | Claude Opus 5.5 | GPT-6.2 Sol |
|---|---|---|---|---|---|
| Terminal-Bench 4.1 | 50.0 | 24.2 | 59.7 | 65.8 | 61.5 |
| FrontierCode 2.0 | 41.3 | 24.1 | 19.9 | 47.3 | 43.8 |
| ProgramBench | 44.0 | 17.0 | 31.5 | 65.0 | 66.0 |
| SWE-Atlas QA | 71.0 | 63.7 | 70.2 | 77.4 | 61.3 |
| SWE Marathon v1.2 | 54.9 | 32.5 | 38.8 | 73.1 | 68.8 |
The comparison with Kimi K3.1 shows how the ranking changes by task. SWE-2.1 led on four rows, with its widest margin on FrontierCode 2.0 at 41.3 versus 19.9. Kimi K3.1 led on Terminal-Bench 4.1 at 59.7 versus 50.0. Cognition says it used upstream scores where available and that the comparison spans different agent harnesses. The results therefore describe each model in its reported evaluation setup.
What the cost and context numbers measure
Cognition’s FrontierCode 2.0 leaderboard reported a $4.44 cost per rollout for SWE-2.1 Max in Devin CLI. Opus 5.5 Max in Claude Code cost $12.82 per rollout, while GPT-6.2 Sol Max in Codex cost $1.29. GPT-6.2 Sol also scored 43.8 to SWE-2.1’s 41.3 on that benchmark. The rollout figures apply to those specific runs and harnesses. Claude Code vs. Codex
On ProgramBench, Cognition used a 250,000-token context for SWE-2.1 with up to three compactions, allowing 1 million tokens total in that evaluation setup. The 1 million figure is the cumulative allowance for the run. A general product context limit remains unconfirmed.
API access and downloadable weights
Devin’s REST API creates and manages agent sessions. For developers integrating Devin into an application, the documented interface is session management. A public endpoint for direct SWE-2.1 inference remains undocumented in Cognition’s launch materials and Devin’s API overview. Devin REST API overview
Downloadable weights for Cognition’s post-trained model also remain undocumented. Moonshot’s Kimi K3 release is the open-weight base. For a broader reference when comparing model access options, see the AI Prime Tech model catalog.
Reported Cloud deadline and independent testing
In November 26 coverage, Oğuzhan reported December 22, 2026 as the end of the Cloud preview. That earlier deadline remains unverified. Devin’s model documentation lists January 4, 2027, and the timing of the change from the earlier reported date is unclear. Oğuzhan’s November 26 coverage
Agentic Weekly said it had yet to run the model. The coverage reviewed for this article contained no independent reproduction of Cognition’s launch scores. The benchmark table and rollout figures should be read as Cognition’s published results.
Key takeaways
- Cognition used the same Kimi K3 base for SWE-2 and SWE-2.1, with pure reinforcement learning for SWE-2.1’s post-training.
- Standard SWE-2.1 is free on eligible Desktop and CLI plans through December 8, Pacific time. The documented Cloud preview runs through January 4, 2027.
- SWE-2.1 improved on SWE-2 across all five launch benchmarks. Opus 5.5 led SWE-2.1 on all five, and GPT-6.2 Sol led on four.
- Published rollout costs depend on the benchmark setup. The FrontierCode 2.0 figures came from Max-effort runs in three different tools.
- Devin documents a session API. Direct SWE-2.1 inference access and downloadable SWE-2.1 weights remain undocumented.
FAQ
Where do I select SWE-2.1 in Windsurf?
Windsurf is now Devin Desktop, where SWE-2.1 is available in the model selector. Devin CLI also offers SWE-2.1, and both products default to Medium reasoning effort.
Does the free SWE-2.1 offer include Cloud or Ultrafast?
The free offer covers standard SWE-2.1 on eligible self-serve plans in Devin Desktop and Devin CLI through December 8, 2026, Pacific time. Cloud sessions and SWE-2.1 Ultrafast are outside the offer.
Can I call SWE-2.1 directly from my app or self-host it?
Devin documents a REST API for creating and managing agent sessions. Cognition’s launch materials and Devin’s API docs leave a public SWE-2.1 inference endpoint and downloadable SWE-2.1 weights undocumented.
What is the SWE-2.1 context window?
Cognition used a 250,000-token context with up to three compactions on ProgramBench, for a total allowance of 1 million tokens in that setup. The general context limit for SWE-2.1 in Devin remains unconfirmed.
One API key for Claude (Fable, Opus, Sonnet, Haiku) and GPT-6 models. Pay as you go, or pick a plan.
Get Your API Key →