MAI Code 2 and MAI Code 2 Flash Available in GitHub Copilot
GitHub Copilot introduces MAI Code 2 and MAI Code 2 Flash, two next-generation Microsoft AI coding models designed to support a wide range of software development workflows. Developers can now choose between a general-purpose model for complex engineering and a lightweight model for routine tasks across all major Copilot integrations.
What changed?
GitHub Copilot has released two new MAI (Microsoft AI) coding models: MAI Code 2 and MAI Code 2 Flash. MAI Code 2 is a general-purpose model targeting complex developer scenarios such as deep debugging, multi-file implementations, refactoring, and repository-wide reasoning. MAI Code 2 Flash is a lightweight, cost-efficient model optimized for routine workflows including code explanations, targeted edits, and rapid iteration. Both models are available to eligible Copilot subscribers on supported plans across major developer tools including Visual Studio Code, Visual Studio, JetBrains, Xcode, Eclipse, Copilot CLI, GitHub.com, and GitHub mobile apps.

Why does it matter to an everyday developer?
These models provide developers with targeted options for their coding workflows. MAI Code 2 is intended for engineers working on complex or large-scale problems, reducing unnecessary interaction and focusing on effective solutions. MAI Code 2 Flash is designed for fast, efficient assistance with everyday tasks, improving productivity for quick fixes and explanations. Developers can select the model that best suits their current workflow, leading to better performance and cost efficiency. Copilot plan administrators can also control which models are available to their organization.
What can the developer do now?
- 1
Check plan eligibility
MAI Code 2 is available to Copilot Pro, Pro+, Max, Business, and Enterprise subscribers. MAI Code 2 Flash is available to Free, Student, Pro, Pro+, Max, Business, and Enterprise subscribers. Both require an eligible subscription on an annual plan.

