MAI Code 2 Release
Microsoft released MAI Code 2 and MAI Code 2 Flash on Nov 17, 2026, its own coding models, in GitHub Copilot from the Free plan up, at a promotional $0.50 and $2.50 per million input and output tokens for MAI Code 2 and $0.05 and $0.25 for Flash until May 17, 2027.
Microsoft released MAI Code 2 and MAI Code 2 Flash on Nov 17, 2026, the first day of Microsoft Ignite: two coding models of its own, made by Microsoft AI, both in GitHub Copilot the same day. MAI Code 2 is on Copilot Pro, Pro+, Max, Business and Enterprise, and MAI Code 2 Flash on those and on Free and Student too, per GitHub's changelog. Until May 17, 2027 they cost half their list price: $0.50 per million input tokens and $2.50 per million output tokens for MAI Code 2, $0.05 and $0.25 for Flash, per GitHub's models and pricing page (read Nov 17, 2026).
What Microsoft says changed
Every claim here is Microsoft's, from its announcement, and every benchmark in it was run by Microsoft:
- Built for everyday enterprise coding: MAI Code 2 for multi-file changes, deep debugging, repository-wide reasoning and interfaces; Flash for explanations, targeted edits, routine fixes and fast iteration. Microsoft says plainly that both are "explicitly not yet tuned" for harder problems such as fundamental science research and very long agentic work.
- Price against performance: averaged over DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1, MAI Code 2 gives 98% of GPT-6.1 Sol's score at 40% of the cost and 96% of Claude Opus 5.5's at 5% of the cost. Its footnote says MAI Code 2's cost was counted at the 50% promotional price, all models ran at maximum reasoning effort, and three of the four tests ran on Microsoft's own platform through the Copilot CLI.
- Interfaces: in blind side-by-side tests by 258 reviewers, MAI Code 2's user interfaces, games, charts, 3D scenes and SVG graphics were preferred over GPT-6 Sol's 67% of the time.
- Flash: comparable to GPT-6 Luna and Claude Haiku 5.5 on three routine coding tests, at 65% and 20% of their cost, again at its promotional price.
- Inside Microsoft's apps: a model tuned from Code 2 Flash, MAI Work Flash, now serves Microsoft 365 and Fabric IQ; Microsoft compares it with GPT-6 Luna in Excel, PowerPoint and Teams on its own internal tests.
What MAI Code 2 costs in Copilot
| Per million tokens | MAI Code 2 | MAI Code 2 Flash |
|---|---|---|
| Input, to May 17, 2027 | $0.50 | $0.05 |
| Cached input, to May 17, 2027 | $0.025 | $0.005 |
| Output, to May 17, 2027 | $2.50 | $0.25 |
| Input, from May 17, 2027 | $1.00 | $0.10 |
| Output, from May 17, 2027 | $5.00 | $0.50 |
Source: GitHub's models and pricing page, read Nov 17, 2026; the models are billed under Copilot's usage-based billing. On the same page Claude Opus 5.5 is $4 and $20 and Claude Haiku 5.5 $0.10 and $0.50 (up to 100,000 input tokens), so even at the full price from May 17, 2027, MAI Code 2 costs a quarter of Opus 5.5 per token and Flash the same as Haiku 5.5.
Limits and availability
In Copilot the models are in the model picker of VS Code, Visual Studio, Copilot CLI, the cloud agent, the GitHub Copilot app, github.com, GitHub Mobile, JetBrains, Xcode and Eclipse, on annual plans too; Business and Enterprise administrators control them through the model policy, and new models are on by default unless an administrator has turned that off (GitHub). Outside Copilot, Flash is in a limited-access preview in Microsoft Foundry, and Microsoft says both are coming "soon" to OpenRouter, Vercel, Hermes, OpenCode and Kilo (Microsoft).
The older MAI-Code-1.1-Flash leaves every Copilot experience on Dec 18, 2026 (GitHub). The same day GitHub added MAI-Code-2 to the Standard level of Copilot Fusion, its mode that picks models for each task (GitHub).
Neither Microsoft nor GitHub has stated the models' context window, output limit, rate limits or knowledge cutoff, or a price for them outside Copilot.
At the Ignite keynote
Microsoft's opening keynote at Ignite on Nov 17, 2026, posted on its own channel, introduced Code 2 as "a new flagship family of coding models", "at the frontier of cost performance for everyday enterprise tasks", good at multi-file implementation and reasoning over a repository, and Code 2 Flash as the model "designed for fast high-volume work like code explanations, targeted edits, rapid iterations". Later in the same keynote Microsoft repeated the price claims of its announcement, 98% of the performance at 40% of the cost, and said the models are "explicitly not yet tuned" for very long agentic work.
What creators say
WorldofAI's Nov 18, 2026 news roundup says both models are already in GitHub Copilot, that Code 2 is aimed at debugging, refactoring and reasoning across a whole repository while Flash is tuned for speed and cheaper everyday work, and calls the benchmarks "truly incredible". It does not test the models: the host says the video is too long to go through the benchmarks, so its praise rests on Microsoft's own figures, the same ones set out above.
What we think
We think MAI Code 2 is on OpenRouter, with a public per-token price, by Feb 28, 2027. Microsoft named OpenRouter first among the places it is coming "soon", and a public price there would be the first test of its price-against-performance claims that Microsoft does not run itself.
Confidence: Likely. Check by: Feb 2027.
We think GitHub makes MAI Code 2 Flash the model Copilot Free users get by default before MAI-Code-1.1-Flash leaves on Dec 18, 2026, since Flash is the one MAI model on the Free plan and costs a tenth of MAI Code 2.
Confidence: Possible. Check by: Dec 2026.
Sources
- Microsoft AI, Introducing MAI Code 2 and MAI Code 2 Flash, Nov 17, 2026.
- Microsoft AI, MAI Code 2, the model page.
- GitHub Changelog, MAI Code 2 and MAI Code 2 Flash in GitHub Copilot, Nov 17, 2026.
- GitHub Docs, Models and pricing for GitHub Copilot, read Nov 17, 2026.
- GitHub Changelog, Upcoming deprecation of MAI-Code-1.1-Flash in December, Nov 17, 2026.
- Microsoft, Microsoft Ignite: Opening Keynote 2026, Nov 17, 2026 (video).
- WorldofAI, Claude Fable 5.5 or Opus 5.6?! GPT-6.2 Astra & Sol, Gemini 4 Neon TODAY! & Microsoft MAI!, Nov 18, 2026 (video).
- GitHub Changelog, GitHub Copilot Fusion updates, Nov 17, 2026.
Moments
Microsoft Ignite: Opening Keynote 2026
Microsoft
Claude Fable 5.5 or Opus 5.6?! GPT-6.2 Astra & Sol, Gemini 4 Neon TODAY! & Microsoft MAI! AI NEWS
WorldofAI
Photos
See also
-
GitHub CopilotGitHub Copilot is GitHub's AI coding assistant. It has a free plan with 2,000 completions a month; Pro costs $10, Pro+ $39 and Max $100 a month, Business $19 and Enterprise $39 a seat, and since Jun 1, 2026 usage is billed in GitHub AI Credits. -
Gemini 4 Carbon ReleaseGoogle announced Gemini 4 Carbon on Oct 28, 2026 as its strongest model and made it generally available to paying Gemini API developers on Nov 10, 2026, at $2 and $10 per million input and output tokens through Nov 30, 2026, then $4 and $20. It has no free tier and is not in the Gemini app.
-
Gemini 4 Hydrogen ReleaseGoogle released Gemini 4 Hydrogen on Nov 12, 2026, its fast Gemini 4 model for everyone, free in Google AI Studio and the Gemini API's free tier and $1.50 and $7.50 per million input and output tokens on the paid tier, and rolling out in the Gemini app, Search and Antigravity.
-
Gemini 4 Neon ReleaseGoogle released Gemini 4 Neon on Nov 18, 2026, a fast reasoning model between Gemini 4 Hydrogen and Gemini 4 Carbon, at $3 and $15 per million input and output tokens on the paid Gemini API (no free tier), the default model in Google Antigravity and in the Gemini app for AI Pro and Ultra subscribers.
-
Gemini Decision 1 ReleaseGoogle released Gemini Decision 1 and the Decisions API on Nov 11, 2026, for developers in the Gemini API and Google AI Studio. It answers yes or no, multiple choice and rubric questions about text, images, audio, video and PDFs as probabilities, with no text output, at $0.10 per million input tokens and a free tier.
-
Gemini Omni 1.2 Flash ReleaseGoogle released Gemini Omni 1.2 Flash on Nov 5, 2026, generally available in the Gemini API, Google Cloud, Flow and Google Vids. It makes and edits video clips of 3 to 15 seconds with sound, at about $0.07 a second for 720p, 30% below Omni 1.1, with no free tier.