# MAI Code 2 Claims 98% of GPT-6.1 Sol at 40% of the Cost

> Microsoft says MAI Code 2 approaches leading coding models for much less money, and is bringing it to GitHub Copilot. Here’s what its model card actually reports, what the benchmark setup can tell us, and what to test before switching. Sources: https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/ https://microsoft.ai/pdf/MAI-Code-2-And-MAI-Code-2-Flash-Model-Card.pdf https://microsoft.ai/news/microsoft-ignite-2026/ https://microsoft.ai/news/microsoft-ignite-2026-mai-keynote/ https://github.blog/changelog/2026-11-17-mai-code-2-and-mai-code-2-flash-in-github-copilot/ https://news.ycombinator.com/item?id=50535885 https://www.reuters.com/legal/litigation/microsoft-unveils-ai-models-coding-cybersecurity-it-takes-anthropic-openai-2026-11-17/

- Published: 2026-11-18
- Duration: 11:47
- Video: https://www.youtube.com/watch?v=DEB8pAd2r7k
- Article: https://buildverse.fun/videos/mai-code-2-claims-98-of-gpt-6-1-sol-at-40-of-the-cost
- Source: Buildverse (https://buildverse.fun)

## Chapters

- [0:00](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=0) The Claim
- [0:51](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=51) The Problem
- [1:48](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=108) The Release
- [2:42](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=162) The Scores
- [4:59](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=299) The Context
- [6:47](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=407) The Price
- [9:03](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=543) The Test
- [10:26](https://www.youtube.com/watch?v=DEB8pAd2r7k&t=626) The Decision

## Commands & links

```text
https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/
https://microsoft.ai/pdf/MAI-Code-2-And-MAI-Code-2-Flash-Model-Card.pdf
https://microsoft.ai/news/microsoft-ignite-2026/
https://microsoft.ai/news/microsoft-ignite-2026-mai-keynote/
https://github.blog/changelog/2026-11-17-mai-code-2-and-mai-code-2-flash-in-github-copilot/
https://news.ycombinator.com/item?id=50535885
https://www.reuters.com/legal/litigation/microsoft-unveils-ai-models-coding-cybersecurity-it-takes-anthropic-openai-2026-11-17/
```

## Article

### The Claim

Microsoft says MAI Code 2 gets ninety-eight percent of GPT-6.1 Sol’s coding performance for forty percent of the cost. That price claim could change which model teams reach for in Copilot. Microsoft averages the performance comparison across four coding benchmarks. It also says Code 2 reaches ninety-six percent of Claude Opus 5.5’s performance at five percent of the cost.

Those are striking ratios, but they come from Microsoft’s own evaluation. Microsoft announced two coding models on November seventeenth, at its Ignite event. The launch puts the claims in context: these are products entering a crowded market, not a neutral leaderboard. Let’s separate the headline from what the published evidence can support.

### The Problem

Coding benchmarks can make a model look cheaper than it feels in your workflow. What matters is not just a score. It’s how often the model completes your task, how much review it needs, and what each run costs. A coding model takes a task, inspects files, proposes edits, and may call tools along the way.

Then someone has to decide whether the result works and whether the change is safe to keep. A benchmark can capture parts of that loop, but no single score captures every team’s workflow. The model card is useful because it gives more detail than the launch headline. Microsoft says the benchmark runs used its MSBench platform and GitHub Copilot CLI version one point zero point one zero two.

It also says compared models used the same harness and settings, with subagents disabled.

### The Release

Microsoft released two models with different intended roles. It positions Code 2 for complex repository work, while Flash is the smaller option for faster, routine tasks. Both are hosted services. Microsoft does not distribute local weights.

GitHub announced both models in Copilot on the same day as Microsoft’s launch. That makes the announcement practical for Copilot users: the models are available in an existing coding assistant. Flash is also in limited-access preview in Microsoft Foundry, according to the model card. The distinction to keep in mind is role, not a guaranteed quality ranking.

Code 2 is the more capable model in some reported results, but Flash is close on some tasks and edges ahead on one. Your own task mix determines whether that tradeoff matters.

### The Scores

The model card reports three benchmark scores for both models. On DeepSWE one point one, Code 2 scores seventy-seven point three percent. Flash scores fifty-nine point nine percent. These numbers describe performance on that benchmark and setup, not a universal success rate on your codebase.

The largest gap between these two models in the listed figures appears on DeepSWE. That may suggest Code 2 is better suited to harder tasks, but the benchmark alone can’t tell us why the gap appears. Treat it as a clue about task fit, not a promise about every coding session. On TerminalBench two point one, Code 2 scores eighty-four point six percent.

Flash scores seventy-eight point three percent, a smaller gap than on DeepSWE. A high score here is useful evidence, but it still belongs to this benchmark’s tasks and evaluation settings. SWE Atlas is the surprising result: Flash scores forty-four point eight percent, while Code 2 scores forty-three point one. Here, the smaller model is ahead by one point seven percentage points.

That’s a reminder that a model’s size or premium positioning doesn’t guarantee a win on every evaluation. Three benchmark results show different gaps between the models. Code 2 leads on two of these reported scores. Flash leads on one.

Neither pattern is enough to say which model will solve your next issue. There’s a comparison trap here: Microsoft’s headline averages Code 2 across four benchmarks. The model card results we’ve just reviewed list three benchmarks for both Code 2 and Flash. The Flash comparison in Microsoft’s announcement uses three benchmarks, so don’t read those averages as a direct, universal ranking.

That is why the source of a number matters as much as the number itself. Reuters described the launch as Microsoft competing with Anthropic and OpenAI on coding models and price. That’s useful market context. It isn’t independent verification of the benchmark claims.

### The Context

The model card lists a context window of one million fifty thousand tokens. That’s a large amount of context available to the model, but it isn’t a guarantee that the model will use every token well. Context capacity and successful work are different measures. The card breaks that context down further: up to nine hundred twenty-two thousand input tokens and one hundred twenty-eight thousand output tokens.

Input is what the model can receive. Output is what it can generate. A large input limit can help when a task requires examining many files, but it doesn’t remove the need to choose relevant context. In a large repository, context might include an issue, relevant files, test output, and a description of the change.

More room can reduce pressure to omit useful information, especially when work spans several files. But stuffing everything into the prompt can add noise. The model still needs to find the right evidence and follow the task. The model card describes both models as optimized for English code production.

It also warns that they may repeat tool calls, drift from instructions, or stop before verification during long sessions. Those failure modes matter because a fluent explanation is not the same as a verified change. Reasoning effort is another setting that changes the experience. Microsoft says higher effort can increase latency and token use without always improving results.

For a developer, that means the cheapest run may not be the fastest run, and a longer run may not be a better one.

### The Price

Now to the headline: Microsoft says Code 2 gets ninety-eight percent of GPT-6.1 Sol’s performance at forty percent of its cost. It also says Code 2 reaches ninety-six percent of Claude Opus 5.5’s performance at five percent of its cost. These comparisons are compelling if the measured tasks and prices match your use. The announcement also compares Flash with GPT-6 Luna and Claude Haiku 5.5.

Microsoft says Flash offers comparable performance across three benchmarks at sixty-five percent and twenty percent of their costs, respectively. Comparable performance is Microsoft’s characterization, so look for the task-level results and pricing assumptions before you map it to your own bill. A price ratio needs a price basis. Promotional pricing, token volume, and how much reasoning a task uses can change the cost you actually pay.

The research does not give us enough detail to calculate a dependable bill for your workflow. Microsoft’s model card says the benchmark comparison used the same harness and settings across compared models. That is helpful because it makes the published test more controlled than an informal comparison. But Microsoft also chose the platform, model settings, and benchmark set.

The result remains a company evaluation, not an independent audit. The caution is not that these results are meaningless. It’s that they are bounded evidence. They show what Microsoft reports under a particular setup, not how every model performs across every team’s workload.

That makes them useful for deciding what to evaluate next, rather than deciding the winner in advance. The Hacker News launch post reached the front page, so the announcement drew clear attention. But the available discussion listing does not establish a consensus about model quality. Popularity tells us developers are watching.

It does not tell us whether the model fixes their bugs.

### The Test

If you’re considering Code 2, start with tasks that already matter to your team. Pick a small set of representative issues. Run the same requests against your current model and Code 2, with the same repository context and constraints. Keep the model’s answer, tool activity, completion time, and token cost so the comparison can be reviewed later.

Include at least one bug fix, one multi-file change, and one task that needs careful tool use. Score whether the patch passes the relevant checks and follows the instructions. Also record how much review or correction the model needed. A cheap first answer can become expensive if it takes several rounds to make usable.

Compare the result on cost per accepted change, not only the advertised cost ratio. Count the attempts that produced a change you would actually keep. Include retries and any extra verification work your process requires. Then compare that with the existing model.

If Code 2 needs more correction, the headline price advantage may shrink. Give Flash its own trial. It scores close to Code 2 on TerminalBench and ahead on SWE Atlas in Microsoft’s reported figures, but trails on DeepSWE. Try it on routine tasks where speed and cost matter.

### The Decision

One more caution in the model card: its parameter summaries are inconsistent. The overview lists seventy-seven billion active parameters for Code 2. The summary table gives a fifty-to-one-hundred-billion range and eighty billion active. That inconsistency does not settle how the model performs, but it’s a reason to avoid treating the card as a complete technical account.

So who should try MAI Code 2? Copilot users who want another option for complex code work can evaluate Code 2 without building a new integration. Teams interested in cheaper routine coding can evaluate Flash. In both cases, keep the current model until your own tasks show a repeatable benefit.

By the end, the claim is simple: Microsoft says Code 2 approaches leading coding models at a fraction of their cost. The evidence is more specific. The model card reports good results on some benchmarks, a mixed profile against Flash, and a Microsoft-run evaluation setup. Try it where it fits, then decide from accepted changes, cost, and review effort.

Subscribe for more no-hype AI breakdowns.
