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]

Merge litellm_internal_staging into devin/1784568628-databricks-gemini-reasoning-effort

milan58254e89e2cf
diff --cc litellm/model_prices_and_context_window_backup.json
index 40b3ddae11f,0ee8fc113e2..37120e241bf
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@@ -14581,11 -14703,41 +14703,42 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true
},
+ "databricks/databricks-claude-fable-5": {
+ "cache_creation_input_token_cost": 1.250004e-05,
+ "cache_read_input_token_cost": 1.00002e-06,
+ "input_cost_per_token": 1.000006e-05,
+ "input_dbu_cost_per_token": 0.000142858,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 5.000002e-05,
+ "output_dbu_cost_per_token": 0.000714286,
+ "prompt_cache_min_tokens": 512,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": false,
+ "thinking_always_on": true
+ },
"databricks/databricks-claude-haiku-4-5": {
+ "cache_creation_input_token_cost": 1.24999e-06,
+ "cache_read_input_token_cost": 1.0003e-07,
"input_cost_per_token": 1.00002e-06,
"input_dbu_cost_per_token": 1.4286e-05,
"litellm_provider": "databricks",
@@@ -14601,11 -14753,14 +14754,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 4096
},
"databricks/databricks-claude-opus-4": {
+ "cache_creation_input_token_cost": 1.874999e-05,
+ "cache_read_input_token_cost": 1.50003e-06,
"input_cost_per_token": 1.5000020000000002e-05,
"input_dbu_cost_per_token": 0.000214286,
"litellm_provider": "databricks",
@@@ -14621,11 -14776,14 +14778,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-opus-4-1": {
+ "cache_creation_input_token_cost": 1.874999e-05,
+ "cache_read_input_token_cost": 1.50003e-06,
"input_cost_per_token": 1.5000020000000002e-05,
"input_dbu_cost_per_token": 0.000214286,
"litellm_provider": "databricks",
@@@ -14641,11 -14799,14 +14802,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-opus-4-5": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
"input_cost_per_token": 5.00003e-06,
"input_dbu_cost_per_token": 7.1429e-05,
"litellm_provider": "databricks",
@@@ -14661,12 -14822,15 +14826,16 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "prompt_cache_min_tokens": 4096
},
"databricks/databricks-claude-opus-4-6": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
"input_cost_per_token": 5.00003e-06,
"input_dbu_cost_per_token": 7.1429e-05,
"litellm_provider": "databricks",
@@@ -14682,11 -14846,95 +14851,96 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_legacy_thinking": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 4096
+ },
+ "databricks/databricks-claude-opus-4-7": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 2048,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
+ },
+ "databricks/databricks-claude-opus-4-8": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 1024,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
+ },
+ "databricks/databricks-claude-opus-5": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 512,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
},
"databricks/databricks-claude-sonnet-4": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14702,11 -14950,14 +14956,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-sonnet-4-1": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14722,8 -14973,8 +14980,9 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true
},
"databricks/databricks-claude-sonnet-4-5": {
@@@ -14742,11 -14995,14 +15003,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-sonnet-4-6": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14762,11 -15018,42 +15027,43 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_legacy_thinking": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
+ },
+ "databricks/databricks-claude-sonnet-5": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
+ "input_cost_per_token": 2.99999e-06,
+ "input_dbu_cost_per_token": 4.2857e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields. Introductory launch rates of 28.571 input / 142.857 output / 35.714 cache write / 2.857 cache read DBU run through 2026-08-31; the standard rates are listed here because entries carry no expiry date."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 1.500002e-05,
+ "output_dbu_cost_per_token": 0.000214286,
+ "prompt_cache_min_tokens": 1024,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
},
"databricks/databricks-gemini-2-5-flash": {
+ "cache_creation_input_token_cost": 3.0002e-07,
+ "cache_read_input_token_cost": 3.0002e-08,
"input_cost_per_token": 3.0001999999999996e-07,
"input_dbu_cost_per_token": 4.285999999999999e-06,
"litellm_provider": "databricks",
@@@ -14781,7 -15068,7 +15078,8 @@@
"output_dbu_cost_per_token": 3.5714e-05,
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_function_calling": true,
+ "supports_anthropic_thinking_payload": true,
+ "supports_prompt_caching": true,
"supports_tool_choice": true
},
"databricks/databricks-gemini-2-5-pro": {
@@@ -14799,7 -15088,7 +15099,8 @@@
"output_dbu_cost_per_token": 0.000142857,
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_function_calling": true,
+ "supports_anthropic_thinking_payload": true,
+ "supports_prompt_caching": true,
"supports_tool_choice": true
},
"databricks/databricks-gemini-3-1-flash-lite": {
diff --cc litellm/types/utils.py
index e07edde68c5,dec9f4c5c77..d0364f62957
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@@ -163,9 -164,9 +164,10 @@@ class ProviderSpecificModelInfo(TypedDi
supports_low_reasoning_effort: bool | None
supports_xhigh_reasoning_effort: bool | None
supports_max_reasoning_effort: bool | None
+ reasoning_effort_levels: ReadOnly[Sequence[str] | None]
supports_output_config: bool | None
supports_image_size: bool | None
+ supports_anthropic_thinking_payload: ReadOnly[bool | None]
bedrock_output_config_effort_ceiling: Literal["low", "medium", "high", "max", "xhigh"] | None
bedrock_converse_supports_strict_tools: bool | None
diff --cc model_prices_and_context_window.json
index 40b3ddae11f,0ee8fc113e2..37120e241bf
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@@ -14581,11 -14703,41 +14703,42 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true
},
+ "databricks/databricks-claude-fable-5": {
+ "cache_creation_input_token_cost": 1.250004e-05,
+ "cache_read_input_token_cost": 1.00002e-06,
+ "input_cost_per_token": 1.000006e-05,
+ "input_dbu_cost_per_token": 0.000142858,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 5.000002e-05,
+ "output_dbu_cost_per_token": 0.000714286,
+ "prompt_cache_min_tokens": 512,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": false,
+ "thinking_always_on": true
+ },
"databricks/databricks-claude-haiku-4-5": {
+ "cache_creation_input_token_cost": 1.24999e-06,
+ "cache_read_input_token_cost": 1.0003e-07,
"input_cost_per_token": 1.00002e-06,
"input_dbu_cost_per_token": 1.4286e-05,
"litellm_provider": "databricks",
@@@ -14601,11 -14753,14 +14754,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 4096
},
"databricks/databricks-claude-opus-4": {
+ "cache_creation_input_token_cost": 1.874999e-05,
+ "cache_read_input_token_cost": 1.50003e-06,
"input_cost_per_token": 1.5000020000000002e-05,
"input_dbu_cost_per_token": 0.000214286,
"litellm_provider": "databricks",
@@@ -14621,11 -14776,14 +14778,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-opus-4-1": {
+ "cache_creation_input_token_cost": 1.874999e-05,
+ "cache_read_input_token_cost": 1.50003e-06,
"input_cost_per_token": 1.5000020000000002e-05,
"input_dbu_cost_per_token": 0.000214286,
"litellm_provider": "databricks",
@@@ -14641,11 -14799,14 +14802,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-opus-4-5": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
"input_cost_per_token": 5.00003e-06,
"input_dbu_cost_per_token": 7.1429e-05,
"litellm_provider": "databricks",
@@@ -14661,12 -14822,15 +14826,16 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "prompt_cache_min_tokens": 4096
},
"databricks/databricks-claude-opus-4-6": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
"input_cost_per_token": 5.00003e-06,
"input_dbu_cost_per_token": 7.1429e-05,
"litellm_provider": "databricks",
@@@ -14682,11 -14846,95 +14851,96 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_legacy_thinking": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 4096
+ },
+ "databricks/databricks-claude-opus-4-7": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 2048,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
+ },
+ "databricks/databricks-claude-opus-4-8": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 1024,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
+ },
+ "databricks/databricks-claude-opus-5": {
+ "cache_creation_input_token_cost": 6.25002e-06,
+ "cache_read_input_token_cost": 5.0001e-07,
+ "input_cost_per_token": 5.00003e-06,
+ "input_dbu_cost_per_token": 7.1429e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 2.500001e-05,
+ "output_dbu_cost_per_token": 0.000357143,
+ "prompt_cache_min_tokens": 512,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
},
"databricks/databricks-claude-sonnet-4": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14702,11 -14950,14 +14956,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-sonnet-4-1": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14722,8 -14973,8 +14980,9 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
"supports_tool_choice": true
},
"databricks/databricks-claude-sonnet-4-5": {
@@@ -14742,11 -14995,14 +15003,15 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
},
"databricks/databricks-claude-sonnet-4-6": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
"input_cost_per_token": 2.9999900000000002e-06,
"input_dbu_cost_per_token": 4.2857e-05,
"litellm_provider": "databricks",
@@@ -14762,11 -15018,42 +15027,43 @@@
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_assistant_prefill": true,
"supports_function_calling": true,
+ "supports_legacy_thinking": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
+ "supports_anthropic_thinking_payload": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "prompt_cache_min_tokens": 1024
+ },
+ "databricks/databricks-claude-sonnet-5": {
+ "cache_creation_input_token_cost": 3.74997e-06,
+ "cache_read_input_token_cost": 3.0002e-07,
+ "input_cost_per_token": 2.99999e-06,
+ "input_dbu_cost_per_token": 4.2857e-05,
+ "litellm_provider": "databricks",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "metadata": {
+ "notes": "Costs per token are the published Global DBU rates times $0.070 per DBU. The '*_dbu_cost_per_token' fields are provided for reference; cost calculation reads the dollar '*_cost_per_token' fields. Introductory launch rates of 28.571 input / 142.857 output / 35.714 cache write / 2.857 cache read DBU run through 2026-08-31; the standard rates are listed here because entries carry no expiry date."
+ },
+ "mode": "chat",
+ "output_cost_per_token": 1.500002e-05,
+ "output_dbu_cost_per_token": 0.000214286,
+ "prompt_cache_min_tokens": 1024,
+ "source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": false,
+ "supports_function_calling": true,
+ "supports_mid_conversation_system": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_sampling_params": false,
+ "supports_tool_choice": true,
+ "supports_vision": true
},
"databricks/databricks-gemini-2-5-flash": {
+ "cache_creation_input_token_cost": 3.0002e-07,
+ "cache_read_input_token_cost": 3.0002e-08,
"input_cost_per_token": 3.0001999999999996e-07,
"input_dbu_cost_per_token": 4.285999999999999e-06,
"litellm_provider": "databricks",
@@@ -14781,7 -15068,7 +15078,8 @@@
"output_dbu_cost_per_token": 3.5714e-05,
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_function_calling": true,
+ "supports_anthropic_thinking_payload": true,
+ "supports_prompt_caching": true,
"supports_tool_choice": true
},
"databricks/databricks-gemini-2-5-pro": {
@@@ -14799,7 -15088,7 +15099,8 @@@
"output_dbu_cost_per_token": 0.000142857,
"source": "https://www.databricks.com/product/pricing/proprietary-foundation-model-serving",
"supports_function_calling": true,
+ "supports_anthropic_thinking_payload": true,
+ "supports_prompt_caching": true,
"supports_tool_choice": true
},
"databricks/databricks-gemini-3-1-flash-lite": {
diff --cc tests/test_litellm/test_utils.py
index 56a384a260c,1de1ee3cb1b..faf879ee70d
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@@ -992,8 -1029,12 +1029,13 @@@ def test_aaamodel_prices_and_context_wi
"supports_none_reasoning_effort": {"type": "boolean"},
"supports_xhigh_reasoning_effort": {"type": "boolean"},
"supports_max_reasoning_effort": {"type": "boolean"},
+ "reasoning_effort_levels": {
+ "type": "array",
+ "items": {"type": "string", "enum": ["none", "minimal", "low", "medium", "high", "xhigh", "max"]},
+ },
"supports_adaptive_thinking": {"type": "boolean"},
+ "supports_anthropic_thinking_payload": {"type": "boolean"},
+ "supports_legacy_thinking": {"type": "boolean"},
"thinking_always_on": {"type": "boolean"},
"supports_mid_conversation_system": {"type": "boolean"},
"supports_sampling_params": {"type": "boolean"},