# Mai Ds R1 API Pricing

As of October 10, 2026, Mai Ds R1 costs $1.35 per 1M input tokens and $5.40 per 1M output tokens on Azure AI Foundry. It has a 128,000-token context window and returns up to 8,192 tokens per response.

- Page: https://models.litellm.ai/models/mai-ds-r1
- LiteLLM model name: `azure_ai/MAI-DS-R1`
- Context window: 128,000 tokens
- Max output: 8,192 tokens
- Added to LiteLLM: July 2025
- Deprecation date: February 27, 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-DS-R1` | $1.35 | $5.40 | – | – | – | 128K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Azure AI Foundry: $5.40

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Azure AI Foundry: $14.58

## Features

Supported: Reasoning.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="azure_ai/MAI-DS-R1",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Mai Ds R1 cost?

Mai Ds R1 costs $1.35 per 1M input tokens and $5.40 per 1M output tokens on Azure AI Foundry.

### What is the context window of Mai Ds R1?

Mai Ds R1 has a 128,000-token context window and returns up to 8,192 tokens per response.

### Which providers offer Mai Ds R1?

Mai Ds R1 is available from Azure AI Foundry through LiteLLM, using the model name azure_ai/MAI-DS-R1.

### How do I call Mai Ds R1 with an OpenAI-compatible API?

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

### What features does Mai Ds R1 support?

Mai Ds R1 supports reasoning.

### When did LiteLLM add Mai Ds R1?

Mai Ds R1 was added to LiteLLM's model price file in July 2025.

### Is Mai Ds R1 being deprecated?

Azure AI Foundry deprecated azure_ai/MAI-DS-R1 on February 27, 2026.

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