The Spectrum Dispatch News

technology

Microsoft releases MAI Code 2 models for enterprise coding tasks at lower cost

Two new coding models offer cost savings compared to competitors while targeting everyday enterprise tasks like debugging, code explanations, and routine fixes.

Microsoft releases MAI Code 2 models for enterprise coding tasks at lower cost

Microsoft has introduced MAI Code 2 and MAI Code 2 Flash, two new coding models designed for common enterprise coding tasks. According to the announcement, the models aim to deliver strong performance at reduced costs compared to competing solutions.

Microsoft releases MAI Code 2 models for enterprise coding tasks at lower cost

MAI Code 2 targets production-level work and is positioned for deep debugging, multi-file implementation, repository-wide reasoning, and UI development. The model prioritizes everyday enterprise coding work seen in GitHub Copilot rather than harder problems like fundamental science research or long-horizon agentic work.

MAI Code 2 Flash is designed for high-volume work including code explanations, targeted edits, routine fixes, and rapid iterations. Both models emphasize cost efficiency as a primary benefit.

According to benchmarks across DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas, and FrontierCode v1.1, MAI Code 2 delivers 98% of GPT 6.1 Sol’s performance at 40% of the cost, and 96% of Claude Opus 5.5’s performance at 5% of the cost. MAI Code 2 Flash offers comparable performance to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of their respective costs across three coding benchmarks.

The models also show particular strength in frontend development. In blind frontend app evaluations, reviewers preferred MAI Code 2 results over GPT-6 Sol 67% of the time, according to the announcement.

Microsoft has also optimized a variant called MAI Work Flash to serve multiple Microsoft products across M365 and Fabric IQ. For Excel, the model matches GPT 6 Luna’s accuracy and token efficiency on key internal benchmarks. In PowerPoint, performance is comparable to GPT 6 Luna on production scenarios. For Word, the model performs similarly to GPT 6.1 Sol while using approximately 42% fewer input tokens per call. In Teams, the model outperforms GPT 6 Luna at tracking decisions and instruction following using up to 28% fewer tokens. For FabricIQ, the model outperforms GPT-5.6-sol, GPT-6-astra, and Opus-5.5 at DAX query generation.

MAI Code 2 and Code 2 Flash are available in GitHub Copilot, with Code 2 Flash in limited-access preview in Microsoft Foundry. The models will soon be released on Open Router, Vercel, Hermes, Open Code, and Kilo.

Key facts

  • MAI Code 2 delivers 98% of GPT 6.1 Sol’s performance at 40% of the cost
  • MAI Code 2 Flash offers comparable performance to GPT-6 Luna at 65% of its cost
  • Reviewers preferred MAI Code 2 frontend results over GPT-6 Sol 67% of the time in blind evaluations
  • Both models are optimized for everyday enterprise tasks rather than fundamental science or complex agentic work
  • MAI Code 2 and Flash are available in GitHub Copilot, with broader platform availability coming soon

Sources

← All posts