LiteLLMModels

Mai Image 2.5 API Pricing

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

Model ID azure_ai/MAI-Image-2.5Prices updated Checked
Deprecated: Azure AI Foundry lists October 1, 2026 as the deprecation date for azure_ai/MAI-Image-2.5.
Per image
$0.048
Input
$5.00 / 1M tokens
Context window
32,000 tokens
Providers
1
Added to LiteLLM
June 2026

Mai Image 2.5 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.

ProviderModel name in LiteLLMPer imageInputImage outputContext
Azure AI Foundryazure_ai/MAI-Image-2.5$0.048$5.00$47.0032K

What Mai Image 2.5 costs in practice

Generating 1,000 images

Azure AI Foundry$48.00

Use Mai Image 2.5 with LiteLLM

Call Mai Image 2.5 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",
    prompt="A cute baby sea otter",
)
Proxy config.yaml
model_list:
  - model_name: mai-image-2.5
    litellm_params:
      model: azure_ai/MAI-Image-2.5
      # 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 sk-1234" \
  -d '{
    "model": "mai-image-2.5",
    "prompt": "A cute baby sea otter",
    "n": 1,
    "size": "1024x1024"
  }'

Mai Image 2.5 FAQ

How much does Mai Image 2.5 cost?

Mai Image 2.5 costs $0.048 per image on Azure AI Foundry, plus $5.00 per 1M input tokens.

What is the context window of Mai Image 2.5?

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

Which providers offer Mai Image 2.5?

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

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

Use the LiteLLM Python SDK with model="azure_ai/MAI-Image-2.5", 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?

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

Is Mai Image 2.5 being deprecated?

Azure AI Foundry deprecated azure_ai/MAI-Image-2.5 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.