Base model
MAI Code 2 Flash
from $0.05 at 2 providers
microsoft/mai-code-2-flash · 2 providers · Text models ·
Price alerts
Found 2
Simple Full
Ranges in one field: "from-to" - "0.5-3", "-3" (up to), "128k-" (from); a colon works too. Several ticked values of one column are ORed, columns are ANDed.
Input price history, $/1M
Latest: minimum $0.05, median $0.05 (Nov 29, 2026)
The market for MAI Code 2 Flash today
MAI Code 2 Flash is priced per token by 2 providers that we check daily; input costs from $0.05 to $0.05 per 1M tokens. The typical (median) input price is $0.05. azure is the cheapest on both input and output.
The MAI family - base models: 18
- mai
- mai-code
- mai-code-flash
- mai-image
- mai-image-flash
- mai-image-pro
- mai-transcribe
- mai-voice
- mai-voice-flash
About the model: cost of your workload, questions, comparisons, citation
Cost of my workload → in the Tools tab: every provider of this model, cheapest first
Frequently asked questions
How much does MAI Code 2 Flash API cost?
From $0.05 input and $0.25 output per 1M tokens, at azure.
Which provider offers MAI Code 2 Flash cheapest?
azure offers the lowest price, $0.05 per 1M tokens, among 2 providers.
What is the context window of MAI Code 2 Flash?
1.1M tokens.
Compare
vs Claude Fable 5 vs Claude Fable 5.1 vs Claude Haiku 4.5 (latest)
Source: AI Rate Card, https://airatecard.com/en/model/microsoft/mai-code-2-flash, prices checked 2026-11-29