Microsoft's MAI Models and MoE Strategy: What Developers Need to Know for Copilot and Beyond

TL;DR
Microsoft's MAI models from Build 2026, including MAI-Code-1-Flash in GitHub Copilot. What the MoE designs, benchmarks and rollout mean for your toolchain.
Microsoft spent years telling its AI story through OpenAI. At Build 2026, the company wrote its own chapter.
On June 2, 2026, Microsoft AI published seven in-house MAI models spanning reasoning, coding, image generation, voice synthesis, and transcription - all available through Microsoft Foundry. Two of those models matter most for developers right now: MAI-Thinking-1, a flagship reasoning model in private preview, and MAI-Code-1-Flash, which is already rolling out as the default model in GitHub Copilot for individual VS Code users.
Last updated: June 10, 2026
What Microsoft Announced at Build 2026#
Microsoft's Build 2026 announcement introduced the complete MAI family, written by Mustafa Suleyman and the Microsoft AI team:
- MAI-Thinking-1 - flagship reasoning model, private preview on Microsoft Foundry
- MAI-Code-1-Flash - inference-efficient coding model, rolling out to GitHub Copilot
- MAI-Image-2.5 and MAI-Image-2.5-Flash - text-to-image and image editing
- MAI Transcribe-1.5 - production transcription across 43 languages
- MAI-Voice-2 and MAI-Voice-2-Flash (coming soon) - speech generation in 15 languages
The framing Microsoft used is notable: they call their development approach a "hill-climbing machine" - a co-designed pipeline meant to improve every component of model development continuously. The stated goal is Humanist Superintelligence, positioning AI as a tool subordinate to human control rather than a replacement for it.
MAI-Thinking-1 vs Claude Sonnet 4.6#
The headline claim from Microsoft's MAI-Thinking-1 announcement is that it "is preferred to Sonnet 4.6 in our blind human side-by-side evaluations." Before accepting that at face value, it helps to understand exactly what was measured.
The evaluation used 1,276 tasks across single-turn and multi-turn conversations, run through professional raters from Surge. The criteria were practical: does the model understand the task, follow instructions, use the right level of detail, write clearly, and respect the user's time. These are reasonable signals for real-world usefulness.
What the evaluation does not tell you: it is a human preference study conducted by Microsoft against a specific version of Sonnet 4.6, not an independent third-party audit. Preference studies measure whether responses feel good to humans, not whether they produce correct code or pass test suites. That distinction matters depending on your use case.
On more objective benchmarks, MAI-Thinking-1 reports 97.0% on AIME 2025 and 94.5% on AIME 2026, with performance described as "toe-to-toe with Claude Opus 4.6 on SWE-Bench Pro." The full numbers are in Table 1 of the announcement.
| Dimension | MAI-Thinking-1 | Claude Sonnet 4.6 |
|---|---|---|
| Architecture | MoE, ~1T total / 35B active | Dense transformer |
| Context window | 256k tokens | 200k tokens |
| Human preference (blind eval) | Preferred (Microsoft study) | Baseline |
| SWE-Bench Pro | Matches Opus 4.6 (per Microsoft) | Not published for direct comparison |
| AIME 2025 | 97.0% | Not published for direct comparison |
| Availability | Private preview, Foundry | Generally available via API |
The context window is legitimately useful: 256k tokens fits approximately a 600-page document. If long-context enterprise workflows are your primary use case, that number is worth tracking.
MAI-Code-1-Flash: The GitHub Copilot Model#
MAI-Code-1-Flash is the model developers will actually encounter first, because it is rolling out now to GitHub Copilot individual users in VS Code - both through the explicit model picker and through the Auto picker.
The architecture: 137B total parameters, 5B active, Mixture of Experts. Microsoft describes it as "comparable to Haiku but cheaper," and the benchmarks it published compare it against Claude Haiku 4.5 rather than Sonnet or Opus.
On that comparison, MAI-Code-1-Flash claims a +16-point lead on SWE-Bench Pro (51.2% vs. 35.2% for Haiku 4.5), higher pass rates on all four benchmarks tested (SWE-Bench Verified, SWE-Bench Pro, SWE-Bench Multilingual, Terminal Bench 2), and up to 60% fewer tokens on SWE-Bench Verified.
The 60% token reduction claim connects to the "adaptive solution length control" Microsoft built into the model - it adjusts response depth to task complexity, staying concise for simple completions and spending more reasoning budget on complex changes. That efficiency translates directly to latency and cost for Copilot users on usage-based plans.
For a deeper look at how model routing decisions play out in Copilot, see /blog/mai-code-1-flash-model-routing.
Why Active Parameter Count Matters More Than Headlines#
Both MAI models use Mixture of Experts (MoE) architecture. This is the key technical fact that gets lost when model sizes are reported as single numbers.
In a dense transformer, every parameter activates for every token. In a MoE model, only a subset of "expert" layers activates per token. MAI-Code-1-Flash has 137B total parameters but only 5B active at inference time. MAI-Thinking-1 has roughly 1 trillion total parameters with 35B active.
The practical consequences:
What MoE makes cheaper: Inference cost and latency scale with active parameters, not total parameters. A model with 5B active parameters runs closer to the cost of a 5B dense model, not a 137B one. This is why Microsoft can offer MAI-Code-1-Flash at a price point it describes as "comparable to Haiku" while claiming benchmark performance above it.
What MoE makes harder: Total parameter count still affects what knowledge the model can store. Routing quality matters - if the wrong experts activate, the model degrades. MoE models can also be more sensitive to fine-tuning than dense models.
For everyday Copilot completions - autocomplete, short function generation, inline chat - the 5B active parameter count is the relevant number. For multi-step agentic tasks that require broad reasoning, how well the routing and expert selection work across a complex codebase is an open question that only production usage will answer.
Scout Agent in Teams: Proactive vs. Reactive#
Beyond the models themselves, Microsoft shipped Microsoft Scout - its first "Autopilot" agent built on its OpenClaw architecture, running inside Microsoft Teams.
Scout is described as "always-on" and takes proactive actions: scheduling meetings, prepping materials, surfacing relevant documents before a meeting starts. The key distinction from tools like GitHub Copilot or Claude Code is the workflow orientation. Copilot and Claude Code are reactive - you prompt, they respond. Scout is designed to act without being asked, monitoring your calendar, email, and documents to anticipate needs.
For developers, Scout is not a coding tool. It is a workflow coordination layer. The relevant question is whether always-on agents with write access to your calendar and documents fit your team's risk tolerance, and what the audit trail looks like when Scout takes an action on your behalf.
Training Data Reality Check#
Microsoft emphasized clean, enterprise-grade, commercially licensed training data across all MAI announcements. The phrase "without distillation from third-party models" appears repeatedly. This was framed as a differentiator.
The MAI-Thinking-1 technical paper tells a more detailed story. As Simon Willison documented after reviewing the paper, the training data includes a large proprietary web crawl:
"After initial page discovery and selection, approximately 1.2 trillion pages are crawled and parsed... this filtering reduces the corpus from 1.2 trillion pages to 794 billion pages."
The paper also describes processing Common Crawl through the same pipeline, resulting in 24.2 billion pages after deduplication.
This is not unique to Microsoft - essentially every large language model trains on web-scale crawl data. But it does qualify the "clean and appropriately licensed" framing. The 794 billion filtered pages come from a public web crawl, which carries the same licensing ambiguities as every other model trained on similar data.
What Microsoft does appear to mean by "appropriately licensed" is that they apply content filters, remove AI-generated content domains, and use an explicit block list for adult and piracy-related domains. That is meaningful engineering work, but it is not the same as a model trained exclusively on explicitly licensed datasets.
Copilot Integration Timeline: When MAI Models Replace OpenAI Models#
The transition is already underway:
- MAI-Code-1-Flash is rolling out now to GitHub Copilot individual users in VS Code, both in the model picker and the Auto picker. No configuration required.
- MAI-Thinking-1 is in private preview on Microsoft Foundry, with public preview on MAI Playground described as "coming soon."
- Claude Fable 5 (from Anthropic) became generally available in GitHub Copilot on June 9, 2026, available to Pro+, Max, Business, and Enterprise users across VS Code, JetBrains, Xcode, Eclipse, and the Copilot CLI.
The picture that emerges is a Copilot model picker that now includes both Microsoft's in-house MAI models and third-party models from Anthropic. GPT-5.2 and GPT-5.2-Codex were deprecated in GitHub Copilot on June 5, according to the GitHub changelog.
For Enterprise and Business administrators: the Claude Fable 5 policy is off by default and requires explicit enablement. MAI-Code-1-Flash, as a Microsoft-native model, rolls out without an admin toggle for individual users.
For more on GitHub Copilot's overall model landscape, see /blog/github-copilot-guide.
Decision Guide: Claude Code vs Copilot + MAI for Your Team in H2 2026#
Neither tool is universally better. The right choice depends on your workflow surface, billing model, and how you weight different tradeoffs.
| Factor | GitHub Copilot + MAI-Code-1-Flash | Claude Code |
|---|---|---|
| Primary surface | IDE (VS Code, JetBrains, Xcode, Eclipse) | Terminal and CLI |
| Model at default tier | MAI-Code-1-Flash (5B active, MoE) | Claude Sonnet 4.5 (configurable) |
| Latency for completions | Low (5B active params) | Moderate (denser models) |
| Agentic task handling | Improving with coding agent | Strong, purpose-built for long-horizon tasks |
| Enterprise admin controls | Granular per-model policies | API key + org-level controls |
| Data retention | Zero by default (Claude Fable 5 requires 30-day retention) | Configurable |
| Pricing model | Per seat + usage-based for premium models | Usage-based via API |
| Training data transparency | Technical paper published | Model cards + published policies |
Use Copilot + MAI-Code-1-Flash if: your team lives in VS Code or JetBrains, your primary need is fast inline completions and short-context chat, you are already on a Copilot plan, and you want the lowest latency at everyday coding tasks.
Use Claude Code if: your workflows involve multi-file agentic tasks from the terminal, you want the flexibility to switch models mid-session, or you are running autonomous coding agents that span repositories and require long-horizon planning.
The case for both: they are not mutually exclusive. Many teams are landing on Copilot for IDE completions and Claude Code for terminal-driven agent runs. The Copilot model picker means you can also pull Fable 5 into Copilot for heavyweight tasks without leaving the IDE.
For a broader comparison of AI coding tool pricing across tools, start at /blog/github-copilot-coding-agent-cli-2026.
FAQ#
What is MAI-Code-1-Flash?#
MAI-Code-1-Flash is Microsoft's inference-efficient coding model, a Mixture of Experts model with 137B total parameters and 5B active. It is rolling out as a model in GitHub Copilot for individual VS Code users, in both the explicit model picker and the Auto picker, with no configuration required. Microsoft describes it as "comparable to Haiku but cheaper" and reports 51.2% on SWE-Bench Pro versus 35.2% for Claude Haiku 4.5, plus up to 60% fewer tokens on SWE-Bench Verified.
Is MAI-Thinking-1 better than Claude Sonnet 4.6?#
Microsoft says MAI-Thinking-1 "is preferred to Sonnet 4.6 in our blind human side-by-side evaluations," based on 1,276 tasks rated by professional raters from Surge. That is a human preference study run by Microsoft, not an independent third-party audit, and preference does not measure whether code is correct or passes test suites. MAI-Thinking-1 also reports 97.0% on AIME 2025 and a 256k token context window versus 200k for Sonnet 4.6, and it is in private preview on Microsoft Foundry.
Should my team use GitHub Copilot with MAI models or Claude Code?#
It depends on your workflow surface. Copilot with MAI-Code-1-Flash fits teams that live in VS Code or JetBrains and want fast inline completions and short-context chat at low latency. Claude Code fits multi-file agentic tasks from the terminal and autonomous coding agents that need long-horizon planning. Many teams use both - Copilot for IDE completions and Claude Code for terminal-driven agent runs.
Official Sources#
| Resource | Link |
|---|---|
| Build 2026: Seven MAI models announcement | microsoft.ai/news/building-a-hillclimbing-machine-launching-seven-new-mai-models |
| MAI-Thinking-1 announcement | microsoft.ai/news/introducing-mai-thinking-1 |
| MAI-Thinking-1 technical paper | microsoft.ai/wp-content/uploads/2026/06/main_20260602_2.pdf |
| MAI-Code-1-Flash announcement | microsoft.ai/news/introducingmai-code-1-flash |
| MAI-Code-1-Flash model card (PDF) | microsoft.ai/pdf/MAI-Code-1-Flash-Model-Card.PDF |
| Build 2026 live blog | news.microsoft.com/build-2026-live-blog |
| Claude Fable 5 in GitHub Copilot | github.blog/changelog/2026-06-09-claude-fable-5-is-generally-available-for-github-copilot |
| GitHub Copilot model documentation | docs.github.com/copilot/reference/ai-models/supported-models |
| Microsoft Foundry | ai.azure.com |
Continue Reading#
Get the next deep dive like this in your inbox
One email a week on Microsoft and the rest of the AI dev stack. Free.
Read next on AI coding tools
MAI-Code-1-Flash Is a Model Routing Signal
MAI-Code-1-Flash, Microsoft's in-house coding model, signals Copilot becoming a routing layer for cost, latency, and review quality. A routing matrix to steal.
7 min readMicrosoft PHI-4: A 14B Parameter Model That Rivals Models 5x Its Size
Microsoft PHI-4 is an MIT-licensed 14B model that matches Llama 3.3 70B on key benchmarks. See its specs, how to run it locally with Ollama, and when to use it.
9 min readGitHub Copilot Coding Agent and CLI: Why GitHub Is Back in the Agent Race
GitHub Copilot is moving from autocomplete into asynchronous coding agents, terminal workflows, MCP, skills, and model choice. Here is what changed in 2026.
8 min readNew here? Start with
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.








