SWE-2 Flash
5.0 out of 5 starsAverage Ratings 0 Ratings
Average Ratings 1 Rating
Description
MAI Code 2 Flash is an AI-powered coding model designed to deliver fast, affordable assistance for routine software development and programming workflows. Developed by Microsoft AI, the model belongs to the MAI Code 2 family and provides a smaller, more efficient alternative to the larger MAI Code 2 model. Its architecture combines a decoder-only transformer with sparse Mixture-of-Experts layers and an integrated vision encoder, using approximately 12 billion active parameters. The model supports a context window of 1.05 million tokens, allowing it to process extensive source code, technical documentation, and other development materials. MAI Code 2 Flash specializes in explaining existing code, implementing targeted modifications, fixing common programming errors, and supporting rapid development iterations. Its agentic coding capabilities also support repository analysis, multi-file editing, debugging, and interaction with development tools. Configurable reasoning effort settings allow developers to balance response quality, processing speed, and inference costs according to task requirements. According to Microsoft's published benchmarks, MAI Code 2 Flash achieves performance comparable to GPT-6 Luna and Claude Haiku 5.5 at substantially lower costs under specified evaluation conditions. With availability through GitHub Copilot and Microsoft Foundry, the model helps software engineers and enterprises automate frequent coding activities and improve development efficiency.
Description
SWE-2 Flash is a high-speed AI software engineering model developed by Cognition for automated coding, development workflows, and technical problem-solving. The model is based on Inkling-Small from Thinking Machines and uses a mixture-of-experts architecture containing 276 billion total parameters and 12 billion active parameters. Cognition applies large-scale mid-training and reinforcement learning to improve the model's programming accuracy, reasoning capabilities, and ability to complete complex software engineering tasks. SWE-2 Flash supports code generation, repository maintenance, automated code reviews, feature implementation, documentation updates, and agent-driven software development. Its optimized architecture delivers approximately 200 tokens per second, making it three times faster than SWE-2 while operating at one-fifth the inference cost. The model achieved a score of 24.0% on FrontierCode 2.0, 45.5% on FrontierCode 1.1 Main, and 89.2% on Terminal-Bench 2.1 in Cognition's published evaluations. Training improvements also target general reasoning, problem-solving, and cybersecurity tasks to expand the range of activities supported by autonomous coding agents. SWE-2 Flash is available in Devin Desktop and CLI, allowing developers to incorporate the model into interactive and automated software engineering workflows. Cognition is also developing a controlled model-weight access program for trusted industry partners and researchers interested in fine-tuning, infrastructure control, and deployment in sensitive environments.
API Access
Has API
Yes
API Access
Has API
No
Integrations
.NET
Yes
C
No
C++
No
CSS
No
Dart
No
Devin
No
Devin Desktop
No
GitHub Copilot
Yes
JSON
No
JavaScript
No
Integrations
.NET
Yes
C
Yes
C++
Yes
CSS
Yes
Dart
Yes
Devin
Yes
Devin Desktop
Yes
GitHub Copilot
No
JSON
Yes
JavaScript
Yes
Pricing Details
$0.05 per 1M tokens (input)
$0.05 per 1M input tokens, $0.005 per 1M cached input tokens, and $0.25 per 1M output tokens
Free Trial
No
Free Version
No
Pricing Details
$20/month
Free Trial
No
Free Version
Yes
Deployment
Web-Based
Yes
On-Premises
No
iPhone App
No
iPad App
No
Android App
No
Windows
No
Mac
No
Linux
No
Chromebook
No
Deployment
Web-Based
Yes
On-Premises
No
iPhone App
No
iPad App
No
Android App
No
Windows
No
Mac
No
Linux
No
Chromebook
No
Customer Support
Business Hours
No
Live Rep (24/7)
No
Online Support
Yes
Customer Support
Business Hours
No
Live Rep (24/7)
No
Online Support
Yes
Types of Training
Training Docs
Yes
Webinars
No
Live Training (Online)
No
In Person
No
Types of Training
Training Docs
Yes
Webinars
No
Live Training (Online)
No
In Person
No
Vendor Details
Company Name
Microsoft AI
Founded
2024
Country
United States
Website
microsoft.ai/
Vendor Details
Company Name
Cognition
Founded
2023
Country
United States
Website
cognition.com