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.
azure_ai/MAI-Image-2.5-Flash.- Per image
- $0.02
- Input
- $1.75 / 1M tokens
- Context window
- 32,000 tokens
- Providers
- 1
- Added to LiteLLM
- June 2026
Mai Image 2.5 Flash pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Per image | Input | Image output | Context |
|---|---|---|---|---|---|
| Azure AI Foundry | azure_ai/MAI-Image-2.5-Flash | $0.02 | $1.75 | $19.50 | 32K |
What Mai Image 2.5 Flash costs in practice
Generating 1,000 images
| Azure AI Foundry | $20.00 |
Use Mai Image 2.5 Flash with LiteLLM
Call Mai Image 2.5 Flash through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/images/generations. LiteLLM tracks the cost of every request at these prices.
from litellm import image_generation
response = image_generation(
model="azure_ai/MAI-Image-2.5-Flash",
prompt="A cute baby sea otter",
)model_list:
- model_name: mai-image-2.5-flash
litellm_params:
model: azure_ai/MAI-Image-2.5-Flash
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "mai-image-2.5-flash",
"prompt": "A cute baby sea otter",
"n": 1,
"size": "1024x1024"
}'Mai Image 2.5 Flash 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.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Azure AI Foundry.
Provider pages: Azure AI Foundry.
