JupiteX Get the app
Science & Technology29 Nov 2026 · about 7 min

Same coding model, 10x the token speed. How did Cognition do it?

The brief

SWE-2.1 is an in-house coding model from Cognition, trained with reinforcement learning on Moonshot AI’s open-weight model, Kimi K3. It is the next version after SWE-2, which Cognition released on September 10. The newer model matters because the company reports gains across several coding benchmarks, including Terminal-Bench 4.1 and FrontierCode 2.0. Cognition says the improvements came from expanding its reinforcement-learning training environment to cover both short-term and long-horizon work. It added a focus on science, performance engineering, and cybersecurity. The company also changed post-training algorithms to control rollout length and reduce oscillations that had disrupted training. These are claimed training improvements, not a change in what SWE-2.1 is: it remains a coding model built on Kimi K3. The reported scores show progress over SWE-2, including a doubled Terminal-Bench score, but they do not put SWE-2.1 ahead of every rival. It trails Claude Opus 5.5 on all reported benchmarks, and Kimi K3.1 scores higher on Terminal-Bench. Cognition’s comparisons also have testing caveats, so the results are promising company-reported evidence, not independent confirmation.

01

What is SWE-2.1, and how is it related to Cognition’s earlier SWE-2 model?

SWE-2.1 is an in-house coding model from Cognition, trained with reinforcement learning on Moonshot AI’s open-weight model, Kimi K3. It is the next version after SWE-2, which Cognition released on September 10. The newer model matters because the company reports gains across several coding benchmarks, including Terminal-Bench 4.1 and FrontierCode 2.0.

Cognition says the improvements came from expanding its reinforcement-learning training environment to cover both short-term and long-horizon work. It added a focus on science, performance engineering, and cybersecurity. The company also changed post-training algorithms to control rollout length and reduce oscillations that had disrupted training. These are claimed training improvements, not a change in what SWE-2.1 is: it remains a coding model built on Kimi K3.

The reported scores show progress over SWE-2, including a doubled Terminal-Bench score, but they do not put SWE-2.1 ahead of every rival. It trails Claude Opus 5.5 on all reported benchmarks, and Kimi K3.1 scores higher on Terminal-Bench. Cognition’s comparisons also have testing caveats, so the results are promising company-reported evidence, not independent confirmation.

02

How did Cognition make SWE-2.1 Ultrafast generate tokens faster without changing the model?

SWE-2.1 Ultrafast is a faster-running version of the same SWE-2.1 model. Cognition developed it through a partnership with AI chip maker Cerebras. The key point is that the model itself stays the same; Cognition says the speed boost comes from running it on faster hardware. That can matter to people using a coding assistant because generated text can arrive more quickly.

Cognition lists standard SWE-2.1 at 60 tokens per second and Ultrafast at 600. The company’s announcement and Devin documentation call the version Ultrafast, although its posts on LinkedIn and X called it SWE-2.1 Lightning. The article describes Cerebras chips as the hardware behind the higher token rate, but does not give technical details about the chips or how the system is configured.

Ultrafast is available on Devin Cloud, Devin Desktop, and Devin CLI as a paid option. Its listed price is $5 per million input tokens and $25 per million output tokens. A higher token-generation rate does not by itself establish how much faster every complete coding task will finish; the article gives generation speeds, not end-to-end task timings.

03

How much faster is Ultrafast than standard SWE-2.1, in tokens per second?

Cognition reports that SWE-2.1 Ultrafast generates 600 tokens per second. Standard SWE-2.1 generates 60 tokens per second, so Ultrafast is ten times as fast by this measure. The speed difference is the standout figure in the release, especially because Cognition describes Ultrafast as the same model running on different hardware.

The hardware partner is Cerebras, an AI chip maker. Cognition says it can run SWE-2.1 on Cerebras chips to reach the higher rate. The article also gives a comparison point: SWE-2 Flash, a smaller sibling model, runs at 200 tokens per second. That makes Ultrafast three times as fast as Flash by the listed token-generation rates, though Flash is a different, smaller model.

Cognition makes Ultrafast available on Devin Cloud, Devin Desktop, and Devin CLI as a paid option. Its listed cost is $5 per million input tokens and $25 per million output tokens. These figures measure token generation, not the total time required to complete a coding task, so they do not establish that every user task will finish ten times faster.

04

What practical difference can faster token generation make when using an AI coding assistant?

Faster token generation can make an AI coding assistant feel more responsive: its answer or code can stream to the user sooner. That may help during repeated coding exchanges, when a user is waiting for a proposed fix, explanation, or next step before continuing. Cognition’s Ultrafast version is designed around this speed advantage, rather than a different model.

The concrete comparison is 600 tokens per second for Ultrafast versus 60 for standard SWE-2.1. Cognition attributes the boost to running the same model on Cerebras chips. In practical use, that higher rate can shorten the time spent generating an answer, especially for longer outputs. The article does not provide timed examples of coding tasks or report how much quicker users complete work.

So the token-rate figure is useful, but it is not a full measure of an assistant’s speed. A coding task may involve more than generating text, and the article does not say those other steps speed up by the same factor. Ultrafast is available through Devin platforms as a paid option, giving users access to the faster generation rate.

05

What evidence supports Cognition’s claims that SWE-2.1 is better, and what are the limits of those benchmark comparisons?

Cognition supports its claim of improvement with benchmark results comparing SWE-2.1 with earlier models and frontier alternatives. The company reports large gains across a range of tests, including Terminal-Bench 4.1 and FrontierCode 2.0. One striking comparison is that SWE-2.1 doubled SWE-2’s Terminal-Bench score. In cybersecurity testing, SWE-2.1 scores 80% on ExploitBench, up from SWE-2’s 36.1%.

Those numbers provide concrete evidence of progress, but Cognition’s testing has limits. The company itself supplied the results, and they have not been reproduced independently. FrontierCode 2.0 is Cognition’s own benchmark, while the other benchmarks are independently developed. The testing setup also differed: SWE-2.1 and open-weight models such as Nyaya K3.1 used the Devin CLI harness, while frontier models used each developer’s preferred harness.

The scores do not show SWE-2.1 leading every competitor. It trails Claude Opus 5.5 on every benchmark, and Kimi K3.1 outperformed it on Terminal-Bench. These details make the results useful but not definitive. Independent reproduction and more comparable testing would help clarify how much of the reported gap reflects model ability rather than benchmark or harness differences.

06

What is SWE-2.1 Cyber designed to do, and why does it have more permissive safeguards?

SWE-2.1 Cyber is Cognition’s cybersecurity-focused variant of SWE-2.1. The company describes it as a tweaked model with more permissive safeguards against potentially harmful activity, aimed at defensive security work. That design matters because the model is intended to help with security scans, a setting where a cybersecurity model needs to handle security-related tasks.

Cognition is rolling out Cyber to power normal scans on Devin Security. The article reports an 80% score on ExploitBench, compared with 36.1% for SWE-2. It also succeeds on twice as many ExploitGym tasks as SWE-2, with a total success rate of 27.3%. Claude Opus 5.5 scores 91% on ExploitBench, while GPT-6.2 Sol scores 100%.

Access is currently limited: SWE-2.1 Cyber is used only for normal scans through Devin Security. Deep scans continue to rely on frontier cybersecurity models such as Paradox Mythos. The benchmark results suggest a substantial step up from SWE-2, but they do not mean Cyber is used for every scan or that it leads all cybersecurity models.

07

What is reinforcement learning, and how can feedback from task outcomes help train a coding model?

Reinforcement learning is a training approach in which a model’s actions are assessed against a goal, and feedback helps shape which actions it is more likely to take. In coding, outcomes could be judged by whether a task was completed or code worked; those are general examples, not details supplied about Cognition’s training process. The article only says SWE-2.1 was trained with reinforcement learning on Kimi K3.

Cognition says it widened its training environment to include short-term and long-horizon work. It also focused on science, performance engineering, and cybersecurity. The company describes changes to post-training algorithms that control rollout length and reduce oscillations that previously knocked training off balance. In general, outcome feedback can give a model a way to improve through repeated attempts, but the article does not describe its specific rewards or evaluation steps.

The reported result is that SWE-2.1 scored higher than SWE-2 across several benchmarks, including a doubled Terminal-Bench score. Cognition attributes its gains to combined training and algorithm improvements. Those results remain company-reported and have not been independently reproduced, so the article does not establish exactly which training change contributed most or how the feedback was applied.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web