MAI Code 2 Flash from Microsoft: $0.05 input and $0.25 output per 1M tokens, 1,050,000 context. Microsoft's lightweight coding model for explanations, targeted edits and routine fixes at high volume Data last refreshed Nov 30, 2026, 07:15 AM UTC.
Models / Microsoft / MAI Code 2 Flash
Microsoft · mai-code-flash
MAI Code 2 Flash
Microsoft's lightweight coding model for explanations, targeted edits and routine fixes at high volume
$0.05 in · $0.25 out
per 1M tokens · provider rate closest to the median. No first-party Microsoft price was listed. The reference price is GitHub Copilot's rate, the provider closest to the median.
- Context
- 1,050,000
- Max output
- 128,000
- Cache read
- $0.005
- Cache write
- —
- Reasoning
- Yes
- Tool calls
- Yes
- Structured output
- Unknown
- Vision
- Yes
- Open weights
- No
- License
- —
- Released
- Nov 17, 2026
- Updated in source
- Nov 17, 2026
- Knowledge
- —
- Providers
- 1
Providers
| Provider | Input | Output | Cache read | Cache write | Status |
|---|---|---|---|---|---|
| GitHub Copilotreference | $0.05 | $0.25 | $0.005 | — | — |