Technology RadarTechnology Radar

MAI-Code-1-Flash

llmcodingreasoning
Hold

Microsoft's first in-house coding model, announced at Build 2026 on June 2, 2026. MAI-Code-1-Flash is a sparse MoE model (137B total parameters, 256K context) that outperforms Claude Haiku 4.5 by 16 points on SWE-bench Pro and solves tasks with up to 60% fewer tokens — at a mid-tier price of $0.75/$4.50 per million input/output tokens. Microsoft deprecated it across all GitHub Copilot experiences on September 10, 2026, replacing it with MAI-Code-1.1-Flash (released August 11, 2026).

Why It's in Assess

MAI-Code-1-Flash marks Microsoft's first proprietary coding model trained from scratch on enterprise-licensed data, with no distillation from any third-party model. After years of reselling OpenAI and Anthropic models through Azure and Copilot, Microsoft now controls its own model weights for the Copilot coding path:

  • SWE-bench Pro 51.2% — 16 points above Claude Haiku 4.5 (35.2%) at a comparable price point; strong for a mid-tier model
  • Token efficiency: Solves coding tasks with up to 60% fewer tokens on SWE-bench Verified compared to similarly-priced models — a meaningful cost multiplier at API scale
  • 256,000-token context window — longer than most mid-tier models; handles large repository context without chunking
  • Copilot-native launch: Rolled out June 2 to GitHub Copilot Free, Pro, Pro+, and Max plans in VS Code — the first Microsoft-built model available to Copilot subscribers as an alternative to OpenAI/Anthropic options

It sits in Assess rather than Trial because:

  • Direct API access outside Copilot is limited to 3 announced distribution partners as of June 2026; broader Azure AI Foundry availability is still pending
  • Pricing described as "still being finalized" per the model card
  • Benchmark comparisons are Microsoft-published; independent third-party evaluation (LiveCodeBench, MBPP, real-world coding scenarios) is pending

Superseded by MAI-Code-1.1-Flash

MAI-Code-1-Flash's run was short: GitHub deprecated it on September 10, 2026 — barely three months after launch — in favour of MAI-Code-1.1-Flash. The successor is a 138B-total/5B-active sparse MoE with a 256K context window, adds native vision input (screenshots, mockups, error dialogs), and starts from the compressed mid-training checkpoint of MAI-Thinking-1 rather than a fresh pretrain. Headline changes:

  • 73% price cut: $0.20/$0.02 cached/$1.20 per million tokens, down from $0.75/$0.075/$4.50 — annual Copilot subscribers also get a 0.25x premium-request multiplier
  • Vendor-reported quality: 72.6% SWE-bench Verified (vs 71.6% for 1-Flash), 62.9% on Terminal-Bench 2.1 in Copilot CLI (a 22% gain), 25% fewer tokens per task, 25% faster streaming
  • Wider surface: GitHub Copilot (VS Code, Visual Studio, JetBrains IDEs, Copilot CLI, cloud agent, GitHub Mobile), plus Microsoft Foundry and GitHub Models API access

All successor benchmarks are Microsoft-reported and unverified by third parties, same caveat as the original model. Teams budgeting against Claude Haiku 4.5 or the Gemini Flash tier should now evaluate MAI-Code-1.1-Flash, not this model.

Key Characteristics

Property Value
Architecture Sparse MoE, 137B total parameters
Context window 256,000 tokens
Input pricing $0.75 / million tokens
Cached input $0.075 / million tokens
Output pricing $4.50 / million tokens
SWE-bench Pro 51.2%
Provider Microsoft
Availability Deprecated September 10, 2026; succeeded by MAI-Code-1.1-Flash
Training data Enterprise-licensed; no third-party model distillation

What to Watch

  • Direct API availability (resolved): The June pricing ambiguity is closed — $0.75/$0.075/$4.50 is the final list price, confirmed on GitHub Models. The successor MAI-Code-1.1-Flash is available via GitHub Copilot and Microsoft Foundry from launch.
  • MAI-Thinking-1 companion: Announced alongside Flash, MAI-Thinking-1 (1T total / 35B active sparse MoE, 256K context — confirmed on the Microsoft Foundry model catalog) entered public preview on Azure Foundry on August 12, 2026 with API access. Microsoft also shipped MAI-Cyber-1-Flash (August 13, 2026), a security model that claims 96% on CyberGym any-crash inside the MDASH harness. The MAI family is expanding fast; Microsoft's reliance on OpenAI/Anthropic for Copilot capability continues to fall.
  • Independent benchmarks: SWE-bench Pro 51.2% comes from Microsoft's own evaluation. Third-party benchmarking on standard open leaderboards will determine whether these numbers hold outside Microsoft's test harness.
  • Pricing finalization (resolved): The June "still being finalized" note is moot — the list price settled at $0.75/$0.075/$4.50 before deprecation, and the successor ships 73% cheaper.

Further Reading