Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(azure): add azure_ai/flux.2-pro input token limit from the models sold directly page (#44405)

berriai-litellm-provider-info-sync[bot]9fe644217297
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index fd8074f4744..3f7f5194514 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -11542,9 +11542,11 @@
},
"azure_ai/flux.2-pro": {
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
+ "max_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image": 0.04,
- "source": "https://ai.azure.com/explore/models/flux.2-pro/version/1/registry/azureml-blackforestlabs",
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure",
"supported_endpoints": [
"/v1/images/generations"
]
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index fd8074f4744..3f7f5194514 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -11542,9 +11542,11 @@
},
"azure_ai/flux.2-pro": {
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
+ "max_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image": 0.04,
- "source": "https://ai.azure.com/explore/models/flux.2-pro/version/1/registry/azureml-blackforestlabs",
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure",
"supported_endpoints": [
"/v1/images/generations"
]