MAI Code 2 at a glance
Microsoft launched MAI Code 2 and MAI Code 2 Flash, its AI coding models, in GitHub Copilot on November 17, 2026: in Microsoft's own benchmarks MAI Code 2 delivers 98% of GPT-6.1 Sol's performance at 40% of the cost, with promotional Copilot pricing from $0.05 per million input tokens.
Ask your AI about this story
Ask what changed in MAI Code 2 and MAI Code 2 Flash and what to check before using it in your business. Compare it on price, speed, intelligence and the price-to-speed ratio against the models I would otherwise use, and say which tasks it suits or does not suit.
What changed with MAI Code 2
Microsoft announced MAI Code 2 and MAI Code 2 Flash on November 17, 2026, at Ignite, as its everyday enterprise AI coding models, and both are live in GitHub Copilot today. MAI Code 2 is built for taking code to production: deep debugging, multi-file implementation, repo-wide reasoning and user interfaces. MAI Code 2 Flash is the high-volume sibling for code explanations, targeted edits, routine fixes and rapid iteration. GitHub's changelog puts MAI Code 2 on Copilot Pro, Pro+, Max, Business and Enterprise plans, and MAI Code 2 Flash on every plan including Free and Student, for eligible subscribers on annual plans. MAI Code 2 Flash is also in a limited-access preview in Microsoft Foundry.
In Microsoft's own evaluations, averaged over DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1, MAI Code 2 delivers 98% of GPT-6.1 Sol's performance at 40% of the cost, and 96% of Claude Opus 5.5's at 5% of the cost; in blind frontend evaluations, reviewers preferred its results over GPT-6 Sol 67% of the time. MAI Code 2 Flash matches GPT-6 Luna at 65% of the price and Claude Haiku 5.5 at 20%, across DeepSWE 1.1, Terminal Bench 2.1 and SWE-Atlas (Microsoft's figures). GitHub's Copilot pricing docs list promotional usage rates until May 17, 2027: MAI Code 2 at $0.50 input / $2.50 output per million tokens, and Flash at $0.05 / $0.25, doubling afterwards. Microsoft says the pair is not yet tuned for fundamental science research or very long-horizon agentic work, and as of November 17, 2026, Artificial Analysis had not published pages for either model.
MAI Code 2 benchmarks and pricing
Values are copied from the linked source on the date shown. They are not IA Compa measurements.
- Input price per 1M tokens (Copilot promotional rate)as of · Source for Input price per 1M tokens (Copilot promotional rate): docs.github.com (opens in a new tab)
- $0.50
- Output price per 1M tokens (Copilot promotional rate)as of · Source for Output price per 1M tokens (Copilot promotional rate): docs.github.com (opens in a new tab)
- $2.50
- Performance vs GPT-6.1 Sol (Microsoft's average, four coding benchmarks)as of · Source for Performance vs GPT-6.1 Sol (Microsoft's average, four coding benchmarks): microsoft.ai (opens in a new tab)
- 98% of the performance at 40% of the cost
- Input price per 1M tokens (Copilot promotional rate) · MAI Code 2 Flashas of · Source for Input price per 1M tokens (Copilot promotional rate): docs.github.com (opens in a new tab)
- $0.05
- Output price per 1M tokens (Copilot promotional rate) · MAI Code 2 Flashas of · Source for Output price per 1M tokens (Copilot promotional rate): docs.github.com (opens in a new tab)
- $0.25
- Performance vs GPT-6 Luna (Microsoft's average, three coding benchmarks) · MAI Code 2 Flashas of · Source for Performance vs GPT-6 Luna (Microsoft's average, three coding benchmarks): microsoft.ai (opens in a new tab)
- Matches GPT-6 Luna at 65% of the price
How it compares
Current models we have covered: released in the last six months, newest version of each line only. Each value is the model's latest recorded value. (Models)
Where to compare MAI Code 2
Independent leaderboards and official resources for comparing this model yourself. Rankings change often; each site shows its own current data.
General leaderboards
Why MAI Code 2 matters for businesses
Why it matters: if your team already pays for GitHub Copilot, MAI Code 2 gives you a cheaper default for the everyday work that fills most sprints — debugging, refactors and multi-file changes — at promotional rates far below flagship prices, with no new vendor or migration. Route routine fixes and explanations to MAI Code 2 Flash, keep MAI Code 2 for production work, and your Copilot credits stretch further across the month; just note the models are aimed at everyday enterprise coding, not research-grade problems or very long autonomous runs.
Put it to work: AI services
Get AI News by email
Verified AI stories, each with its official source, on Monday and Thursday mornings. Add breaking news to hear about the biggest ones as soon as we publish them.
Every story links its official source
Free, in English or Spanish
Unsubscribe with one click, any time
Sources for this story
- MAI Code 2 and Code 2 Flash: Everyday coding at scalable prices (opens in a new tab)Official
Microsoft AI · microsoft.ai
- MAI Code 2 and MAI Code 2 Flash in GitHub Copilot (opens in a new tab)Official
GitHub · github.blog
- Models and pricing for GitHub Copilot (opens in a new tab)Official
GitHub · docs.github.com
- Seven new world class models at scalable price-performance (opens in a new tab)Official
Microsoft AI · microsoft.ai
Last verified: . IA Compa summarizes public announcements for business readers. We are not affiliated with the companies mentioned. Always confirm details, pricing, and availability with the official source.
- #llm
- #microsoft
- #mai-code-2
- #mai-code-2-flash
- #github-copilot
- #coding
