
Microsoft debuts in-house AI coding model MAI-Code-1-Flash to cut OpenAI reliance
What launched
Microsoft announced MAI-Code-1-Flash on June 2, 2026, the same day Build 2026 opened. It is a small, fast coding model from Microsoft's own MAI group, aimed at everyday developer work rather than the hardest tasks. It began rolling out to individual GitHub Copilot users in Visual Studio Code, both in the model picker and in the default Auto picker, with no setup. GitHub later extended it to more Copilot surfaces, including the command line and the cloud agent.
How Microsoft says it was built
Microsoft says the model was trained from the ground up on clean, traceable, enterprise-grade data, and without distilling third-party models. It was trained with production GitHub Copilot harnesses. It also uses adaptive solution length: short answers for simple requests and more reasoning for harder ones.
Benchmark claims
Microsoft compared the model with Anthropic's Claude Haiku 4.5. These are Microsoft's own numbers, and independent reproduction was limited.
- SWE-Bench Verified: about 71.6 versus 66.6.
- SWE-Bench Pro: 51.2% versus 35.2%.
- Terminal Bench 2: about 54.8 versus 41.6.
- Token use: up to 60% fewer tokens on SWE-Bench Verified, which Microsoft ties to lower cost.
The announcement did not give specific prices, only claims of better price-to-performance.
Strategy
Microsoft stated its goal as efficient, high-quality coding help. Industry observers also read the release as part of a push to reduce dependence on outside model providers and improve its cost structure, while it keeps its OpenAI partnership for general models. A newer MAI-Code-1.1-Flash has since been reported, so check which version your tools use.
What developers should check
Because the benchmark numbers come from Microsoft, the practical test is to run the model on your own repositories and compare cost, speed and accuracy with the model you use now. Model availability also differs by Copilot plan and by surface, so confirm what is enabled for your account in GitHub's documentation and changelog.
Related coverage
The release landed with other agent news. See our summaries of Microsoft Build 2026 and the Copilot SDK going generally available.
Advertisement
