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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
feat: add Databricks Llama 4 Maverick model cost (#11008)
bepotpe487f1e17ddc
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 8d7d062b818..4bea9baee3e 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -12350,6 +12350,20 @@"metadata": {"notes": "Input/output cost per token is dbu cost * $0.070, based on databricks Llama 3.1 70B conversion. Number provided for reference, '*_dbu_cost_per_token' used in actual calculation."},"supports_tool_choice": true},+ "databricks/databricks-llama-4-maverick": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 128000,+ "input_cost_per_token": 0.000005,+ "input_dbu_cost_per_token": 0.00007143,+ "output_cost_per_token": 0.000015,+ "output_dbu_cost_per_token": 0.00021429,+ "litellm_provider": "databricks",+ "mode": "chat",+ "source": "https://www.databricks.com/product/pricing/foundation-model-serving",+ "metadata": {"notes": "Databricks documentation now provides both DBU costs (_dbu_cost_per_token) and dollar costs(_cost_per_token)."},+ "supports_tool_choice": true+ },"databricks/databricks-dbrx-instruct": {"max_tokens": 32768,"max_input_tokens": 32768,@@ -12976,4 +12990,4 @@"litellm_provider": "featherless_ai","mode": "chat"}-}\ No newline at end of file+}diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 8d7d062b818..4bea9baee3e 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -12350,6 +12350,20 @@"metadata": {"notes": "Input/output cost per token is dbu cost * $0.070, based on databricks Llama 3.1 70B conversion. Number provided for reference, '*_dbu_cost_per_token' used in actual calculation."},"supports_tool_choice": true},+ "databricks/databricks-llama-4-maverick": {+ "max_tokens": 128000,+ "max_input_tokens": 128000,+ "max_output_tokens": 128000,+ "input_cost_per_token": 0.000005,+ "input_dbu_cost_per_token": 0.00007143,+ "output_cost_per_token": 0.000015,+ "output_dbu_cost_per_token": 0.00021429,+ "litellm_provider": "databricks",+ "mode": "chat",+ "source": "https://www.databricks.com/product/pricing/foundation-model-serving",+ "metadata": {"notes": "Databricks documentation now provides both DBU costs (_dbu_cost_per_token) and dollar costs(_cost_per_token)."},+ "supports_tool_choice": true+ },"databricks/databricks-dbrx-instruct": {"max_tokens": 32768,"max_input_tokens": 32768,@@ -12976,4 +12990,4 @@"litellm_provider": "featherless_ai","mode": "chat"}-}\ No newline at end of file+}