# MAI-Image-2.5

> Microsoft MAI-Image-2.5 is a fast, free text-to-image generation model from Microsoft Azure AI Foundry. Microsoft MAI-Image-2.5 is a fast, free text-to-image generation model available via BYOK.

**ID**: `microsoft/mai-image-2.5`  
**Creator**: microsoft  
**Category**: image  
**Context**: 4K tokens  
**Status**: Disabled — no longer routable or listed; kept for history/usage reference.  
**Reason**: Its BYOK aggregator upstream no longer lists this model id (verify:upstreams MISSING 2026-07-16), and that was its only upstream. See #1283.  
**Pricing**: BYOK — billed by your provider  
**Released**: 2026-06-03  
**Web page**: https://anyrouter.dev/model/microsoft/mai-image-2.5

**Input modalities**: text, image  
**Output modalities**: image  

**Capabilities**: image-generation, text-to-image

**Supported parameters**: prompt, width, height, steps, seed

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "microsoft/mai-image-2.5",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openrouter-byok | BYOK — billed by your provider | — |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Source

- Upstream docs: https://learn.microsoft.com/en-us/azure/ai-foundry/mai-image-2.5
