█

AI/TLDR

Microsoft AI · 2026-11-17 · major

MAI Code 2 — Microsoft's coding model at 40% of GPT-6.1 Sol's cost

In short

MAI Code 2 and MAI Code 2 Flash are Microsoft's new coding models, live in GitHub Copilot. Microsoft says Code 2 reaches 98% of GPT-6.1 Sol's score at 40% of its cost, at a 50% launch discount.

Microsoft AI · 2026-11-17 · 1 source checked

MAI Code 2 launch header from Microsoft AI

Microsoft AI ships two coding models, built for Copilot, that claim near-frontier scores at a fraction of the cost.

Key specs

Vs gpt 6.1 sol98% of score at 40% of cost
Vs claude opus 5.596% of score at 5% of cost

Quick facts

MakerMicrosoft AI
ModelsMAI Code 2 and MAI Code 2 Flash
Benchmarks usedDeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas, FrontierCode v1.1
AvailabilityGitHub Copilot now; Code 2 Flash in limited preview on Microsoft Foundry
Coming soonOpenRouter, Vercel, Hermes, Open Code, Kilo
PricingShown at a 50% promotional price; no per-token rate published

What is it?

MAI Code 2 is Microsoft's coding model for everyday enterprise work: taking code to production, deep debugging, multi-file changes, repo-wide reasoning and UI work. MAI Code 2 Flash is the lighter sibling for high-volume jobs such as code explanations, targeted edits and routine fixes.

How does it work?

Microsoft tested both models on DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode v1.1 at max reasoning effort, and reports scores relative to rival models averaged across those four. Microsoft says MAI Code 2 Flash performs comparably to GPT-6 Luna and Claude Haiku 5.5 at about one-fifth the cost of Haiku.

Why does it matter?

Teams that pay for coding agents by the token get a first-party option that Microsoft says is much cheaper than the leading models. The prices are half-price launch prices, so the real cost after the promotion is not yet known.

Who is it for?

Teams using GitHub Copilot and coding-agent builders

Frequently asked questions

Where can I use MAI Code 2 today?
MAI Code 2 and MAI Code 2 Flash are available in GitHub Copilot now. Microsoft says MAI Code 2 Flash is in limited-access preview in Microsoft Foundry. Microsoft also lists OpenRouter, Vercel, Hermes, Open Code and Kilo as coming soon.
How much does MAI Code 2 cost?
Microsoft has not published a per-token price for MAI Code 2 in its launch post. It states costs only relative to rivals: about 40% of GPT-6.1 Sol's cost and about 5% of Claude Opus 5.5's. Both models are shown at a 50% promotional price.
How does MAI Code 2 compare with GPT-6.1 Sol and Claude Opus 5.5?
Microsoft says MAI Code 2 reaches 98% of GPT-6.1 Sol's performance and 96% of Claude Opus 5.5's, averaged over four benchmarks run at max reasoning effort. In blind frontend evaluations with 258 annotators, reviewers preferred MAI Code 2 over GPT-6 Sol 67% of the time.
Are MAI Code 2 weights open?
Microsoft's MAI Code 2 launch post does not say the weights are open. A separate Microsoft offer, MAI Licensed Weights, lets customers customize frontier MAI models in their own Azure environment, but the post does not tie it to MAI Code 2.

Try it

Pick MAI Code 2 in GitHub Copilot's model list

Sources

Tags

  • microsoft
  • mai-code-2
  • mai-code-2-flash
  • coding
  • github-copilot
  • proprietary

← All releases · Learn AI