cd /news/ai-products/mai-code-2-and-mai-code-2-flash-in-g… · home › topics › ai-products › article
[ARTICLE · art-171049] src=github.blog ↗ pub= topic=ai-products verified=true sentiment=↑ positive

MAI Code 2 and MAI Code 2 Flash in GitHub Copilot

Microsoft AI released MAI Code 2 and MAI Code 2 Flash into GitHub Copilot, expanding the MAI-Code family from lightweight coding assistance to agentic software engineering. MAI Code 2 targets complex tasks such as deep debugging, multi-file implementation, refactoring and repository-wide reasoning, while MAI Code 2 Flash is a lightweight, cost-efficient model for code explanations, targeted edits, routine fixes and rapid iteration. Both models are billed under usage-based billing; MAI Code 2 is available on Copilot Pro, Pro+, Max, Business and Enterprise, and MAI Code 2 Flash also reaches Copilot Free and Student plans, selectable across VS Code, Visual Studio, Copilot CLI, the Copilot cloud agent, github.com, GitHub Mobile, JetBrains, Xcode and Eclipse.

by read2 min views5 publishedNov 17, 2026
MAI Code 2 and MAI Code 2 Flash in GitHub Copilot
Image: GitHub Changelog

The next generation of Microsoft AI (MAI) coding models has arrived in GitHub Copilot. Introducing MAI Code 2 and MAI Code 2 Flash, two new models that represent a major step forward for the MAI-Code family, expanding from lightweight coding assistance to complex, agentic software engineering.

  • MAI Code 2: A powerful, general purpose coding model built to help developers get from request to result with focused responses, practical code changes, and less unnecessary back and forth. Ideal for complex tasks like deep debugging, multi-file implementation, refactoring, and repository-wide reasoning.
  • MAI Code 2 Flash: A lightweight, cost-efficient coding model optimized for everyday development workflows. Well suited for code explanations, targeted edits, routine fixes, and rapid iteration.

Both models are designed for agentic coding workflows, giving developers more flexibility to choose the model that best fits their task.

Read the MAI Code 2 and MAI Code 2 Flash announcement for a deeper look at the model’s vision support, coding performance improvements, and efficiency gains.

These models are billed under usage-based billing. For more details, see Models and pricing for GitHub Copilot.

Availability in GitHub Copilot

  • MAI Code 2: Copilot Pro, Pro+, Max, Business, and Enterprise
  • MAI Code 2 Flash: Copilot Free, Student, Pro, Pro+, Max, Business, and Enterprise

Both models are available to eligible GitHub Copilot subscribers on annual plans.

You can select the models in the model picker in:

  • Visual Studio Code
  • Visual Studio
  • Copilot CLI
  • GitHub Copilot cloud agent
  • GitHub Copilot app
  • github.com
  • GitHub Mobile iOS and Android
  • JetBrains
  • Xcode
  • Eclipse

Enabling access

Copilot Enterprise and Copilot Business plan administrators can manage access to MAI models through the model policy in Copilot settings. Under default model enablement, new models are enabled automatically unless an administrator has turned off the global default or explicitly disables the model.

### [Learn more](#learn-more)

To learn more about the new models, see the [MAI Code 2 page](https://microsoft.ai/models/mai-code-2/).

To explore all models available in GitHub Copilot, see our documentation on supported models and get started with Copilot.

Share your feedback

We’d love to hear about your experience using MAI Code 2 and MAI Code 2 Flash. Join the GitHub Community to share your feedback and help us continue improving these models.

── more in #ai-products 4 stories · sorted by recency
── more on @microsoft ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/mai-code-2-and-mai-c…] indexed:0 read:2min 2026-11-17 · —