
Microsoft introduces MAI Code 2 and MAI Code 2 Flash coding models
Microsoft AI announced MAI Code 2 and MAI Code 2 Flash, two coding models for everyday enterprise tasks, with benchmark comparisons to competing models at lower cost.
Microsoft AI announced MAI Code 2 and MAI Code 2 Flash as two new coding models built for everyday enterprise coding tasks. The company says they deliver leading performance at a fraction of the cost of competing models. MAI Code 2 targets common enterprise coding work, while MAI Code 2 Flash targets high-volume routine tasks.
What each model targets
MAI Code 2 is at the frontier of price-performance for common enterprise coding tasks. It excels in taking code to production, deep debugging, multi-file implementation, repo-wide reasoning, and UI. It also delivers changes code maintainers would merge, at a fraction of frontier cost. 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.
Production quality at less than half the price
To deliver the best price-performance, Microsoft built the models to prioritize the coding work customers do every day. They are explicitly not yet tuned for harder problems, such as fundamental science research and very long horizon agentic work. MAI Code 2 is also tuned for producing great dashboards and visualizations and excels at visual coding.
Benchmark and cost comparisons
Averaged over four widely used benchmarks targeting everyday enterprise coding tasks seen in GitHub Copilot (DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1), MAI Code 2 gives 98% of the performance of GPT 6.1 Sol at 40% of the cost. It also gives 96% of Claude Opus 5.5's performance at 5% of the cost. In blind frontend app evaluations, reviewers preferred MAI Code 2's results over GPT-6 Sol 64% of the time. MAI Code 2 Flash offers comparable performance to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of the cost, across three coding benchmarks measuring day-to-day, high-volume routine coding tasks.
Sources: microsoft.ai
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.