MAI Code 2 is 96% of Opus 5.5, but 5% is a promo price

MAI Code 2 is Microsoft’s coding model for GitHub Copilot, and on Microsoft’s own tests it reaches 96% of Claude Opus 5.5’s score. The matching claim of 5% of the cost is weaker, because it uses a half-price launch promo that ends May 17, 2027. At full price, MAI Code 2 costs about a tenth of Opus per task.
Key Takeaways
- MAI Code 2 scores 63.2% to Opus 5.5’s 65.3% on Microsoft’s own tests.
- The “5% of the price” figure uses a half-price promo that ends in May 2027.
- At full price, it costs about a tenth of Opus per task.
- Opus still wins clearly on the hardest test, SWE Atlas.
- You can only use it inside GitHub Copilot, with no open API yet.
What Microsoft announced with MAI Code 2
MAI Code 2 is a family of two coding models that Microsoft sells through GitHub Copilot. Microsoft pre-trained and post-trained both from scratch and launched them at Ignite on November 17, 2026, alongside a security model, an image model, a voice model and its Maia 200 chip. The two models split the work by size:
- MAI Code 2 handles production code, deep debugging, changes across many files, reasoning over a whole repo, and UI work.
- MAI Code 2 Flash handles high-volume work: explaining code, small targeted edits, routine fixes and quick iterations.
Both are “not yet tuned” for science research or very long agent sessions. That is at odds with the pitch for MAI Code 2 as built for “complex, long-horizon software engineering”, and its known problems in long agent sessions include drifting from instructions, repeating tool calls and stopping early.

The specs are close to Opus 5.5 on paper. Both MAI models take about 1.05 million tokens of context, accept text and images, and offer five effort levels from low to max. Microsoft hosts them on Azure and releases no weights. The size is unclear: MAI Code 2 is listed at “50B-100B (80B active)” in one table and at about 2.8 trillion total parameters with 77B active elsewhere in the same document.
The headline claim averages four coding benchmarks: DeepSWE 1.1, Terminal-Bench 2.1, SWE Atlas and FrontierCode v1.1. On that average, Microsoft says MAI Code 2 gives 96% of Opus 5.5’s performance at 5% of its cost. Against GPT-6.1 Sol, the claim is 98% of the score at 40% of the cost.
Does MAI Code 2 do 96% of Opus 5.5’s work?
The score half of the claim is fair on Microsoft’s own numbers.
| Benchmark | MAI Code 2 | Opus 5.5 |
|---|---|---|
| DeepSWE 1.1 | 73.2% | 69.0% |
| Terminal-Bench 2.1 | 84.6% | 78.7% |
| FrontierCode v1.1 | 52.0% | 56.0% |
| SWE Atlas | 43.1% | 57.5% |
| Average | 63.2% | 65.3% |
Divide 63.2 by 65.3 and you get about 97%, so “96%” is a slightly modest rounding. GPT-6.1 Sol averages 64.1% on the same chart.
MAI Code 2 wins the two tests closest to routine terminal and repo work, but it loses SWE Atlas by 14.4 points. SWE Atlas is the hardest of the four, built from expert-written tasks across 18 maintained open-source repos.
Three of the four benchmarks ran on MSBench, Microsoft’s internal eval platform, through GitHub Copilot CLI 1.0.102 with subagents turned off. All models ran at max effort, and each score is an average of three runs. Only the FrontierCode numbers come from Artificial Analysis, an outside benchmark group.
Those FrontierCode numbers don’t line up with other sources. Microsoft’s chart gives Opus 5.5 56.0%. In Anthropic’s own run, it scored 54.4% at max effort and 54.6% at its default medium effort. On Artificial Analysis’s own board, it scored 52% at max effort at launch and 57.1 at medium in a later snapshot. Three sources give three numbers, because the harness, the metric and the date all differ. Microsoft doesn’t say which run it used.
Where the 5% price comes from
The 5% figure comes from a footnote: Microsoft shows MAI Code 2’s cost “at its 50% promotional price”. In Copilot, GitHub charges that promo rate until May 17, 2027, then the list rate. Here are the prices per million tokens:
| Model | Input | Cached | Output |
|---|---|---|---|
| MAI Code 2 (promo) | $0.50 | $0.025 | $2.50 |
| MAI Code 2 (list) | $1.00 | $0.05 | $5.00 |
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 |
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 |
On Microsoft’s chart, one benchmark task costs $0.309 with MAI Code 2 at promo, $0.761 with GPT-6.1 Sol and $6.306 with Opus 5.5.
Double the MAI Code 2 figure to list price and you get $0.618 per task, which is about 10% of Opus 5.5’s cost rather than 5%. Against GPT-6.1 Sol it is about 81% of the cost, far above the claimed 40%. GPT-6.1 Sol is no longer OpenAI’s newest model in Copilot: GPT-6.2 Sol is in the same price list at the same per-token rates.

Opus costs 8 times the promo rate per token but 20 times as much per task, which means Opus at max effort used about two and a half times as many tokens per task. So most of the cost gap comes from how long Opus thinks.
Microsoft ran the models at max effort, but Anthropic’s default for Opus 5.5 is medium. On FrontierCode, Opus at medium scored 54.6%, slightly above its 54.4% at max. Anthropic also says medium-effort Opus beats GPT-6 Astra’s top score for about a fifth of the cost per task. Max effort is the most expensive way to run Opus, so the comparison shows Opus at its highest cost.
What one independent test found on real code
In the one outside test so far, the developer behind paddo.dev bought Copilot Pro and replayed six merged changes from a production monorepo. Each model got 20 runs in Copilot CLI at medium effort, with subagents left on. The tests that shipped with each original fix did the grading.
| 20 runs each | MAI Code 2 | Opus 5.5 | Sonnet 5.5 | GPT-6.1 Sol |
|---|---|---|---|---|
| All tests passed | 8 | 13 | 11 | 11 |
| Broke old test | 5 | 0 | 0 | 5 |
| New tests fixed | 92% | 92% | 88% | 94% |
| Total cost | $5.29 | $38.45 | $11.76 | $6.73 |
Its $5.29 bill is the promo price. At list price it comes to $10.58, close to the $11.76 Sonnet 5.5 cost, and Sonnet passed all tests in more runs without breaking any old test.
MAI Code 2 fixes what you ask and breaks what you did not.
This is one repo, six changes and one tester, so treat it as a warning sign, since a sample that small can’t prove much. It still shows a failure mode that the benchmark averages miss, because those benchmarks only check whether the target task passes.
What MAI Code 2 Flash is good for
MAI Code 2 Flash is the cheaper model, built to compete with the small, fast models developers run all day. On three of the benchmarks (DeepSWE 1.1, Terminal-Bench 2.1 and SWE Atlas), Flash averages 61.0%. GPT-6 Luna gets 55.1% and Claude Haiku 5.5 gets 53.9%. Microsoft puts Flash’s cost at 65% of GPT-6 Luna’s and 20% of Haiku 5.5’s, again at promo price.
Flash scores 59.9% on DeepSWE 1.1, 78.3% on Terminal-Bench 2.1 and 44.8% on SWE Atlas. On SWE Atlas, the small model beats the full MAI Code 2’s 43.1%.
Flash costs $0.05 input, $0.005 cached and $0.25 output per million tokens until May 17, 2027, then $0.10, $0.01 and $0.50. That list price is the same per-token rate as Claude Haiku 5.5 and GPT-6 Luna on their default tiers.
At equal rates, any saving has to come from using fewer tokens. Doubling Microsoft’s promo ratios gives Flash about 130% of GPT-6 Luna’s cost per task and about 40% of Haiku 5.5’s. Against Luna, the saving disappears at list price, because Flash spends more tokens per task than Luna does.
Flash runs on every Copilot plan, Free and Student included, and is also in a limited-access preview in Microsoft Foundry. On Free and Student, though, models are reachable only through auto model selection, so you can’t pick Flash by hand there.
Where you can use MAI Code 2
MAI Code 2 is only available inside GitHub Copilot. It’s on the paid plans: Pro, Pro+, Max, Business and Enterprise, but not Free or Student. It shows up in most places Copilot does:
- Editors: VS Code, Visual Studio, JetBrains, Xcode and Eclipse.
- Copilot itself: the CLI, the cloud agent, the Copilot app, github.com and GitHub Mobile.
Business and Enterprise admins control it through the Copilot model policy. Under default enablement, new models switch on unless an admin turns them off, so team leads may find it in the picker without having chosen it. Billing is usage-based at the per-token rates above.
There is no standalone API yet. Microsoft lists OpenRouter, Vercel, Hermes, OpenCode and Kilo as coming soon, and only Flash has a preview outside Copilot, in Foundry. Because MAI Code 2 exists only inside Copilot, it is worth checking how Copilot compares with Claude Code and Cursor before you build a workflow around it.
When to pick MAI Code 2 and when to stay on Opus 5.5
Pick MAI Code 2 for terminal-heavy fixes, contained changes in a single repo and UI work, because on Microsoft’s own tests it matches or beats Opus 5.5 there at a fraction of the cost. Microsoft also reports that developers preferred its frontend results over GPT-6 Sol 64% of the time, in a blind test with 258 annotators. That opponent is the older GPT-6 Sol, while the rest of the launch compares against GPT-6.1 Sol.
Stay on Opus 5.5 for three kinds of work:
- Hard, multi-step changes, where the 14-point SWE Atlas gap shows.
- Long agent sessions, which Microsoft itself says the model isn’t tuned for.
- Code where a broken neighbouring test is expensive, given the regressions in the monorepo replay.
Before you compare bills, run Opus 5.5 at medium effort, because the max-effort price on Microsoft’s chart is the worst case. MAI Code 2 isn’t the only cheaper option. Gemini 4 Neon comes close to Opus 5.5 at coding, and DeepSeek V4 Pro undercuts Claude and GPT on price.
On May 17, 2027, MAI Code 2’s price doubles to $1 input and $5 output per million tokens, which doubles its side of the cost comparisons above. Run your own tasks through it before then, while the promo makes testing cheap.
Botmonster Tech