MAI Code 2 and Code 2 Flash

Microsoft has introduced two new coding models, MAI Code 2 and Code 2 Flash, designed to optimize enterprise coding tasks at a lower cost than competitors. These models are being integrated into various Microsoft products to improve efficiency in routine development work.
Why it matters
The release signals a shift toward specialized, cost-effective AI models for enterprise software development, challenging the dominance of general-purpose frontier models.
MAI Code 2 and MAI Code 2 Flash : t wo new coding models built for the everyday enterprise coding tasks , delivering leading performance at a fraction of the cost of competing models.
MAI Code 2 is at the frontier of price-performance for common enterprise coding tasks and excels in taking code to production, deep debugging, multi-file implementation, repo wide reasoning, and UI. It does all of this while also delivering changes code maintainers would merge, at a fraction of frontier cost.
Meanwhile, MAI Code 2 Flash is designed for high-volume work such as code explanations, targeted edits, routine fixes, and rapid iterations, while bringing quality at a much lower cost.
To deliver the best price-performance, we’ve built these models to prioritize the coding work our customers do every day. They’re explicitly not yet tuned for harder problems, like fundamental science research and very long horizon agentic work.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in