MAI Code 1 Flash is Microsoft's language model with a 128K context window and up to 64K output tokens, starting at $0.75 / 1M input and $4.50 / 1M output. A fast-tier code-focused LLM from Microsoft's MAI product line, designed for efficient code generation and programming assistance.
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities3/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | ||
|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $0.75 | $4.50 | $0.075 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| MAI Code 1 Flash | — | 128K | $0.750 | $4.50 | Current |
| MAI Code 1 Flash Internal | — | 128K | $0.750 | $4.50 | Available |
Other Models
| Model | Tier | Released | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|---|
| MAI Image 2 Efficient | — | — | — | — | — |
| MAI Image 2.5 | — | — | — | $5.00 | — |
| MAI Image 1 | — | — | — | — | — |
| MAI Voice 1 | — | — | — | — | — |
| MAI DS R1 | — | — | 128K | $1.35 | $5.40 |