MAI Code 2 in GitHub Copilot

Choose MAI Code 2 or Flash by the scope of a fix. Check which Copilot plans include each model, where to find the picker and how organization policy works.

Published

Tools
  • GGitHub Copilot
MAI Code 2 in GitHub Copilot

Choose MAI Code 2 in GitHub Copilot when a fix depends on understanding several parts of your repository. Choose MAI Code 2 Flash when you can point to the code that needs explaining or changing. On Copilot Free and Student, Flash is the MAI option you can select.

When to choose MAI Code 2 or Flash

How much of the codebase does the model need to understand before it can propose a fix? Microsoft AI’s model page describes MAI Code 2 as a coding model for everyday engineering work that takes code through to production. Its lightweight sibling, MAI Code 2 Flash, is built for routine work developers repeat throughout the day.

Take a checkout bug. If the receipt displays the wrong currency symbol and you know which formatter produces it, give Flash the formatter, an example input and the expected output. A reviewer can judge that edit by looking at the function and its test. For an explanation alone, ask Flash “Explain how this function chooses a currency when the order has none.”

Now suppose the receipt shows dollars but the refund is issued in euros. You have a symptom, and the defect could be in the checkout, the stored order or the refund calculation. Choose MAI Code 2. Ask it to trace the currency through those files and identify where the values first diverge before suggesting a patch. Deep debugging, refactoring and changes that span files are the uses GitHub names for this model.

A door handle affects one room while a shared beam extends through adjoining houses.
Use Flash for a change you can isolate. Choose MAI Code 2 when you need to trace what else depends on it.

Which Copilot plans include each model?

GitHub added both models to the picker on November 17, 2026. The picker is the menu where you choose which model handles your request. The plan and policy details below were checked on November 19 against GitHub’s release entry.

Copilot planMAI Code 2MAI Code 2 Flash
Free, StudentUnavailableAvailable
Pro, Pro+, MaxAvailableAvailable
Business, EnterpriseSubject to organization policySubject to organization policy

Eligible annual subscribers also get access. GitHub says both models use usage-based billing. If you manage seats and need to budget for usage, see the GitHub Copilot pricing guide.

Where to find the models in the picker

Open the model picker in the client where you already work. GitHub lists the following locations for eligible users.

  • Editors. Visual Studio Code, Visual Studio, JetBrains, Xcode and Eclipse.
  • Terminal and agent. Copilot CLI (the command-line interface) and GitHub Copilot cloud agent.
  • App, web and mobile. the GitHub Copilot app, github.com and GitHub Mobile on iOS and Android.

On Business or Enterprise, an administrator can manage each model through the model policy in Copilot settings. With default model enablement on, GitHub enables new models automatically unless the administrator explicitly disables one. If your organization turned off the global default, ask the administrator to enable the specific MAI model you need. That lets a lead make Flash available for routine fixes without changing the default for future releases.

A walkway passes through plan and policy gates before reaching the model picker.
On an organization seat, check plan eligibility first, then the administrator’s model policy.

What the release changes for an engineering lead

Treat the MAI entries as additional choices alongside the other models in Copilot. A team that already has a reliable model for a particular workflow can keep using it. If the decision is about using several models together, the Copilot Fusion explainer covers that separate choice. If you are deciding where developers should work in the first place, start with Claude Code vs GitHub Copilot.

Keep delegated work small enough to review. Both models support agentic coding, where the assistant works through several steps toward a result. Microsoft says it designed them for everyday engineering and identifies very long-running autonomous work as a limit. For the refund bug, ask for a trace and a regression test you can inspect before handing over a broader rewrite. Microsoft AI’s launch announcement

For users of the older MAI Code model, GitHub’s November 17 entry gives no deprecation date. Treat that date as the arrival of the new choices when planning a migration.

Common questions

What is mai code 2?

MAI Code 2 is Microsoft AI’s general-purpose coding model in Copilot. Pick it for work such as tracing a bug across a repository or making coordinated edits to several files.

What is mai code flash?

The new entry is named MAI Code 2 Flash. Microsoft designed it for frequent, focused tasks such as explaining a function or correcting a known error.

Is the mai code any good?

For a team decision, use a ticket with a known fix. Give the model the original bug report, then check whether the proposed patch addresses the cause, passes the regression test and stays within scope.

Get the newsletter for more practical guides to developer tools.

Published
Category
Build
Related Articles
GitLab Alternatives in 2026: Gitea, GitHub, Forgejo, Bitbucket, Azure DevOps, Codeberg and OneDev

GitLab Alternatives in 2026: Gitea, GitHub, Forgejo, Bitbucket, Azure DevOps, Codeberg and OneDev

Compare seven GitLab alternatives by hosting, CI capacity, registry, security and seat price. See what each importer moves and which pipelines need rewriting.Nov 19, 2026Build
Social Media API in 2026: Zernio, Ayrshare, Phyllo and the Native APIs

Social Media API in 2026: Zernio, Ayrshare, Phyllo and the Native APIs

Compare Zernio, Ayrshare, Phyllo and four native APIs for publishing and creator data. See how customers connect and which features need approval.Nov 18, 2026Build
AGENTS.md vs CLAUDE.md

AGENTS.md vs CLAUDE.md

Which file should your coding agents read? See how Claude Code, Codex, Cursor and Copilot load instructions and how one import keeps team rules in sync.Nov 18, 2026Build
Thunkable Review

Thunkable Review

Can one Thunkable app serve your business on iOS and Android? Compare its blocks, data connections, publishing plans and limits on team editing.Nov 18, 2026Build
LLM Wiki: Build a Knowledge Base Your AI Maintains

LLM Wiki: Build a Knowledge Base Your AI Maintains

Set up an LLM wiki in a folder of Markdown files. Follow one team decision from source memo to cited answer, then update it when the decision changes.Nov 18, 2026Build
Codex Alternatives in 2026: Claude Code, Cursor, GitHub Copilot and 5 More

Codex Alternatives in 2026: Claude Code, Cursor, GitHub Copilot and 5 More

Compare eight Codex alternatives by model, editor, billing and team controls. See when to switch agents and when to keep Codex.Nov 18, 2026Build
Paperclip Alternatives in 2026: OpenClaw, Hermes Agent, CrewAI, LangGraph, AutoGen and Vibe Kanban

Paperclip Alternatives in 2026: OpenClaw, Hermes Agent, CrewAI, LangGraph, AutoGen and Vibe Kanban

Compare six Paperclip alternatives by who directs the agents, what each tool costs, and whether you need a runtime, a workflow framework or a code review board.Nov 17, 2026Build
Docker Desktop Pricing: Who Pays and Which Plan Fits

Docker Desktop Pricing: Who Pays and Which Plan Fits

Docker Desktop prices, the exact free-use rule, and yearly bills for 5, 40 and 300 users. Compare plans, billing limits and free alternatives.Nov 17, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.