LLM Reference

MAI-Code-1-Flash

Released
2026-06-02
Last refreshed
2026-06-15
Status
Researched 36d ago
ProprietaryCommercial use: conditionalCodingRAGAgentsLong contextJSON / Tool use

MAI-Code-1-Flash is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.

Use it for

  • Teams evaluating coding, rag, and agents
  • Workloads that can use a 256k context window
  • Buyers comparing 1 tracked provider route

Do not use it for

  • Vision or document-understanding workloads
Specifications
Family
MAI
Released
2026-06-02
Context
256k
Specialization
code
Openness
Proprietary
License
ProprietaryCommercial use: conditional
Weights
Not released
Code
Unknown
Training
Fine-tuned
Created by

Applied AI products and platforms from Microsoft

Redmond, Washington, United States
Website
Pricing
Output / 1M
$4.50
Input / 1M
$0.750

Cheapest of 1 route · Microsoft Foundry · cache read $0.075

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 a 256k-token context window, reasoning, and tool use. This page tracks provider routes through Microsoft Foundry, with the cheapest tracked route listed at $0.75 input and $4.5 output per 1M tokens. Headline tracked benchmarks include SWE-bench Pro 51.2, Google-Proof Q&A 84.6, and SWE-bench Verified 71.6.

Top use-case fit: coding, agents, and build tasks

Coding

Q/$ D

2 relevant benchmarks in the decision map.

RAG

Included by capability and metadata signals in the decision map.

Agents

Q/$ C

1 relevant benchmark in the decision map.

Capabilities

ReasoningTool Use

Benchmark peer barsfor Coding

Benchmark scores(4)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionSource
SWE-bench Pro51.2GitHub Copilot production harnesshttps://microsoft.ai/news/introducingmai-code-1-flash/
Google-Proof Q&A84.6GPQA Diamond (accuracy)https://llm-stats.com/benchmarks/gpqa
SWE-bench Verified71.6SWE-bench Verified (resolved)https://llm-stats.com/benchmarks/swe-bench-verified
Terminal-Bench 2.054.8Terminal-Bench 2.0 (accuracy%)https://llm-stats.com/benchmarks/terminal-bench-2

Migration checks

No linked migration route is available for this model yet.

Frequently asked questions

What is the context window of MAI-Code-1-Flash?

MAI-Code-1-Flash has a context window of 256k tokens.

How much does MAI-Code-1-Flash cost?

MAI-Code-1-Flash is available at $0.75/1M input tokens through Microsoft Foundry.

When was MAI-Code-1-Flash released?

MAI-Code-1-Flash was released on 2026-06-02.

Which providers offer MAI-Code-1-Flash?

MAI-Code-1-Flash is available from 1 provider: Microsoft Foundry.

What benchmarks has MAI-Code-1-Flash been tested on?

MAI-Code-1-Flash has been evaluated on 4 benchmarks, including SWE-bench Pro, Google-Proof Q&A, SWE-bench Verified, Terminal-Bench 2.0.