MAI Code 2: Microsoft's Bet on Cheaper Everyday Coding

2026-11-28来源 dev.toEnglish
MAI Code 2: Microsoft's Bet on Cheaper Everyday Coding

On November 17, 2026, at Ignite, Microsoft AI released two new coding models, and GitHub made them available in Copilot the same day. MAI Code 2 and MAI Code 2 Flash are Microsoft's own models, and their pitch is about price as much as performance: "everyday coding at scalable prices".

Two models, two jobs

GitHub's changelog describes the pair this way.

MAI Code 2 is "a powerful, general purpose coding model" meant for complex tasks: deep debugging, multi-file implementation, refactoring and repository-wide reasoning.

MAI Code 2 Flash is "a lightweight, cost-efficient coding model optimized for everyday development workflows": code explanations, targeted edits, routine fixes and rapid iteration.

Both are designed for agentic coding workflows.

The claim: near-frontier results for much less

Microsoft's announcement puts numbers on the pitch. Averaged over four benchmarks (DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1), Microsoft says MAI Code 2 delivers:

  • 98% of the performance of GPT-6.1 Sol at 40% of the cost
  • 96% of the performance of Claude Opus 5.5 at 5% of the cost

For the smaller model, Microsoft says MAI Code 2 Flash offers "comparable performance" to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of their cost, across three coding benchmarks.

In blind side-by-side evaluations of frontend work, developers also preferred MAI Code 2's output over GPT-6 Sol's 64% of the time.

Read the footnotes

These are Microsoft's own figures, and the announcement is open about how they were produced. Four details matter:

  • The price is promotional. The cost comparisons use MAI Code 2 "at its 50% promotional price".
  • Most benchmarks ran in-house. Three of the four ran on MSBench, "Microsoft's internal eval platform", with the GitHub Copilot CLI. The FrontierCode scores and costs come from Artificial Analysis.
  • All models ran at maximum reasoning effort.
  • Results vary. In Microsoft's words: "Performance and cost comparisons vary by workload, model configuration, reasoning effort, and pricing assumptions."

Microsoft is equally direct about what the models are for. They were built "to prioritize the coding work our customers do every day", and they are "explicitly not yet tuned for harder problems, like fundamental science research and very long-horizon agentic work".

Where you can use them

In GitHub Copilot, availability depends on the plan:

  • MAI Code 2: Copilot Pro, Pro+, Max, Business and Enterprise.
  • MAI Code 2 Flash: all of those, plus Copilot Free and Student.

Both appear in the model picker in VS Code, Visual Studio, Copilot CLI, the Copilot cloud agent, the GitHub Copilot app, github.com, GitHub Mobile, JetBrains, Xcode and Eclipse. They are billed under usage-based billing.

For Business and Enterprise plans, administrators manage access through the model policy in Copilot settings. Under default model enablement, new models are switched on automatically unless an administrator has turned that default off or disabled the model.

Outside Copilot, Microsoft says MAI Code 2 Flash is in limited-access preview in Microsoft Foundry, and that both models will come to other platforms soon.

Real feedback

After trying it on real tasks, here is my take.

  • I think we are reaching the point where most coding tasks can be done cheaply and accurately, and the more powerful models are needed only for the complex ones.
  • The service itself still needs work. I've seen "this request is taking longer than expected" a few times too many, even on trivial tasks.
  • In my experience, the Flash version is on the same level as GPT-6 Luna, and cheaper.

Conclusion

MAI Code 2 is a clear statement of strategy: most coding work is routine, and it shouldn't need the most expensive model. Microsoft's numbers are promising, but they are vendor benchmarks at a promotional price. The models are in the Copilot model picker, so the sensible next step is to try them on your own tasks and compare the results and the bill.

You can follow me on GitHub, where I'm creating cool projects.

I hope you enjoyed this article, until next time 👋

原文:https://www.a8q9.cn/en/article/mai-code-2-microsoft-s-bet-on-cheaper-everyday-coding-cb5aeb.html

相关文章