🇨🇳China·AI News·27 Nov 2026·via The New Stack

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

    Cognition has announced SWE-2.1, its newest in-house coding model, which it claims offers 10 times the token speed of its predecessor. The company developed SWE-2.1 by training it with reinforcement learning (RL) on an existing open-weight model from Moonshot AI, as reported this week by The New Stack.

    This week, Cognition introduced SWE-2.1, a new coding model that the company states delivers a significant performance improvement: 10 times the token speed. This enhancement is attributed to its development process, which involved training with reinforcement learning (RL).

    Cognition's approach to SWE-2.1 involved building upon an existing foundation. The company utilized an open-weight model developed by Moonshot AI as the base for its training. This strategy suggests a focus on specializing and refining available AI resources rather than developing a foundational model from its initial stages.

    The application of reinforcement learning means SWE-2.1 was trained to learn through iterative feedback, optimizing its performance based on defined objectives. For a coding model, this could translate into more efficient code generation, improved debugging capabilities, or a faster understanding of programming tasks, directly impacting its reported token speed.

    The reported 10x increase in token speed could notably affect the practical utility of SWE-2.1 for developers. Faster token processing means the model can complete coding tasks, generate suggestions, or analyze code more quickly, potentially accelerating development workflows where model response time is a critical factor.

    While the specific benefits of reinforcement learning for a coding model like SWE-2.1 are not detailed in the report, its use on an open-weight model from Moonshot AI highlights a trend of companies leveraging and specializing existing AI assets. This can allow for focused innovation on performance metrics, such as token speed, without the full overhead of building a base model.

    The report from The New Stack specifies the training method and the base model used, along with Cognition's claim of improved speed. However, it does not elaborate on the specific functionalities or new features SWE-2.1 offers beyond this performance boost, nor does it detail the nature of Moonshot AI's "open-weight model" or the technical aspects of its accessibility.

    Share this article

    Go deeper
    Original reporting by The New StackWe don't republish, read the full story â†’

    Related reading

    6 stories