Wain AI/Tech Blog

AI news and trends worldwide, updated nearly every day

Microsoft's MAI Code 2 and Code 2 Flash Arrive in GitHub Copilot - Promotional Prices Run Until May 17, 2027

Microsoft's MAI Code 2 and Code 2 Flash Arrive in GitHub Copilot - Promotional Prices Run Until May 17, 2027

MAI Code 2 and MAI Code 2 Flash, the coding models Microsoft announced on November 17, 2026, are now available in GitHub Copilot. Copilot bills them at promotional rates of $0.50 input and $2.50 output per million tokens ($0.05 and $0.25 for Flash), which double on May 17, 2027.

Microsoft AI has announced MAI Code 2 and MAI Code 2 Flash as a new generation of its MAI coding models 1. The company positions both for “everyday enterprise coding tasks”. GitHub, in its changelog, said the two models can now be used in GitHub Copilot 2.

For developers and administrators on Copilot, three things matter: which plans can select the models, what the usage-based prices are and how long they last, and how to read the performance and cost comparisons Microsoft published.

How the two models divide the work

By Microsoft’s description, MAI Code 2 is strong at getting code ready for production, in-depth debugging, implementation spread over several files, reasoning over a whole repository, and building UI 1. GitHub’s changelog also recommends it for complex jobs, citing deep debugging, refactoring, multi-file implementation, and reasoning across an entire repository 2.

MAI Code 2 Flash is presented as a lightweight model built for large volumes of work like explaining code, making focused edits, fixing routine issues, and iterating quickly 1.

Microsoft also spells out where the models have not been tuned yet: harder problems such as fundamental science research, and agent work that runs over very long horizons 1. Anyone planning to hand long autonomous tasks to these models should choose with that caveat in mind.

Plans and clients in Copilot

According to GitHub, eligible plans differ by model 2.

ModelEligible plans
MAI Code 2Pro, Pro+, Max, Business, Enterprise
MAI Code 2 FlashFree, Student, Pro, Pro+, Max, Business, Enterprise

The changelog says both models are offered to eligible subscribers on annual plans. They can be picked from the model selector in VS Code, Visual Studio, Copilot CLI, Copilot cloud agent, the GitHub Copilot app, github.com, GitHub Mobile, JetBrains, Xcode, and Eclipse.

Business and Enterprise administrators decide whether members can use MAI models via the model policy found in Copilot settings. With default enablement in place, a newly added model is turned on by itself unless the admin has switched off the global default or blocked that specific model 2. Organizations that limit which models their members can use should check how that policy is set.

Promotional prices that double on May 17, 2027

Both models are billed on a usage basis 2. GitHub’s pricing table lists these rates per million tokens 3.

ModelInputCached inputOutput
MAI Code 2 (promotional)$0.50$0.025$2.50
MAI Code 2 (from May 17, 2027)$1.00$0.05$5.00
MAI Code 2 Flash (promotional)$0.05$0.005$0.25
MAI Code 2 Flash (from May 17, 2027)$0.10$0.01$0.50

The promotional rates apply until May 17, 2027. From that date, input, cached input, and output all move to list prices twice as high. Copilot converts per-token charges into AI credits (one credit is $0.01), and usage beyond a plan’s included allowance is billed at these rates. As covered in our article on Copilot access, Business and Enterprise pool each user’s allowance at the level of the billing entity.

The same table still lists the previous-generation MAI-Code-1.1-Flash at $0.20 input and $1.20 output. The promotional rates for MAI Code 2 Flash are below half of those.

For the competing models Microsoft named, the same table shows these default-tier rates 3.

ModelInputOutput
GPT-6.1 Sol$2.00$10.00
Claude Opus 5.5$4.00$20.00
GPT-6 Luna$0.10$0.50
Claude Haiku 5.5$0.10$0.50

Once the promotion ends, MAI Code 2 Flash will cost $0.10 input and $0.50 output, the same as GPT-6 Luna and Claude Haiku 5.5. For now, its lower per-token rate compared with those lightweight models comes from the promotional pricing.

Benchmarks from Microsoft’s own evaluation, costs at promotional prices

Microsoft averaged four benchmarks (FrontierCode v1.1, DeepSWE 1.1, Terminal Bench 2.1, and SWE-Atlas) that it says reflect the routine enterprise coding work it sees in Copilot. On that average, it says MAI Code 2 delivers 98% of GPT-6.1 Sol’s performance for 40% of the cost; against Claude Opus 5.5, the figures are 96% of the performance and 5% of the cost 1. For MAI Code 2 Flash, it reports results roughly matching both GPT-6 Luna and Claude Haiku 5.5 on three benchmarks, costing 65% and 20% as much, respectively. In a blind comparison of frontend apps, developers chose MAI Code 2’s results over GPT-6 Sol’s 64% of the time, according to the company.

These figures come from Microsoft’s announcement, and the conditions are given in its footnotes. Every model ran at its highest reasoning effort. Microsoft ran three of the benchmarks itself on MSBench, a platform it uses for internal evaluation, through the Copilot CLI with subagents turned off. The FrontierCode numbers, both score and cost, were taken from Artificial Analysis 1.

The cost side deserves attention. Per the footnotes, the costs for MAI Code 2 and MAI Code 2 Flash are shown at their 50% promotional price 1. In Copilot’s pricing table, too, the current rates are promotional rates that last until May 17, 2027. The announcement does not give the ratios at list price. Microsoft itself cautions that how the models compare on quality and cost depends on what the task is, how the model is configured, the reasoning effort used, and what prices are assumed.

What to check when choosing a model in Copilot

For Copilot users, this adds options with lower usage-based rates. MAI Code 2 Flash in particular is selectable on Free and Student too 2.

The low rates come with an end date, though. From May 17, 2027 they double, and Flash will sit at the same rates as the other companies’ lightweight models 3. A team weighing it as its standard model would estimate monthly usage at the post-promotion list price. On performance, Microsoft’s comparisons rest on its internal evaluation platform and promotional prices, so how the models do on a team’s own repositories and tasks likely needs to be checked by trying them.

Sources

  1. MAI Code 2 and Code 2 Flash: Everyday coding at scalable prices - Microsoft AI (November 17, 2026)
  2. MAI Code 2 and MAI Code 2 Flash in GitHub Copilot - GitHub Changelog (November 17, 2026)
  3. Models and pricing for GitHub Copilot - GitHub Docs (checked November 19, 2026)

We publish the latest AI news nearly every day.

Subscribe via RSS Get new posts the moment they go live.

Search other keywords →