ChengRang

SWE-2.1

AI Coding Paid
This page covers a version or sub-product of Devin. View Devin overview →

Cognition coding model released 2026/11/24, trained with pure reinforcement learning on the Kimi K3 base. FrontierCode 2.0 rose from 24.1% to 41.3%, ProgramBench from 17.0% to 44.0% and Terminal-Bench 4.1 from 24.2% to 50.0%, with ExploitBench reaching 80.0% on security work. Ships alongside an Ultrafast variant on Cerebras at 600 tokens per second for ten times throughput and a more permissive Cyber variant exclusive to Devin Security. Available across three Devin clients, free on Desktop and CLI through December 8

Coding ModelReinforcement LearningLong HorizonCybersecurityDevin
Visit SWE-2.1

Disclaimer: Review content represents our editorial team's views and experience, not commercial recommendation or investment advice. Product info and pricing may change; refer to official sources.

Overview

Cognition has followed a consistent strategy with its own models: skip the race for broad benchmark coverage and go deep on long-horizon engineering work. SWE-2.1, released November 24, 2026, continues that line. Like its predecessor, it takes an existing open base model and applies pure reinforcement learning to it. The base is Kimi K3.

Pure RL means no supervised fine-tuning on demonstration data. The model runs in an environment, tries, and adjusts its policy from reward signal. The advantage is that the training objective sits close to the actual job, which is finishing work inside a real repository rather than imitating how a person writes. The cost is that stability becomes very hard to control, especially when task duration ranges from minutes to hours and trajectory length swings wildly between rollouts.

Most of the improvement in SWE-2.1 went into that problem. Cognition adjusted its post-training algorithm to control rollout length during training. Previously those oscillations destabilized training dynamics. Suppressing them allowed stable training on tasks spanning a few minutes to many hours, and continuous training for several days while held-out evaluation kept improving. The same recipe improved test-time scaling, letting the model extract more value from additional compute on difficult tasks.

The results cover five boards. FrontierCode 2.0 reaches 41.3%, against 24.1% for SWE-2, 19.9% for Kimi K3.1, 28.9% for Grok 4.7, 46.2% for Gemini 4 Neon and 47.3% for Claude Opus 5.5. Terminal-Bench 4.1 reaches 50.0%, up from 24.2%. ProgramBench reaches 44.0%, up from 17.0%. SWE Marathon v1.2 reaches 54.9%, up from 32.5%. SWE-Atlas QA comes in at 71.0%.

One mismatch is worth recording. On Terminal-Bench 4.1, its own base model Kimi K3.1 scores 59.7, which is 9.7 points above SWE-2.1 at 50.0. Gemini 4 Neon sits at 65.2 and Claude Opus 5.5 at 65.8 on the same row. The gains from pure RL clearly do not land evenly across every evaluation. They concentrate on work like FrontierCode, which judges whether a patch should merge, and ProgramBench, which rebuilds a program from a binary.

Cybersecurity is where this generation gains the most. ExploitBench reaches 80.0%, against 36.1% for SWE-2, 74.7% for Kimi K3.1 and 91 for Claude Opus 5.5. Across ExploitGym's 869 tasks, SWE-2.1 succeeds with the intended exploit 27.3% of the time and captures flags on 44.8%, with Cognition describing work that completes a full exploitation chain, often over hours of autonomous operation. CWE-Bench v2 public set comes in at 65.8%.

That capability is not incidental. Cognition expanded tasks and environments across both short-horizon and long-horizon workflows, spanning science, performance engineering and security. The breadth made the model more versatile while pushing the software engineering line further.

A test-time scaling chart carries an interesting result. On ExploitGym, cumulative solve rate rises log-linearly as rollout time extends, meaning the model keeps cracking harder tasks the longer it works, and the slope of that curve is much steeper than the base model's. This explains why Cognition cares so much about inference speed.

Hence a third variant. SWE-2.1 Ultrafast, built with Cerebras, delivers the same model at ten times the throughput. The published comparison is 600 tokens per second for Ultrafast, 200 for SWE-2 Flash and 60 for standard SWE-2.1. In incident response or urgent fixes with hard deadlines, that throughput turns hours of investigation into minutes, and the model also gets more accurate because it can consume more test-time compute.

A fourth variant, SWE-2.1 Cyber, relaxes safety restrictions and ships only inside Devin Security. The reasoning is that defenders need the same leverage attackers already have. Cognition narrowed its restrictions to a small set of high-harm activities and calibrated them to leave legitimate security research and defensive work largely unaffected.

Training-side safeguards are documented too. Cognition red-teamed its own training environment, particularly the sandboxes, and built a canary evaluation in which the model attempts to escape. Success triggers an alert to researchers. The company says the mechanism worked: even after extensive red-teaming, the model discovered new sandbox vulnerabilities four times during training, and each was answered immediately.

All three versions are available in Devin Cloud, Devin Desktop and Devin CLI. Desktop and CLI are free through December 8, and discounted pricing across the line runs through January 30.

Key Features

Use Cases

Pros

Pricing

Delivered through Devin Cloud, Devin Desktop and Devin CLI. Desktop and CLI are free until December 8, 2026, and the full line carries discounted pricing through January 30, 2027. The Ultrafast variant runs on Cerebras infrastructure and is priced by throughput; exact rates need confirmation in the Devin console. SWE-2.1 Cyber is not sold separately and ships only with Devin Security.

Summary

SWE-2.1 is Cognition's second coding model built by applying pure reinforcement learning to Kimi K3, released November 24, 2026. FrontierCode 2.0 moved from 24.1% to 41.3%, ProgramBench from 17.0% to 44.0% and Terminal-Bench 4.1 from 24.2% to 50.0%, with patch review and program reconstruction landing closest to the frontier. Cybersecurity saw the largest jump, with ExploitBench at 80.0% and ExploitGym runs that complete full exploitation chains. Test-time scaling is log-linear, and the Ultrafast variant multiplies throughput by ten for incident response. Three variants are available across the Devin clients, with Desktop and CLI free through December 8.

Version History

Category
AI Coding
Pricing
Paid
Tags
Coding Model · Reinforcement Learning · Long Horizon
Website

Related Tools