From 66a422ea5005e689bd4950b56aeb77eb9aa3c569 Mon Sep 17 00:00:00 2001 From: "berriai-litellm-provider-info-sync[bot]" <328147090+berriai-litellm-provider-info-sync[bot]@users.noreply.github.com> Date: Sat, 3 Oct 2026 08:49:09 -0700 Subject: [PATCH] fix(azure): add MAI-Image max_input_tokens from models sold directly page (#44375) Price-Sync: litellm-providers Co-authored-by: berriai-litellm-provider-info-sync[bot] <328147090+berriai-litellm-provider-info-sync[bot]@users.noreply.github.com> --- litellm/model_prices_and_context_window_backup.json | 9 +++++++-- model_prices_and_context_window.json | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) 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'",