Code
MAI Code 2 Flash
by Microsoft
Prices last updated November 18, 2026
Microsoft AI's lightweight agentic coding model for high-volume engineering work, released at Ignite 2026 alongside MAI Code 2. Also built into GitHub Copilot.
Providers
1
Cheapest Input
$0.050
Function Calling Streaming Code
Price Comparison
Compare pricing across 1 provider serving MAI Code 2 Flash
| Provider | Input $/1M | Output $/1M | Context | Speed | TTFT | Status |
|---|---|---|---|---|---|---|
Microsoft Foundry beta | $0.050 ● | $0.250 | — | — | — | Live |
● Cheapest ● Fastest Prices in USD per 1M tokens