# Flux.2 Flex API Pricing

Flux.2 Flex is available through LiteLLM. It has a 32,000-token context window.

- Page: https://models.litellm.ai/models/flux.2-flex
- Lab: Black Forest Labs
- Context window: 32,000 tokens
- Added to LiteLLM: September 18, 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-flex` | – | – | – | – | – | 32K |

## FAQ

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

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

### When did LiteLLM add Flux.2 Flex?

Flux.2 Flex was added to LiteLLM's model price file on September 18, 2026.

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