MAI-Code-1-Flash
MAI-Code-1-Flash is worth evaluating for coding, agents, and json / tool use when its provider route and context window match the workload.
Use it for
- Teams evaluating coding, agents, and json / tool use
- Buyers comparing 1 tracked provider route
Do not use it for
- Vision or document-understanding workloads
- Family
- MAI
- Released
- 2026-06-02
- Specialization
- code
- License
- Proprietary
- Training
- finetuned
Cheapest of 1 route · Microsoft Foundry
About
MAI-Code-1-Flash is Microsoft AI's lightweight agentic coding model built directly inside GitHub Copilot's production harness. It is designed for fast everyday developer workflows, adaptive thinking by task complexity, multi-turn instruction following, and token-efficient coding. Microsoft reports 51.2% on SWE-bench Pro versus 35.2% for Claude Haiku 4.5 in the same Copilot harness, plus stronger results on SWE-bench Verified, SWE-bench Multilingual, and Terminal-Bench 2.0 without publishing exact scores for those secondary benchmarks.
MAI-Code-1-Flash is a proprietary model in the MAI family. The structured metadata tracks reasoning and tool use. This page tracks provider routes through Microsoft Foundry. Headline tracked benchmarks include SWE-bench Pro 51.2.
Top use-case fit
Coding
1 relevant benchmark in the decision map.
Agents
Included by capability and metadata signals in the decision map.
JSON / Tool use
Included by capability and metadata signals in the decision map.
Provider price ladder
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Microsoft Foundry | - | - | ServerlessPartial |
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(1)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| SWE-bench Pro | 51.2 | GitHub Copilot production harness | https://microsoft.ai/news/introducingmai-code-1-flash/ |
Migration checks
No linked migration route is available for this model yet.