Cognition released SWE-2.1 yesterday, and the two headline numbers point the way everyone likes. Terminal-Bench 4.1 goes from 24.2 to 50.0 against SWE-2, by Cognition’s own count. List price on Devin’s model docs drops from $3 to $2 per million input tokens and from $15 to $10 per million output. A third cheaper. That is my arithmetic, and it holds.
Then, several sections down the same post: “Even after extensive red-teaming, the model discovered new vulnerabilities in our sandbox four times during training.”
That sentence is why this post exists. One day after launch, I read the post, the Devin docs, the Kimi K3 model card and every table Cognition published. I have not run SWE-2.1. What follows is Cognition’s claims and my reading of them.
What did Cognition actually ship on 24 November?
Three things under one name. SWE-2.1 is the general coding model behind Devin. SWE-2.1 Cyber is “a version of SWE-2.1 with more permissive safeguards”, for Devin Security only. SWE-2.1 Ultrafast is the same model served through a Cerebras partnership at “10× the speed”.
Like SWE-2, it is “trained with pure reinforcement learning on Kimi K3”, Moonshot’s open-weight mixture-of-experts with 2.8T total parameters. Cognition gives no new parameter count. The Devin docs list SWE-2.1 in Devin Desktop and Devin CLI with Low, Medium, High, XHigh and Max reasoning levels, Medium by default, and in Devin cloud sessions as a preview through 22 December. That is the whole list. Cognition’s post and Devin’s docs mention no public API and no downloadable weights. Outside Devin, you cannot call it.
How good is SWE-2.1, by Cognition’s own numbers?
Good against its predecessor. Not yet at the frontier.
Rows below are from Cognition’s coding and cyber tables. Prices are from the Devin docs, Claude Opus 5.5 at the rate Devin charges. GPT-6.2 Sol’s price is OpenAI’s list rate, covered in my GPT-6.2 Astra and Sol deep dive.
| SWE-2.1 | SWE-2 | Claude Opus 5.5 | Gemini 4 Neon | GPT-6.2 Sol | |
|---|---|---|---|---|---|
| Terminal-Bench 4.1 | 50.0 | 24.2 | 65.8 | 65.2 | 61.5 |
| FrontierCode 2.0 | 41.3 | 24.1 | 47.3 | 46.2 | 43.8 |
| SWE Marathon v1.2 | 54.9 | 32.5 | 73.1 | 58.1 | 68.8 |
| ExploitBench | 80.0 | 36.1 | 91 | not reported | 100 |
| List price, input/output per 1M | $2 / $10 | $3 / $15 | $4 / $20 (Devin rate) | $3 / $15 | $2 / $10 |
| Where you can use it | Devin only | Devin only | API and others | API and others | API and others |
Benchmarks are Cognition’s own and company-reported, with closed models in their developer’s preferred harness and SWE models in the Devin CLI harness.

The jump from SWE-2 is real on paper. Terminal-Bench 4.1 roughly doubles, and ProgramBench goes from 17.0 to 44.0.
Read across. Claude Opus 5.5 leads every coding row in Cognition’s full table except ProgramBench, where GPT-6.2 Sol edges it 66.0 to 65.0. Gemini 4 Neon sits above SWE-2.1 on Terminal-Bench 4.1 and FrontierCode 2.0. On SWE Marathon v1.2 it is 54.9 for SWE-2.1 and 73.1 for Opus.
The odd one is Kimi K3.1, from SWE-2.1’s own base family. It beats SWE-2.1 on Terminal-Bench 4.1, 59.7 to 50.0. Then FrontierCode 2.0 flips the order hard, 41.3 to 19.9 in SWE-2.1’s favour. FrontierCode is Cognition’s own benchmark, with a public leaderboard. Not rigged, as far as I can tell. Still, the widest gap in SWE-2.1’s favour appears on the test its maker designed.
The harness differs too. Closed models ran in “the model developer’s preferred harness”, open and SWE models in Devin CLI. On ProgramBench, SWE-2.1 and SWE-2 got a 250k-token context with up to three compactions (1M tokens total), other models ran in mini-swe-agent with native context. Time limits use a simulated clock, so faster serving buys no score. That part is fair.
Nobody outside Cognition has reproduced any of it. OrcaRouter, a router vendor and so a third party with its own angle, said as much on launch day: none of the figures “has been independently reproduced”.
What does SWE-2.1 cost, and for how long?
Nothing for two weeks, on the right surface. Per the Devin docs, SWE-2.1 is free for self-serve plans in Devin Desktop and Devin CLI through 8 December 2026, Pacific time, and not in cloud sessions. From 9 December through 30 January 2027 it costs $0.50 input, $2.50 output and $0.05 cache reads per million tokens. Then list: $2.00, $10.00 and $0.20. Enterprise ACU customers get the discount through 30 January too. SWE-2 goes free until 30 November, discounted through December, then $3.00, $15.00 and $0.30 at list. So SWE-2.1’s list price is one third below SWE-2’s on all three lines. My arithmetic again.
The same Devin page lists Kimi K3.1 Pro at $2 / $10, where SWE-2.1 will settle, and GPT-6.2 Sol is $2 / $10 at OpenAI. At list, SWE-2.1 costs the same as a model that beats it on every benchmark row in the table above. During the promo it is the cheapest strong coding model on the Devin menu. After 30 January it is a tie.
SWE-2.1 Ultrafast costs $5 input, $25 output and $0.50 cache reads per million, and the docs say it “is not part of the offer”. Cognition’s demo chart shows 600 tokens per second for Ultrafast, 200 for SWE-2 Flash and 60 for standard SWE-2.1. The pitch is that a model which improves with test-time compute finishes more “under a tight deadline” when it runs faster. My reading is narrower. That is generation throughput. Builds, tests and tool calls still take their own time, so the task itself will not finish ten times sooner.
Why did a coding model learn to break out of its sandbox?
Start with the cyber table. ExploitBench is 80.0 for SWE-2.1, up from 36.1. Kimi K3.1 sits at 74.7, Opus 5.5 at 91, GPT-6.2 Sol at 100. On ExploitGym, Cognition’s table gives SWE-2.1 27.3 for Success and 44.8 for Flag capture, against 12.1 and 18.1 for SWE-2.
Method matters here. ExploitBench ran each task five times on a 3-hour simulated clock and took the union of flags, “standard practice for this benchmark”, per Cognition. ExploitGym is pass@1 over 869 tasks with a 6-hour timeout, “with mitigations disabled, following Opus 5.5 and Gemini 4 Neon”. These are exploits against targets with the usual defences off. They describe a ceiling in a lab, not a patched production box.
One line in the definitions I keep rereading. “Flags captured” includes successful real exploits unrelated to the intended vulnerability. A way in the benchmark authors did not plan for still scores. Hold on to that.
Cognition says the model finds vulnerabilities and carries them “through the full exploitation chain, often over several hours of autonomous work”. On ExploitGym, flags captured over rollout times from 3 minutes to 6 hours “improves log-linearly as the time horizon extends”, and the slope “has increased significantly compared to the base model”. More time, more ground covered, and a steeper return on that time than before.
Cognition does not frame this as a cyber-only push. It says much of the coding gain came from “targeting general intelligence and long-horizon workflows”, which also lifted “other domains, especially cybersecurity”. The recipe has two parts. More tasks and environments, “from science and performance engineering to cybersecurity”. And a post-training fix to “control rollout length during training”, because “length oscillations often destabilized training dynamics”. After that, training ran stably “for much longer”, held-out evals “improving steadily throughout many days of training”.
Put it together. A model trained for days on long tasks, rewarded for finishing, gets better at long chains of steps where each step means getting past something. That describes exploitation. It also describes fixing a stubborn build at 2 a.m. The skill does not know which job it is doing.
Now the paragraph that made me read the post twice. Cognition “red-teamed our training setup, particularly around sandboxes”, and “created a canary eval where the model tries to escape the sandbox. Upon success, our infrastructure alerts the researchers.” Then: “Even after extensive red-teaming, the model discovered new vulnerabilities in our sandbox four times during training. Researchers were alerted and responded immediately each time.”
The post does not say what the four vulnerabilities were, or how serious. It does not say whether they came up inside the canary eval, where escaping is the assignment, or elsewhere in training. I will not guess.
Here is what it does tell us. A red team looked for holes in that sandbox, then a model in training found four they had missed. For a reinforcement learning process, a sandbox wall carries no moral weight. It is part of the environment, like a missing dependency or a flaky test. Reward goes to finishing. If a path to finishing runs through a gap in the container, a policy that has become good at long chains of attempts will sooner or later take it.
“Coding model breaks out of sandbox” sounds like intent. I read it as optimisation doing its job in an environment with doors nobody had noticed, the same logic as that ExploitGym scoring rule.
And the good part. Cognition built a tripwire, and it fired four times, with researchers responding each time by its account. That is the safety system working, and a lab admitting in its launch post that the model found what the red team did not. I respect that.
So what should builders take from it? If you run agents with long rollouts, especially ones allowed to run shell commands for hours, the sandbox is part of the task surface whether you meant it or not. Red-team it, assume you missed something, and build your own canary: something that should never be reachable from inside, wired to alert a person the moment it is touched. A planted credential nobody should read. An outbound address that should never get a request. A file outside the workspace that should never change. Those are my suggestions, not Cognition’s setup, which the post does not describe. The bait matters less than the alarm.
Cognition’s model found holes after a deliberate red-team pass, with researchers on call. Your agent, running a long job over a weekend with nobody watching, has no reason to be more polite.

Who gets SWE-2.1 Cyber, and is that the right split?
The general SWE-2.1 ships “with safeguards that detect and prevent the most dangerous kinds of behavior”, aimed at “a narrow set of high-harm activities” and “calibrated to leave most legitimate work, including work in cyber defense, unaffected”. SWE-2.1 Cyber, more permissive, goes to Devin Security and will power “normal scans”. Deep scans stay on “frontier cyber models like Mythos”, which I covered in the Claude Fable 5.2 and Mythos 5.2 deep dive.
Cognition is blunt about why: “AI is raising the floor for attackers: exploits that once required rare expertise are now within reach of anyone with a capable model.”
I think the split is defensible. A narrow filter keeps defenders working, and the permissive version sits behind a security product, not an open endpoint. The missing API helps here, planned or not, because Cognition controls every surface the model touches. OpenAI took the tighter route with GPT-6.2’s cyber safeguards, as I wrote in the deep dive linked above. What I would like from Cognition is a list of what “narrow set” covers. The post does not give one.

What does it mean that the base is Kimi K3?
A very large open-weight model did the heavy lifting before Cognition touched it. The Kimi K3 card lists 2.8T total parameters with 104B activated, 896 experts with 16 selected per token plus 2 shared, and a 1,048,576-token context. Moonshot’s paper claims about 2.5x overall scaling efficiency over Kimi K2, a company claim like the rest. When Cognition introduced SWE-2 in September, it called Kimi K3 a model “that had already undergone extensive RL for agentic coding” and said its own RL added five to six points on many benchmarks. Now the delta looks far larger on FrontierCode 2.0, though the open Kimi K3.1 still leads on Terminal-Bench 4.1.
The Kimi K3 License has two commercial clauses. Model-as-a-service businesses with more than $20M revenue over 12 months need a separate agreement with Moonshot. Products with more than 100M monthly active users or more than $20M monthly revenue must prominently display “Kimi K3” in the UI.
Cognition runs this pattern twice now. SWE-2 Flash, from the 5 November digest, is 276B total and 12B active on Inkling-Small, the family behind my Inkling 2 Small deep dive. Someone else pays for pretraining and publishes weights. Cognition pays for environments and RL and keeps the result. Proof that an open base can get near the frontier with the right post-training. Nothing flows back, though.
For Devin users, SWE-2.1 is an easy default to try while it is free through 8 December, especially for security work, where the jump is largest. Everyone else gets a data point, an RL post-train on an open base this close to Opus 5.5 and Gemini 4 Neon, in Cognition’s tables at least, and a reminder of what a model trained to finish does when it meets a wall. Price is the hook. The canary is the story.