Jorge Turbica / blog · Blog ← All articles ES · Leer en español
AI

MAI Code 2 claims 96% of Claude Opus 5.5 for 5% of the cost, live in Copilot

Microsoft ships MAI Code 2 and Code 2 Flash in GitHub Copilot at $0.50 per million tokens: what sits behind the 96% and when it's worth switching.

Microsoft says MAI Code 2 delivers 96% of Claude Opus 5.5's coding performance at 5% of the cost per task. The model shipped on November 17, 2026, at Ignite, straight into the GitHub Copilot model picker, alongside a lightweight sibling, MAI Code 2 Flash, that also lands on the free plan. It is the first time the MAI-Code family competes in the big-model tier rather than only at the cheap end.

What the MAI Code 2 family brings

Microsoft is shipping two models with clearly separate jobs:

  • MAI Code 2 is the general-purpose model: deep debugging, multi-file implementation, refactoring and repository-wide reasoning. It is available on Copilot Pro, Pro+, Max, Business and Enterprise.
  • MAI Code 2 Flash is the lightweight option for code explanations, targeted edits and routine fixes. It reaches every plan, Free and Student included, and is also in limited-access preview on Microsoft Foundry.

Both show up in VS Code, Visual Studio, JetBrains, Xcode, Eclipse, Copilot CLI, the Copilot cloud agent, the Copilot app, github.com and GitHub Mobile. Microsoft says OpenRouter, Vercel and other providers are coming soon, but for now Copilot is the only practical way in for a developer.

Microsoft draws the line itself: the models are "explicitly not yet tuned" for harder problems such as fundamental science research and very long-horizon agentic work. This is a model for everyday engineering, not one to leave alone for hours with a migration.

How to try it

There is nothing to install: pick MAI Code 2 or MAI Code 2 Flash in the model picker of any Copilot client. On Copilot Business and Enterprise, new models are switched on automatically unless an admin has turned off default enablement or explicitly blocks them in the model policy under Copilot settings. If your organisation has that default turned off, someone has to enable them there.

Billing is usage-based, in AI credits derived from the tokens consumed, like every other Copilot model.

Pricing next to the models you already use in Copilot

Per-million-token prices from GitHub's official table, default tier. The MAI prices are promotional until May 17, 2027; on that date they double.

ModelInputCached inputOutput
MAI Code 2 (promo)$0.50$0.025$2.50
MAI Code 2 (from May 17, 2027)$1.00$0.05$5.00
GPT-6.1 Sol and GPT-6.2 Sol$2.00$0.10$10.00
Claude Opus 5.5$4.00$0.20$20.00
MAI Code 2 Flash (promo)$0.05$0.005$0.25
MAI Code 2 Flash (from May 17, 2027)$0.10$0.01$0.50
Claude Haiku 5.5 and GPT-6 Luna$0.10$0.01$0.50

Take an agent task that burns one million input tokens and 100,000 output tokens, no caching: Opus 5.5 costs $6.00; GPT-6.1 or GPT-6.2 Sol, $3.00; MAI Code 2, $0.75 today and $1.50 once the promo ends. Per token, MAI Code 2 is eight times cheaper than Opus 5.5 during the promotion and four times cheaper afterwards.

That maths explains where the headline comes from, but it does not get you all the way there. Microsoft's "5% of the cost" is cost per task on the FrontierCode 1.1 benchmark, using Artificial Analysis data and MAI Code 2 at its promotional price. Going from 12.5% per token to 5% per task means the model has to spend far fewer tokens than Opus 5.5 to solve the same problem. That is plausible: Microsoft says MAI Work Flash, the Code 2 Flash variant it runs inside Word, uses about 42% fewer input tokens per call than GPT-6.1 Sol. But token efficiency is highly workload-dependent, and it may not carry over to yours.

What sits behind the 96%

Performance is an average over four benchmarks: DeepSWE 1.1, Terminal Bench 2.1, SWE-Atlas and FrontierCode 1.1. The first three ran on MSBench, Microsoft's own test bench, with Copilot CLI as the harness and no subagents; every model ran at maximum reasoning effort. Under those conditions MAI Code 2 lands at 98% of GPT-6.1 Sol for 40% of the cost, and 96% of Opus 5.5 for 5%. Microsoft publishes the percentages, not the raw scores.

Two details matter when reading that comparison:

  • It does not pit itself against each rival's latest. The OpenAI baseline is GPT-6.1 Sol, not GPT-6.2 Sol, which is already in Copilot at the same per-token price. The Anthropic baseline is Opus 5.5, not Claude Fable 5.2, the model GitHub lists as the replacement for Fable 5 in Copilot. The 96% is against Opus 5.5, not against the best on the market.
  • The harness is Microsoft's. Measuring through Copilot CLI without subagents is fair if Copilot is where you will use it, but it says nothing about Opus 5.5 inside Claude Code or GPT-6.1 Sol inside Codex, where their vendors tune them.

On the frontend side there is one more data point: in a blind evaluation with 258 annotators, reviewers preferred MAI Code 2's interfaces, visualisations, games and SVGs over GPT-6 Sol's 64% of the time.

Flash's claim is even bolder: performance comparable to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of their cost respectively. Per token, at promo pricing, Flash is half the price of both Haiku 5.5 and GPT-6 Luna.

Where it wins and where it loses

It wins on the ordinary engineering task you currently throw at a big model out of habit: fixing a broken test, wiring up an endpoint that touches four files, refactoring a module. If the 96% holds on your codebase, paying an eighth of the per-token price for six months is hard to ignore. Flash also makes a strong default for the free plan and for high-volume work.

It loses where Microsoft admits it has not aimed yet: long agentic sessions, open-ended design problems, and tasks where the missing 4% is exactly the gap between a patch that compiles and one that is correct. It also loses outside Copilot: with no general API yet, it is no use if your workflow lives in Claude Code, Codex or your own integration.

The medium-term risk is the promotion. On May 17, 2027 the price doubles; it stays cheap next to Opus 5.5, but the gap to GPT-6.2 Sol shrinks from four times to two times per token.

Verdict

If you already pay for Copilot and use Opus 5.5 or a GPT Sol model for day-to-day work, a direct trial is worth it: switch to MAI Code 2 for a week on your usual tasks and compare credits spent against how often you have to correct it. I would keep Opus 5.5 or Fable 5.2 for long migrations, architecture changes and incident debugging where a mistake is expensive. For teams paying by volume, Flash is the obvious candidate for the default model on quick edits.

If you do not use Copilot, this is market news for now: Microsoft is no longer just reselling OpenAI and Anthropic models inside Copilot, it is undercutting them on price on its own platform.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗