Cognition releases SWE-2.1 to run long-horizon coding and cybersecurity workflows
Builders gain a reinforcement-learned coding model with stronger autonomous vulnerability discovery and a Cerebras-powered Lightning variant that runs at 10× speed for urgent fixes.
- Base model and training
- Pure reinforcement learning on Kimi K3
- ExploitBench score
- 80%
- ExploitGym intended exploits
- 27.3% of flags captured
- SWE-2.1 Lightning
- 10× speed via Cerebras partnership
- SWE-2.1 Cyber
- More permissive safeguards for Devin Security normal scans
Cognition trained SWE-2.1 using pure reinforcement learning on Kimi K3, expanding tasks across short- and long-horizon workflows to improve performance on FrontierCode 2.0 and Terminal-Bench 4.1. According to the company, the model scores 80% on ExploitBench and captures 27.3% of flags via intended exploits on ExploitGym. Its autonomous solve rate continues to scale log-linearly over multi-hour runs, and a new Cerebras-backed SWE-2.1 Lightning release delivers the same model at 10× the speed.
Because the model discovered new sandbox vulnerabilities four times during training, Cognition added continuous canary evaluations and deployed SWE-2.1 with safeguards against high-harm misuse. To support defenders who need broader access, the company is also rolling out SWE-2.1 Cyber with more permissive safeguards to power normal scans in Devin Security.
AI & Cybersecurity
Cognition says the default safeguards on SWE-2.1 target a narrow set of high-harm activities and are calibrated to leave most legitimate work, including cyber defense, unaffected. Within Devin Security, which already provides deep scans powered by frontier cyber models such as Mythos, SWE-2.1 Cyber is designated to power normal scans.
To train SWE-2.1 stably across tasks ranging from a few minutes to many hours, Cognition expanded its training environments across science, performance engineering, and cybersecurity while updating its post-training algorithms to reduce rollout length oscillations. For evaluation, Cognition runs open and SWE models in the Devin CLI harness under a simulated clock that adds 1 s of time-to-first-token, a fixed token rate, and real tool execution time to keep scores independent of inference speed.