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 MAI-Image max_input_tokens from models sold directly page (#44375)

berriai-litellm-provider-info-sync[bot]66a422ea5005
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index a935ffdb2dd..26977e64e34 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -11872,7 +11872,8 @@
"/v1/images/generations",
"/v1/images/edits"
],
- "deprecation_date": "2026-10-01"
+ "deprecation_date": "2026-10-01",
+ "max_input_tokens": 32000
},
"azure_ai/MAI-Image-2.5-Flash": {
"input_cost_per_image_token": 1.75e-06,
@@ -11886,13 +11887,15 @@
"/v1/images/generations",
"/v1/images/edits"
],
- "deprecation_date": "2026-10-01"
+ "deprecation_date": "2026-10-01",
+ "max_input_tokens": 32000
},
"azure_ai/MAI-Image-2.5-Pro": {
"deprecation_date": "2026-10-01",
"input_cost_per_image_token": 8e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image": 0.1085,
"output_cost_per_image_token": 0.000106,
@@ -64888,6 +64891,7 @@
"input_cost_per_image_token": 8e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image_token": 3.8e-05,
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",
@@ -64900,6 +64904,7 @@
"input_cost_per_image_token": 2.5e-06,
"input_cost_per_token": 1.75e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image_token": 1.9e-05,
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index a935ffdb2dd..26977e64e34 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -11872,7 +11872,8 @@
"/v1/images/generations",
"/v1/images/edits"
],
- "deprecation_date": "2026-10-01"
+ "deprecation_date": "2026-10-01",
+ "max_input_tokens": 32000
},
"azure_ai/MAI-Image-2.5-Flash": {
"input_cost_per_image_token": 1.75e-06,
@@ -11886,13 +11887,15 @@
"/v1/images/generations",
"/v1/images/edits"
],
- "deprecation_date": "2026-10-01"
+ "deprecation_date": "2026-10-01",
+ "max_input_tokens": 32000
},
"azure_ai/MAI-Image-2.5-Pro": {
"deprecation_date": "2026-10-01",
"input_cost_per_image_token": 8e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image": 0.1085,
"output_cost_per_image_token": 0.000106,
@@ -64888,6 +64891,7 @@
"input_cost_per_image_token": 8e-06,
"input_cost_per_token": 5e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image_token": 3.8e-05,
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",
@@ -64900,6 +64904,7 @@
"input_cost_per_image_token": 2.5e-06,
"input_cost_per_token": 1.75e-06,
"litellm_provider": "azure_ai",
+ "max_input_tokens": 32000,
"mode": "image_generation",
"output_cost_per_image_token": 1.9e-05,
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",