LiteLLMLiteLLM/ MODELS

Mai Image 2.5 Flash API Pricing

1 providerazure_ai/MAI-Image-2.5-Flash
Price
$0.02 per image
Context
32K tokens

As of November 24, 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.

Prices updated Checked
Retired. Azure AI Foundry retired azure_ai/MAI-Image-2.5-Flash on November 24, 2026. Prices below are the last listed and kept for reference.

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.

Mai Image 2.5 Flash prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMPer imageInputImage outputContext
Azure AI Foundryazure_ai/MAI-Image-2.5-Flash$0.02$1.75$19.5032K

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.

Python SDK
from litellm import image_generation

response = image_generation(
    model="azure_ai/MAI-Image-2.5-Flash",
    prompt="A cute baby sea otter",
)
Proxy config.yaml
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 page
Call the proxy
curl http://0.0.0.0:4000/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -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 November 24, 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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Azure AI Foundry.

Provider pages: Azure AI Foundry.