# Mai Image 2.5 Flash API Pricing

As of October 10, 2026, Mai Image 2.5 Flash costs $0.02 per image on Azure AI Foundry, plus $1.75 per 1M input tokens. It has a 32,000-token context window.

- Page: https://models.litellm.ai/models/mai-image-2.5-flash
- LiteLLM model name: `azure_ai/MAI-Image-2.5-Flash`
- Context window: 32,000 tokens
- Added to LiteLLM: June 2026
- Deprecation date: October 1, 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Azure AI Foundry | `azure_ai/MAI-Image-2.5-Flash` | $1.75 | – | – | $0.02 | – | 32K |

## Cost examples

Generating 1,000 images:

- Azure AI Foundry: $20.00

## Use it with LiteLLM

```python
from litellm import image_generation

response = image_generation(
    model="azure_ai/MAI-Image-2.5-Flash",
    prompt="A cute baby sea otter",
)
```

## FAQ

### How much does Mai Image 2.5 Flash cost?

Mai Image 2.5 Flash costs $0.02 per image on Azure AI Foundry, plus $1.75 per 1M input tokens.

### What is the context window of Mai Image 2.5 Flash?

Mai Image 2.5 Flash has a 32,000-token context window.

### Which providers offer Mai Image 2.5 Flash?

Mai Image 2.5 Flash is available from Azure AI Foundry through LiteLLM, using the model name azure_ai/MAI-Image-2.5-Flash.

### How do I call Mai Image 2.5 Flash with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="azure_ai/MAI-Image-2.5-Flash", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/images/generations from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Mai Image 2.5 Flash?

Mai Image 2.5 Flash was added to LiteLLM's model price file in June 2026.

### Is Mai Image 2.5 Flash being deprecated?

Azure AI Foundry deprecated azure_ai/MAI-Image-2.5-Flash on October 1, 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
