MAI Code 2 from Microsoft: $0.50 input and $2.50 output per 1M tokens, 1,050,000 context. Microsoft's larger agentic coding model for debugging, multi-file changes and repository-wide reasoning Data last refreshed Nov 30, 2026, 07:15 AM UTC.
Models / Microsoft / MAI Code 2
Microsoft · mai-code
MAI Code 2
Microsoft's larger agentic coding model for debugging, multi-file changes and repository-wide reasoning
$0.50 in · $2.50 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.025
- 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.50 | $2.50 | $0.025 | — | — |