Model release · Microsoft
Microsoft's MAI Code 2 and MAI Code 2 Flash coding models are now in GitHub Copilot, which will retire MAI-Code-1.1-Flash
- Launched
MAI Code 2 is a general-purpose coding model for deep debugging, multi-file work, refactoring and repository-wide reasoning. MAI Code 2 Flash is a lighter, cheaper model for code explanations, targeted edits and routine fixes. Both are built for agentic coding. Microsoft says MAI Code 2 averages 98% of GPT-6.1 Sol's score on four enterprise coding benchmarks at 40% of the cost. Pick them in the model picker in VS Code, Visual Studio, Copilot CLI, github.com, JetBrains, Xcode and more. Microsoft says OpenRouter, Vercel, OpenCode, Kilo and others will follow. GitHub also said it will retire MAI-Code-1.1-Flash across every Copilot experience and suggests moving workflows to the latest MAI Code Flash model; Enterprise admins may need to enable it in Copilot model policies first.
Availability
Generally available in GitHub Copilot (MAI Code 2 on Pro, Pro+, Max, Business and Enterprise; Flash also on Free and Student; eligible annual plans), billed by usage. Code 2 Flash is in limited-access preview in Microsoft Foundry.