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): set text-embedding max input to 8192 from the models sold directly page (#44449)

berriai-litellm-provider-info-sync[bot]5f969982fc5f
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index a50edb0c9e3..27495443a57 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -10841,31 +10841,31 @@
"deprecation_date": "2028-02-09",
"input_cost_per_token": 1.3e-07,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/text-embedding-3-small": {
"deprecation_date": "2028-02-09",
"input_cost_per_token": 2e-08,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/text-embedding-ada-002": {
"deprecation_date": "2028-02-09",
"input_cost_per_token": 1e-07,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/speech/azure-tts": {
"input_cost_per_character": 1.5e-05,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index a50edb0c9e3..27495443a57 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -10841,31 +10841,31 @@
"deprecation_date": "2028-02-09",
"input_cost_per_token": 1.3e-07,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/text-embedding-3-small": {
"deprecation_date": "2028-02-09",
"input_cost_per_token": 2e-08,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/text-embedding-ada-002": {
"deprecation_date": "2028-02-09",
"input_cost_per_token": 1e-07,
"litellm_provider": "azure",
- "max_input_tokens": 8191,
- "max_tokens": 8191,
+ "max_input_tokens": 8192,
+ "max_tokens": 8192,
"mode": "embedding",
"output_cost_per_token": 0.0,
- "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"
+ "source": "https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure"
},
"azure/speech/azure-tts": {
"input_cost_per_character": 1.5e-05,