GitHub Introduces MAI Code 2 and MAI Code 2 Flash in Copilot
2 min read
- GitHub
- Copilot
- AI
- developers

GitHub announced that the next generation of Microsoft AI (MAI) coding models is now available in GitHub Copilot. The two new models, MAI Code 2 and MAI Code 2 Flash, expand the Copilot offering from lightweight assistance to more advanced, agentic software‑engineering capabilities.
What’s new
- MAI Code 2 – a powerful, general‑purpose model designed for complex tasks such as deep debugging, multi‑file implementation, large‑scale refactoring, and repository‑wide reasoning.
- MAI Code 2 Flash – a lightweight, cost‑efficient model optimized for everyday workflows, including code explanations, targeted edits, routine fixes, and rapid iteration.
- Both models support agentic coding workflows, letting developers pick the model that best matches the task at hand.
- Availability:
- MAI Code 2 is available to Copilot Pro, Pro+, Max, Business, and Enterprise subscribers.
- MAI Code 2 Flash is available to Copilot Free, Student, Pro, Pro+, Max, Business, and Enterprise subscribers.
- Access: Eligible subscribers on annual plans can select either model via the model picker in Visual Studio Code, Visual Studio, Copilot CLI, the Copilot cloud agent, the Copilot mobile apps, JetBrains IDEs, Xcode, Eclipse, and the GitHub web interface.
- Administration: Copilot Enterprise and Business plan admins can manage model access through the model policy settings. By default, new models are enabled automatically unless an admin disables them.
- Billing: Both models are billed under usage‑based pricing; details are in the “Models and pricing for GitHub Copilot” documentation.
Why it matters
The introduction of MAI Code 2 and MAI Code 2 Flash gives developers a broader toolkit within a single AI‑assisted environment. MAI Code 2’s ability to handle complex, multi‑file scenarios can reduce the time spent on large refactors or deep debugging sessions, potentially accelerating project timelines and improving code quality. Meanwhile, MAI Code 2 Flash offers a faster, more affordable option for routine tasks, making AI assistance accessible to a wider range of users, including students and hobbyists on free or low‑cost plans.
By integrating these models across the full suite of GitHub Copilot touchpoints—from desktop IDEs to mobile apps—GitHub ensures that developers can benefit from AI assistance wherever they work. The agentic workflow support also means that teams can tailor the AI’s behavior to specific pipelines, fostering more consistent and predictable outcomes.
For organizations, the centralized admin controls simplify governance, allowing IT teams to enable or restrict model usage according to policy or cost considerations. The usage‑based billing model aligns costs with actual consumption, helping teams manage budgets while still leveraging advanced AI capabilities.
Overall, the new MAI models represent a significant step forward in AI‑driven development, offering both depth for challenging engineering problems and efficiency for everyday coding.