Microsoft API Pricing
3 models · From $0.050/1M to $5.00/1M input
The cheapest Microsoft model to run is MAI Code 2 Flash at $0.050 input and $0.250 output per 1M tokens. On a RAG answer of 8,000 tokens in and 600 out, Microsoft models range from $0.0006 (MAI Code 2 Flash) to $0.060 (MAI-Image-2) per request. The largest context window is MAI Code 2 Flash at 1.1M tokens. Count tokens with the Microsoft token counter.
| Model | Input /1M | Output /1M | RAG answer |
|---|---|---|---|
| MAI Code 2 Flash | $0.050 | $0.250 | $0.0006 |
| MAI Code 2 | $0.500 | $2.50 | $0.0055 |
| MAI-Image-2 | $5.00 | $33.00 | $0.060 |