Back to models
available

MAI Code 2 Flash

microsoft/mai-code-2-flash

Prices

Input

$0.05 per 1M tokens

medium
Input (cached read)

$0.005 per 1M tokens

medium
Output

$0.25 per 1M tokens

medium

Specifications

Provider
microsoft
Context window
128,000
Max output tokens
128,000
Open weights
no
Released
11/17/2026
Retires
no date announced
First seen by this tracker

Price history

No price of this model has changed since we started tracking it.

Input (cached read)
0.005 per 1M tokens, unchanged since 11/18/2026
Input
0.05 per 1M tokens, unchanged since 11/18/2026
Output
0.25 per 1M tokens, unchanged since 11/18/2026

Last updated 11/19/2026, 01:12