Cognition ships SWE-2, a cheaper coding model for Devin
Cognition says SWE-2 approaches Fable 5.1's coding performance at 36% of its rollout cost, based on the company's own benchmark.
By RuntimeWire Staff · Published
Primary source: Cognition
Why it matters
SWE-2 tests whether Cognition can turn post-training and tighter agent behavior into lower costs for Devin users. The company's 64% cost claim comes from its own benchmark, making independent evaluation the next meaningful test.

Scott Wu's Cognition, which operates Devin, released SWE-2 on September 10. The model is available in Devin Desktop and its command-line interface, with a rollout underway across Devin Web and Fusion. Cognition says SWE-2 approaches the coding performance of Fable 5.1 and GPT-6 Astra at substantially lower rollout costs.
The release turns Wu's argument about software agents into a model-training strategy. He has steered Devin toward engineering work inside large codebases, where completing the task matters more than producing an impressive snippet. SWE-2 is designed to reach the first useful edit faster, spend fewer steps exploring a repository and reserve extended reasoning for harder work.
Wu arrived at that thesis after leaving Harvard, working as a founding engineer at Scale AI and co-founding the professional-networking service Lunchclub. He won three International Olympiad in Informatics gold medals and placed first overall in 2014. Cognition co-founder Steven Hao is also an IOI gold medalist, giving the founding team a concentrated group trained to treat software work as a sequence of decisions that can be measured and optimized.
Cognition post-trains instead of starting over
In its SWE-2 announcement, Cognition says it post-trained the model from Kimi K3, though that claimed lineage has not been independently confirmed.
Cognition says its post-training added between five and six percentage points on several coding evaluations. The central training change lets Cognition optimize medium, high and maximum reasoning-effort settings in one reinforcement-learning run. Each setting receives a cost penalty calibrated to the local slope of the base model's cost-performance curve, rewarding improvements that raise solve rates without allowing the model to spend freely on longer trajectories.
Cognition said it tripled the number of reinforcement-learning environments used for SWE-2, added instruction-following requirements and used earlier SWE-2 checkpoints to identify weaknesses in its automated verifiers. Cognition also trained an online draft model for speculative decoding and used lower-precision NVFP4 and FP8 kernels to hold memory use down while working with a base model almost three times the size of SWE-1.7.
The benchmark lead comes with a house advantage
On Cognition's FrontierCode leaderboard, SWE-2 scored 50.0% on the Main set. Cognition reports Fable 5.1 at 50.9%, GPT-6 Astra at 53.3%, Grok 4.6 at 48.0% and SWE-1.7 at 42.0%. Cognition says SWE-2's mean rollout cost was 64% lower than Fable 5.1's and roughly one-quarter of GPT-6 Astra's.
The comparison is best read as Cognition's internal evidence for how SWE-2 behaves inside coding-agent workflows. Cognition created FrontierCode, runs the leaderboard and reports the best score across reasoning-effort settings. Coding models are not mapped one-to-one to agent harnesses: Moonshot's Kimi K3 documentation describes evaluations conducted through Kimi Code and Claude Code, while other models may also run through multiple harnesses.
Cognition revised FrontierCode to version 1.1 in July after auditing more than 1,000 grading criteria, relaxing 75 and changing how internet use is judged. Cognition also retired the Diamond subset. Those changes may improve the evaluation, though they reinforce the need for results outside Cognition's own framework before treating small differences among frontier models as settled rankings.
SWE-2's reported results are uneven enough to make that caution concrete. Cognition reports 73.0% on DeepSWE 1.1, close to GPT-6 Astra's 74.1%, and 92.8% on Terminal-Bench 2.1, ahead of every comparison model listed in the announcement. On Terminal-Bench 4, SWE-2 scored 27.3%, far behind Fable 5.1 at 55.8% and GPT-6 Astra at 57.9%. SWE-2 looks competitive on some agentic coding workloads rather than uniformly equivalent to the leading proprietary models.
The more practical result may be the reduction in meandering. On the 100-task FrontierCode Main set, Cognition says SWE-2 medium averaged 53 steps per run, down from 127 for SWE-1.7. Its first substantive code edit arrived after a median of 18 steps, compared with 48 for SWE-1.7. Cognition calculates that SWE-2 medium used 58% fewer turns and cost 81% less on average while scoring higher.
For engineering managers, that behavior can matter as much as another benchmark point. Agents that repeatedly inspect the same files or produce long plans for simple changes consume compute, delay feedback and make their work harder to supervise. Cognition is training SWE-2 to act earlier at medium effort while preserving longer planning and verification at higher settings.
The release follows a $48B valuation
On September 8, Cognition said it had raised more than $2 billion at a $48 billion valuation, with Andreessen Horowitz and Accel leading and Founders Fund, General Catalyst and Avenir participating.
In the Series E announcement, Cognition described itself as an independent agent lab that can select and combine models instead of binding customers to one provider. Its SWE-2 post describes Cognition applying its own reinforcement-learning system to an outside base model and distributing the result through Devin, where Cognition controls the agent interface and tools.
The 64% cost advantage remains specific to Cognition's benchmark methodology and mean spend per rollout. Devin customers will judge the economics through completed work and accepted code changes. A model that reaches useful edits sooner could improve those economics, but the reported gains still need validation outside Cognition's evaluation framework.