LiteLLMModels

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.

Model ID azure_ai/MAI-DS-R1Prices updated Checked
Deprecated: Azure AI Foundry lists February 27, 2026 as the deprecation date for azure_ai/MAI-DS-R1.
Input
$1.35 / 1M tokens
Output
$5.40 / 1M tokens
Context window
128,000 tokens
Max output
8,192 tokens
Providers
1
Added to LiteLLM
July 2025

Mai Ds R1 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 LiteLLMInputOutputContext
Azure AI Foundryazure_ai/MAI-DS-R1$1.35$5.40128K

What Mai Ds R1 costs in practice

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

Mai Ds R1 features

Use Mai Ds R1 with LiteLLM

Call Mai Ds R1 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="azure_ai/MAI-DS-R1",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: mai-ds-r1
    litellm_params:
      model: azure_ai/MAI-DS-R1
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "mai-ds-r1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Mai Ds R1 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.

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.