# SWE-2.1

> Cognition's coding model for Devin, released November 24, 2026 — trained with reinforcement learning on Kimi K3, with an Ultrafast 10× serving tier and a Cyber variant for defensive security.

- Maker: Cognition
- Line: SWE
- Canonical page: https://ai-tldr.dev/models/swe-2-1/
- Updated: 2026-11-24

## In short

SWE-2.1 is the coding model behind Cognition's Devin, released on 24 November 2026 as a major upgrade over SWE-2. You can use it through Devin (Cognition).

## Facts

| Fact | Value | Source |
| --- | --- | --- |
| Licence | Proprietary · API only | [1] |
| Released | 24 November 2026 | [2] |

## Sources

1. [Devin Desktop](https://devin.ai/desktop)
2. [Introducing SWE-2.1 (Cognition blog)](https://cognition.com/blog/swe-2-1)

## 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.

## Benchmarks

- FrontierCode 2.0: 41.3% ([source](https://cognition.com/blog/swe-2-1))
- Terminal-Bench 4.1: 50% ([source](https://cognition.com/blog/swe-2-1))
- ProgramBench: 44% ([source](https://cognition.com/blog/swe-2-1))
- SWE-Atlas QA: 71% ([source](https://cognition.com/blog/swe-2-1))
- SWE Marathon v1.2: 54.9% ([source](https://cognition.com/blog/swe-2-1))
- ExploitBench: 80% ([source](https://cognition.com/blog/swe-2-1))
- CWE-Bench v2 Public: 65.8% ([source](https://cognition.com/blog/swe-2-1))

## 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

- [Devin (Cognition)](https://devin.ai/desktop)

## SWE versions

- SWE-2.1 (24 November 2026): RL-trained on Kimi K3; 41.3 on FrontierCode 2.0 and 80.0 on ExploitBench, with Ultrafast (10× speed via Cerebras) and Cyber variants. — this page
- [SWE-2 Flash](https://ai-tldr.dev/models/swe-2-flash/) (4 November 2026): Smaller sibling on Thinking Machines' Inkling-Small: one-fifth SWE-2's price and 3x its speed, 24.0% on FrontierCode 2.0.
- [SWE-2](https://ai-tldr.dev/models/swe-2/) (10 September 2026): Post-trained from Kimi K3; 50.0% on FrontierCode 1.1 Main and 92.8% on Terminal-Bench 2.1.
- SWE-1.7 (8 July 2026): Built on Kimi K2.7; Cognition reported 42.3% on FrontierCode 1.1 Main, 81.5% on Terminal-Bench 2.1 and 77.8% on SWE-Bench Multilingual.

## 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.

## Links

- [Introducing SWE-2.1 (Cognition blog)](https://cognition.com/blog/swe-2-1)
- [Devin Desktop](https://devin.ai/desktop)
- [Introducing SWE-2 (Cognition blog)](https://cognition.com/blog/swe-2)
- [FrontierCode benchmark](https://cognition.com/frontiercode)

Source: AI/TLDR LLM registry, https://ai-tldr.dev/models/swe-2-1/
