# MAI-Code-1.1-Flash Usage, Cost & Rank | OpenCode Data

> MAI-Code-1.1-Flash costs $0.20 per 1M input tokens and $1.20 per 1M output tokens.

Microsoft coding model with native vision support, optimized for fast and efficient software development

- Page: https://opencode.ai/data/microsoft/mai-code-1-1-flash
- JSON: https://opencode.ai/data/microsoft/mai-code-1-1-flash.json
- Model ID: microsoft/mai-code-1.1-flash
- Lab: Microsoft

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 256K |
| Max output | 128K |
| Knowledge cutoff | - |
| Release date | 2026-08-11 |
| Input modalities | text, image |
| Output modalities | text |
| Reasoning | Yes |
| Tool calling | Yes |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.20 | $1.20 | $0.02 | - |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
