# o4 Mini API Pricing

As of October 10, 2026, o4 Mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on OpenAI, with cache reads at $0.275 per 1M tokens. Across 4 providers on LiteLLM, the input price ranges from $1.00 to $1.10. It has a 200,000-token context window and returns up to 100,000 tokens per response.

- Page: https://models.litellm.ai/models/o4-mini
- Lab: OpenAI
- LiteLLM model name: `o4-mini`
- Context window: 200,000 tokens
- Max output: 100,000 tokens
- Added to LiteLLM: April 2025
- Deprecation date: October 23, 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 |
|---|---|---|---|---|---|---|---|
| OpenAI | `o4-mini` | $1.10 | $4.40 | $0.275 | – | – | 200K |
| OpenAI (snapshot 2025-04-16) | `o4-mini-2025-04-16` | $1.10 | $4.40 | $0.275 | – | – | 200K |
| OpenAI (fine-tuned, snapshot 2025-04-16) | `ft:o4-mini-2025-04-16` | $4.00 | $16.00 | $1.00 | – | – | 200K |
| Azure OpenAI | `azure/o4-mini` | $1.10 | $4.40 | $0.275 | – | – | 200K |
| Azure OpenAI (snapshot 2025-04-16) | `azure/o4-mini-2025-04-16` | $1.10 | $4.40 | $0.275 | – | – | 200K |
| Replicate | `replicate/openai/o4-mini` | $1.00 | $4.00 | – | – | – | – |
| Vercel AI Gateway | `vercel_ai_gateway/openai/o4-mini` | $1.10 | $4.40 | $0.275 | – | – | 200K |
| Azure OpenAI (eu, snapshot 2025-04-16) | `azure/eu/o4-mini-2025-04-16` | $1.21 | $4.84 | $0.303 | – | – | 200K |
| Azure OpenAI (us, snapshot 2025-04-16) | `azure/us/o4-mini-2025-04-16` | $1.21 | $4.84 | $0.303 | – | – | 200K |

## Cost examples

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

- OpenAI: $4.40
- Replicate: $4.00
- Azure OpenAI: $4.40
- Vercel AI Gateway: $4.40
- OpenAI batch: $2.20

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

- OpenAI: $11.88
- Replicate: $10.80
- Azure OpenAI: $11.88
- Vercel AI Gateway: $11.88

## Features

Supported: Function calling, Structured output, Image input, PDF input, Reasoning, Prompt caching, Web search.
Not supported: Parallel tool calls.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="o4-mini",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does o4 Mini cost?

o4 Mini costs $1.10 per 1M input tokens and $4.40 per 1M output tokens on OpenAI, with cache reads at $0.275 per 1M tokens. Batch requests cost $0.55 per 1M input tokens and $2.20 per 1M output tokens. Across 4 providers on LiteLLM, the input price ranges from $1.00 to $1.10.

### What is the context window of o4 Mini?

o4 Mini has a 200,000-token context window and returns up to 100,000 tokens per response.

### Which providers offer o4 Mini?

o4 Mini is available from 4 providers through LiteLLM: OpenAI, Azure OpenAI, Replicate and Vercel AI Gateway. The lowest price is on Replicate.

### How do I call o4 Mini with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="o4-mini", 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 o4 Mini support?

o4 Mini supports function calling, structured output, image input, PDF input, reasoning, prompt caching and web search. It does not support parallel tool calls.

### When did LiteLLM add o4 Mini?

o4 Mini was added to LiteLLM's model price file in April 2025.

### Is o4 Mini being deprecated?

OpenAI lists a deprecation date of October 23, 2026 for o4-mini.

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