# Flux.2 Pro API Pricing

As of October 10, 2026, Flux.2 Pro costs $0.04 per image on Azure AI Foundry. It has a 32,000-token context window.

- Page: https://models.litellm.ai/models/flux.2-pro
- Lab: Black Forest Labs
- LiteLLM model name: `azure_ai/flux.2-pro`
- Context window: 32,000 tokens
- Added to LiteLLM: January 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/flux.2-pro` | – | – | – | $0.04 | – | 32K |

## Cost examples

Generating 1,000 images:

- Azure AI Foundry: $40.00

## Use it with LiteLLM

```python
from litellm import image_generation

response = image_generation(
    model="azure_ai/flux.2-pro",
    prompt="A cute baby sea otter",
)
```

## FAQ

### How much does Flux.2 Pro cost?

Flux.2 Pro costs $0.04 per image on Azure AI Foundry.

### What is the context window of Flux.2 Pro?

Flux.2 Pro has a 32,000-token context window.

### Which providers offer Flux.2 Pro?

Flux.2 Pro is available from Azure AI Foundry through LiteLLM, using the model name azure_ai/flux.2-pro.

### How do I call Flux.2 Pro with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="azure_ai/flux.2-pro", 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 Flux.2 Pro?

Flux.2 Pro was added to LiteLLM's model price file in January 2026.

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