# DALL·E 2 API Pricing

As of October 10, 2026, DALL·E 2 costs $0.026 per image on AI/ML API.

- Page: https://models.litellm.ai/models/dall-e-2
- Lab: OpenAI
- LiteLLM model name: `aiml/dall-e-2`
- Added to LiteLLM: January 2024
- 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 |
|---|---|---|---|---|---|---|---|
| AI/ML API | `aiml/dall-e-2` | – | – | – | $0.026 | – | – |
| Azure OpenAI (1024×1024, standard quality) | `azure/standard/1024-x-1024/dall-e-2` | – | $0 | – | – | – | – |

## Cost examples

Generating 1,000 images:

- AI/ML API: $26.00

## Use it with LiteLLM

```python
from litellm import image_generation

response = image_generation(
    model="aiml/dall-e-2",
    prompt="A cute baby sea otter",
)
```

## FAQ

### How much does DALL·E 2 cost?

DALL·E 2 costs $0.026 per image on AI/ML API.

### Which providers offer DALL·E 2?

DALL·E 2 is available from 2 providers through LiteLLM: AI/ML API and Azure OpenAI.

### How do I call DALL·E 2 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="aiml/dall-e-2", 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 DALL·E 2?

DALL·E 2 was added to LiteLLM's model price file in January 2024.

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