MAI Code 2 costs 5% of Opus 5.5 on launch pricing. At the full price, the same work costs 10%
Microsoft's headline savings were measured at a 50% promotional rate that ends on 17 May 2027. A short script shows what the claim implies and what to measure instead.

Microsoft says MAI Code 2 delivers 96% of Claude Opus 5.5’s coding performance at 5% of its cost. The figure comes from the launch post of 17 November 2026, and the same post says the costs behind it are shown at a 50% promotional price. GitHub’s pricing table puts the end of that promotion at 17 May 2027.
Read the two statements together and the 5% is a launch-window number. On the full price the same work costs twice as much, around 10% of Opus 5.5, if nothing else changes. That’s still cheap. But it isn’t the figure to put in a budget, and the more interesting part is what the claim says about how many tokens the model spends.
The rate card
Prices per million tokens, as GitHub lists them for Copilot:
| Model | Input | Cached input | Output |
|---|---|---|---|
| MAI Code 2, promotional | $0.50 | $0.025 | $2.50 |
| MAI Code 2, from 17 May 2027 | $1.00 | $0.05 | $5.00 |
| MAI Code 2 Flash, promotional | $0.05 | $0.005 | $0.25 |
| MAI Code 2 Flash, from 17 May 2027 | $0.10 | $0.01 | $0.50 |
| GPT-6.1 Sol (up to 272K input) | $2.00 | $0.10 | $10.00 |
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 |
Both MAI models are listed as generally available in the supported models page . MAI Code 2 is available on Copilot Pro, Pro+, Max, Business and Enterprise, and Flash adds Free and Student, per the GitHub changelog . Under default model enablement, Business and Enterprise admins get both turned on automatically unless the policy says otherwise.
What the claim implies
One property of this table makes the arithmetic easy: MAI Code 2’s price is a fixed fraction of each rival’s price on all three rates. It’s a quarter of Sol’s at promotional rates, and an eighth of Opus 5.5’s. Because the ratio is the same for input, cached input and output, the mix of tokens in a task doesn’t matter for the comparison. Only the total volume does.
That lets you work backwards from Microsoft’s cost claims to the token volume they imply. Here’s the script:
RATES = { # USD per 1M tokens: input, cached input, output
"MAI Code 2 (promo)": (0.50, 0.025, 2.50),
"MAI Code 2 (from 2027-05-17)": (1.00, 0.05, 5.00),
"GPT-6.1 Sol": (2.00, 0.10, 10.00),
"Claude Opus 5.5": (4.00, 0.20, 20.00),
}
CLAIMS = {"GPT-6.1 Sol": 0.40, "Claude Opus 5.5": 0.05} # MAI cost as a share of the rival's
def price_ratio(a, b):
ratios = {round(x / y, 6) for x, y in zip(RATES[a], RATES[b])}
assert len(ratios) == 1, f"rates are not proportional: {ratios}"
return ratios.pop()
for rival, claim in CLAIMS.items():
promo = price_ratio("MAI Code 2 (promo)", rival)
full = price_ratio("MAI Code 2 (from 2027-05-17)", rival)
tokens = claim / promo
print(f"vs {rival}")
print(f" price per token: promo {promo:.3f}x, full {full:.3f}x")
print(f" claimed cost share {claim:.0%} => implied token spend {tokens:.2f}x the rival's")
print(f" same token spend at full price => cost share {tokens * full:.0%}")
Run it and it prints:
vs GPT-6.1 Sol
price per token: promo 0.250x, full 0.500x
claimed cost share 40% => implied token spend 1.60x the rival's
same token spend at full price => cost share 80%
vs Claude Opus 5.5
price per token: promo 0.125x, full 0.250x
claimed cost share 5% => implied token spend 0.40x the rival's
same token spend at full price => cost share 10%
Two things stand out.
Against Sol, the saving is thinner than the headline suggests. A quarter of the price per token only gets to 40% of the cost if MAI Code 2 spends about 1.6 times as many tokens per task. At the full price, the same usage costs 80% of Sol. That’s a 20% saving, not 60%, in exchange for 98% of the benchmark score.
Against Opus 5.5, the implied token volume is 0.4 times, so Opus 5.5 spends two and a half times as many tokens on the same benchmark tasks. Price per token alone only gets it to 12.5%. The rest of the gap to 5% is Opus 5.5’s own token appetite on these tasks, and that part doesn’t go away when the promotion ends.
One caution on the method: the launch post says “cost” without defining it. The script assumes it’s total spend per benchmark task at the listed rates, and a different definition (cost per passing task, say) would change the implied token ratios. The price ratios are solid. The token inference is arithmetic on a claim.
What the benchmark setup does and doesn’t tell you
Microsoft’s own notes on the figures matter here. Every model ran at max reasoning effort. DeepSWE 1.1, Terminal Bench 2.1 and SWE-Atlas ran on MSBench with the GitHub Copilot CLI and no subagents, while FrontierCode 1.1 scores and costs come from Artificial Analysis. The post also says the models aren’t yet tuned for very long-horizon agentic work.
So the cost claim describes a particular harness at maximum effort. If you run Opus 5.5 at a lower effort setting, or with subagents handling the cheap reads, its token spend drops and the gap shrinks. The reverse holds for MAI Code 2. That’s why a vendor’s cost-share figure can’t be carried into your own workflow unchanged, and it applies equally to every vendor’s figures, not only Microsoft’s.
Microsoft also reports that in blind frontend app evaluations, 258 annotators preferred MAI Code 2’s output over GPT-6 Sol 64% of the time. Treat it as a claim about visual output on the tasks Microsoft chose. It says nothing about whether the generated code is correct or maintainable.
Flash is a separate question
MAI Code 2 Flash lists at a tenth of the price of MAI Code 2 on every rate. Microsoft says it’s comparable to GPT-6 Luna and Claude Haiku 5.5 at 65% and 20% of their cost, across three coding benchmarks and again at promotional prices. The same promotion logic applies, and the Flash prices double on 17 May 2027 as well.
If your agent setup has a cheap tier for explanations, targeted edits and routine fixes, Flash is the new candidate for it. Microsoft’s own description of Code 2 Flash is everyday tasks, and the post makes no claim about long-horizon work.
What to do with this
Measure on your own tasks instead of borrowing a ratio. Pick 20 closed tickets of the kind you actually hand to an agent, run each through MAI Code 2 and the model you use now, and record three numbers per task: whether your tests pass, the input, cached and output token counts, and the wall-clock time.
Then reuse the script above with your real token counts. Replace the claim table with your measured totals, price them at both the promotional and the post-17 May rates, and compute cost per passing task rather than cost per attempt. A model that’s cheap but fails one task in three can cost more per merged change than a dearer one that doesn’t.
Two decisions follow. If the full-price cost per passing task still wins, switch that task class and put the 17 May 2027 date in the team calendar. If it only wins at promotional rates, use the model now and re-run the comparison before the price changes.