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(bedrock): honor ttl for tool_config cache injection points (#31929)

Shivam Rawat154372591687
diff --git a/litellm/llms/bedrock/chat/converse_transformation.py b/litellm/llms/bedrock/chat/converse_transformation.py
index b135a116753..5a8ada45651 100644
--- a/litellm/llms/bedrock/chat/converse_transformation.py
+++ b/litellm/llms/bedrock/chat/converse_transformation.py
@@ -76,6 +76,7 @@ from litellm.utils import (
from ..common_utils import (
BedrockError,
BedrockModelInfo,
+ bedrock_converse_supports_parallel_tool_use_config,
get_anthropic_beta_from_headers,
get_bedrock_tool_name,
is_claude_4_5_on_bedrock,
@@ -1106,18 +1107,28 @@ class AmazonConverseConfig(BaseConfig):
if cache_control is None:
return None
- cache_point = CachePointBlock(type="default")
- if isinstance(cache_control, dict) and "ttl" in cache_control:
- ttl = cache_control["ttl"]
- if ttl in ["5m", "1h"] and model is not None:
- if is_claude_4_5_on_bedrock(model):
- cache_point["ttl"] = ttl
+ cache_point = self._build_cache_point_block(cache_control, model)
if block_type == "system":
return SystemContentBlock(cachePoint=cache_point)
else:
return ContentBlock(cachePoint=cache_point)
+ @staticmethod
+ def _build_cache_point_block(control: Optional[dict], model: Optional[str] = None) -> CachePointBlock:
+ """Build a Bedrock ``cachePoint`` block from an OpenAI-style ``cache_control``/``control`` dict.
+
+ ``type`` is always ``"default"`` (the only value Bedrock's Converse API
+ accepts). ``ttl`` is only honored for models that support extended TTL
+ caching (Claude 4.5 family on Bedrock).
+ """
+ cache_point = CachePointBlock(type="default")
+ if isinstance(control, dict) and "ttl" in control:
+ ttl = control["ttl"]
+ if ttl in ["5m", "1h"] and model is not None and is_claude_4_5_on_bedrock(model):
+ cache_point["ttl"] = ttl
+ return cache_point
+
def _transform_system_message(
self, messages: List[AllMessageValues], model: Optional[str] = None
) -> Tuple[List[AllMessageValues], List[SystemContentBlock]]:
@@ -1241,7 +1252,7 @@ class AmazonConverseConfig(BaseConfig):
# Handle parallel_tool_calls configuration
parallel_tool_use_config = additional_request_params.pop("_parallel_tool_use_config", None)
- if parallel_tool_use_config is not None and is_claude_4_5_on_bedrock(model):
+ if parallel_tool_use_config is not None and bedrock_converse_supports_parallel_tool_use_config(model):
for key, value in parallel_tool_use_config.items():
if (
key in additional_request_params
@@ -1526,7 +1537,8 @@ class AmazonConverseConfig(BaseConfig):
if cache_injection_points and len(bedrock_tools) > 0:
for point in cache_injection_points:
if point.get("location") == "tool_config":
- bedrock_tools.append({"cachePoint": {"type": "default"}})
+ cache_point = self._build_cache_point_block(point.get("control"), model)
+ bedrock_tools.append(ToolBlock(cachePoint=cache_point))
break
bedrock_tool_config: Optional[ToolConfigBlock] = None
diff --git a/litellm/llms/bedrock/common_utils.py b/litellm/llms/bedrock/common_utils.py
index df432a4d7e3..5114677ffc0 100644
--- a/litellm/llms/bedrock/common_utils.py
+++ b/litellm/llms/bedrock/common_utils.py
@@ -685,39 +685,27 @@ def get_bedrock_base_model(model: str) -> str:
return model
+def bedrock_converse_supports_parallel_tool_use_config(model: str) -> bool:
+ return any(
+ (litellm.model_cost.get(candidate) or {}).get("supports_parallel_tool_use_config") is True
+ for candidate in (model, get_bedrock_base_model(model))
+ )
+
+
def is_claude_4_5_on_bedrock(model: str) -> bool:
"""
- Check if the model is a Claude 4.5 model on Bedrock.
- Claude 4.5 models support prompt caching with '5m' and '1h' TTL on Bedrock.
+ Check if the model supports Bedrock prompt caching with an extended '1h' TTL
+ (in addition to the default 5m TTL).
+
+ Backed by the ``cache_creation_input_token_cost_above_1hr`` field in
+ ``model_prices_and_context_window.json`` instead of a hardcoded list of
+ model-name patterns, so newly released models pick up support as soon as
+ their pricing entry ships, with no code change required here.
"""
- model_lower = model.lower()
- claude_4_5_patterns = [
- "sonnet-4.5",
- "sonnet_4.5",
- "sonnet-4-5",
- "sonnet_4_5",
- "haiku-4.5",
- "haiku_4.5",
- "haiku-4-5",
- "haiku_4_5",
- "opus-4.5",
- "opus_4.5",
- "opus-4-5",
- "opus_4_5",
- "sonnet-4.6",
- "sonnet_4.6",
- "sonnet-4-6",
- "sonnet_4_6",
- "opus-4.6",
- "opus_4.6",
- "opus-4-6",
- "opus_4_6",
- "opus-4.7",
- "opus_4.7",
- "opus-4-7",
- "opus_4_7",
- ]
- return any(pattern in model_lower for pattern in claude_4_5_patterns)
+ return any(
+ (litellm.model_cost.get(candidate) or {}).get("cache_creation_input_token_cost_above_1hr") is not None
+ for candidate in (model, get_bedrock_base_model(model))
+ )
_BEDROCK_MODEL_VERSION_SUFFIX_RE = re.compile(r"-v\d+(?::\d+)?$")
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index bf63ef73c22..a4cca8d6cb0 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -744,7 +744,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-haiku-4-5@20251001": {
"cache_creation_input_token_cost": 1.25e-06,
@@ -768,7 +769,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_streaming": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -787,8 +789,6 @@
"output_cost_per_token_above_200k_tokens": 3e-05,
"cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
"cache_read_input_token_cost_above_200k_tokens": 6e-07,
- "cache_creation_input_token_cost_above_1hr": 7.5e-06,
- "cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.5e-05,
"cache_creation_input_token_cost": 3.75e-06,
"cache_read_input_token_cost": 3e-07
},
@@ -813,9 +813,7 @@
"input_cost_per_token_above_200k_tokens": 6e-06,
"output_cost_per_token_above_200k_tokens": 3e-05,
"cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
- "cache_read_input_token_cost_above_200k_tokens": 6e-07,
- "cache_creation_input_token_cost_above_1hr": 7.5e-06,
- "cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.5e-05
+ "cache_read_input_token_cost_above_200k_tokens": 6e-07
},
"anthropic.claude-3-7-sonnet-20240620-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -991,7 +989,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1010,7 +1009,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1023,7 +1021,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1042,7 +1041,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1055,7 +1053,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1074,7 +1073,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1087,7 +1085,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1106,7 +1105,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1119,7 +1117,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1138,7 +1137,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1151,7 +1149,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1171,7 +1170,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1186,7 +1184,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-mythos-preview": {
"input_cost_per_token": 0,
@@ -1221,7 +1220,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1236,7 +1234,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1256,7 +1255,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1271,7 +1269,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1291,7 +1290,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1306,7 +1304,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1326,7 +1325,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1341,7 +1339,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.25e-05,
@@ -1374,7 +1373,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.25e-05,
@@ -1407,7 +1407,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.375e-05,
@@ -1440,7 +1441,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.375e-05,
@@ -1473,7 +1475,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1493,7 +1496,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1508,7 +1510,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1528,7 +1531,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1543,7 +1545,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1563,7 +1566,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1578,7 +1580,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1598,7 +1601,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1613,7 +1615,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1633,7 +1636,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1648,7 +1650,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1680,7 +1683,8 @@
"supports_xhigh_reasoning_effort": true,
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
- "supports_minimal_reasoning_effort": true
+ "supports_minimal_reasoning_effort": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.5e-06,
@@ -1713,7 +1717,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.5e-06,
@@ -1746,7 +1751,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1779,7 +1785,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1812,7 +1819,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1845,7 +1853,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1878,7 +1887,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1897,7 +1907,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1909,7 +1918,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1928,7 +1938,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1940,7 +1949,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1959,7 +1969,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1971,7 +1980,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1990,7 +2000,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2002,7 +2011,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -2021,7 +2031,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2033,7 +2042,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -2052,7 +2062,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2064,7 +2073,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -2126,7 +2136,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-v1": {
"input_cost_per_token": 8e-06,
@@ -2376,7 +2387,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"apac.anthropic.claude-3-sonnet-20240229-v1:0": {
"input_cost_per_token": 3e-06,
@@ -2466,7 +2478,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"azure/ada": {
"input_cost_per_token": 1e-07,
@@ -2575,7 +2588,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2605,7 +2617,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2666,7 +2677,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2764,7 +2774,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -9373,17 +9382,16 @@
},
"bedrock/us-east-1/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -9612,7 +9620,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -9634,7 +9643,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-east-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.65e-06,
@@ -9787,7 +9797,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -9809,7 +9820,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.65e-06,
@@ -9995,17 +10007,16 @@
},
"bedrock/us-west-2/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -10573,7 +10584,8 @@
"supports_reasoning": true,
"supports_response_schema": true,
"supports_tool_choice": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_parallel_tool_use_config": true
},
"claude-opus-4-1": {
"cache_creation_input_token_cost": 1.875e-05,
@@ -14645,7 +14657,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -14859,7 +14872,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"eu.meta.llama3-2-1b-instruct-v1:0": {
"input_cost_per_token": 1.3e-07,
@@ -19222,7 +19236,6 @@
"supported_endpoints": [
"/v1/chat/completions"
],
- "supports_adaptive_thinking": true,
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_vision": true
@@ -20059,7 +20072,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -20112,7 +20126,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"global.amazon.nova-2-lite-v1:0": {
"cache_read_input_token_cost": 7.5e-08,
@@ -21976,8 +21991,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22025,8 +22040,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22070,8 +22085,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22115,8 +22130,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22164,8 +22179,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22212,8 +22227,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22253,8 +22268,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22297,8 +22312,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22342,8 +22357,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22388,8 +22403,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22431,8 +22446,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22474,8 +22489,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -24181,7 +24196,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.375e-06,
@@ -24204,7 +24220,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"crusoe/deepseek-ai/DeepSeek-R1-0528": {
"input_cost_per_token": 3e-06,
@@ -24992,14 +25009,13 @@
},
"minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
@@ -28455,7 +28471,6 @@
"output_cost_per_token": 1.5e-05,
"output_cost_per_token_above_200k_tokens": 2.25e-05,
"source": "https://openrouter.ai/anthropic/claude-sonnet-4.6",
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28495,7 +28510,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28557,7 +28571,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -30480,7 +30493,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -30490,7 +30502,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -31406,7 +31417,7 @@
"supports_tool_choice": true
},
"sambanova/Meta-Llama-3.2-1B-Instruct": {
- "deprecation_date": "2025-06-25",
+ "deprecation_date": "2025-06-25",
"input_cost_per_token": 4e-08,
"litellm_provider": "sambanova",
"max_input_tokens": 16384,
@@ -31537,15 +31548,15 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
- "snowflake/claude-3-5-sonnet": {
+ "snowflake/claude-3-5-sonnet": {
"litellm_provider": "snowflake",
"max_input_tokens": 200000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_vision": true,
@@ -31553,14 +31564,14 @@
"supports_system_messages": true,
"supports_response_schema": true
},
- "snowflake/deepseek-r1": {
+ "snowflake/deepseek-r1": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000135,
- "output_cost_per_token": 0.0000054,
+ "input_cost_per_token": 1.35e-06,
+ "output_cost_per_token": 5.4e-06,
"supports_reasoning": true,
"supports_system_messages": true
},
@@ -31619,8 +31630,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.0000012,
- "output_cost_per_token": 0.0000012,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31630,8 +31641,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31641,8 +31652,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000024,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 2.4e-07,
"supports_system_messages": true
},
"snowflake/llama3.2-1b": {
@@ -31659,17 +31670,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/llama3.3-70b": {
+ "snowflake/llama3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"snowflake/mistral-7b": {
"litellm_provider": "snowflake",
"max_input_tokens": 32000,
@@ -31684,14 +31695,14 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/mistral-large2": {
+ "snowflake/mistral-large2": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000006,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 6e-06,
"supports_function_calling": true,
"supports_system_messages": true,
"supports_response_schema": true
@@ -31731,17 +31742,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/snowflake-llama-3.3-70b": {
+ "snowflake/snowflake-llama-3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"stability/sd3": {
"litellm_provider": "stability",
"mode": "image_generation",
@@ -32825,7 +32836,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -32984,7 +32996,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -32993,7 +33006,7 @@
"input_cost_per_token": 3.6e-06,
"input_cost_per_token_above_200k_tokens": 7.2e-06,
"output_cost_per_token_above_200k_tokens": 2.7e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 9.0e-06,
+ "cache_creation_input_token_cost_above_200k_tokens": 9e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.44e-05,
"cache_read_input_token_cost_above_200k_tokens": 7.2e-07,
"litellm_provider": "bedrock_converse",
@@ -33011,7 +33024,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.375e-06,
@@ -33033,7 +33047,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-20250514-v1:0": {
"cache_creation_input_token_cost": 1.875e-05,
@@ -33087,7 +33102,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-5-20251101-v1:0": {
"cache_creation_input_token_cost": 6.25e-06,
@@ -33116,7 +33132,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-5-20251101-v1:0": {
"cache_creation_input_token_cost": 6.25e-06,
@@ -33144,7 +33161,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -33736,7 +33754,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34971,7 +34988,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35001,7 +35017,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35031,7 +35046,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35062,7 +35076,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35153,7 +35166,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35184,7 +35196,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35267,7 +35278,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -37796,12 +37806,12 @@
},
"zai.glm-5": {
"input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
- "output_cost_per_token": 3.2e-06,
"supports_function_calling": true,
"supports_reasoning": true,
"supports_system_messages": true,
@@ -37822,20 +37832,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "output_cost_per_token": 3.2e-06,
- "source": "https://aws.amazon.com/bedrock/pricing/",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
- },
"zai/glm-5": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 2e-07,
@@ -42734,7 +42730,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -42768,7 +42763,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42783,7 +42781,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42798,7 +42799,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42812,7 +42815,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42828,9 +42833,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42848,9 +42860,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42867,7 +42886,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42883,7 +42905,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42899,7 +42924,10 @@
"max_tokens": 128000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -43078,20 +43106,6 @@
}
]
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "output_cost_per_token": 3.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-east-1/zai.glm-5": {
"input_cost_per_token": 1e-06,
"output_cost_per_token": 3.2e-06,
@@ -43120,45 +43134,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-east-1/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-west-2/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-gov-east-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
"cache_creation_input_token_cost_above_1hr": 2.4e-06,
@@ -43180,7 +43155,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_pdf_input": true
+ "supports_pdf_input": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
@@ -43203,364 +43179,368 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_pdf_input": true
+ "supports_pdf_input": true,
+ "supports_parallel_tool_use_config": true
+ },
+ "snowflake/claude-sonnet-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-4-6": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-opus": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 5e-06,
+ "output_cost_per_token": 2.5e-05,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-haiku-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-3-7-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-4.1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 8e-06,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.25e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 1.25e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-mini": {
+ "max_tokens": 16384,
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-nano": {
+ "max_tokens": 16384,
+ "max_input_tokens": 5000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/llama4-maverick": {
+ "max_tokens": 16384,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 9.7e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true
+ },
+ "snowflake/snowflake-arctic-embed-l-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "snowflake/snowflake-arctic-embed-m-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "soniox/stt-async-v4": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "soniox/stt-async-v5": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 6e-07,
+ "output_cost_per_token": 3.6e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 4.5e-07,
+ "output_cost_per_token": 1.8e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3.6-27B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3.2e-07,
+ "output_cost_per_token": 3.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-06,
+ "output_cost_per_token": 4.4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 202752,
+ "max_output_tokens": 202752,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/moonshotai/Kimi-K2.6": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 9.6e-07,
+ "output_cost_per_token": 4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/MiniMaxAI/MiniMax-M2.5": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 196608,
+ "max_output_tokens": 196608,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/google/gemma-4-31B-it": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 5.6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-120b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-20b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
},
- "snowflake/claude-sonnet-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-sonnet-4-6": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-opus": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000005,
- "output_cost_per_token": 0.000025,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/claude-haiku-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000001,
- "output_cost_per_token": 0.000005,
- "cache_read_input_token_cost": 0.0000001,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-3-7-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-4.1": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000008,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000125,
- "output_cost_per_token": 0.00001,
- "cache_read_input_token_cost": 0.000000125,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-mini": {
- "max_tokens": 16384,
- "max_input_tokens": 1000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000012,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-nano": {
- "max_tokens": 16384,
- "max_input_tokens": 5000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000015,
- "output_cost_per_token": 0.0000006,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/llama4-maverick": {
- "max_tokens": 16384,
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000097,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true
- },
- "snowflake/snowflake-arctic-embed-l-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "snowflake/snowflake-arctic-embed-m-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "soniox/stt-async-v4": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "soniox/stt-async-v5": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 6e-07,
- "output_cost_per_token": 3.6e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 4.5e-07,
- "output_cost_per_token": 1.8e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3.6-27B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3.2e-07,
- "output_cost_per_token": 3.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-06,
- "output_cost_per_token": 4.4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 202752,
- "max_output_tokens": 202752,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/moonshotai/Kimi-K2.6": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 9.6e-07,
- "output_cost_per_token": 4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/MiniMaxAI/MiniMax-M2.5": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 196608,
- "max_output_tokens": 196608,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/google/gemma-4-31B-it": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 5.6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-120b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.5e-07,
- "output_cost_per_token": 6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-20b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 7e-08,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- }
- ,
"deepseek-v4-flash": {
"cache_creation_input_token_cost": 0.0,
"cache_read_input_token_cost": 2.8e-09,
@@ -43699,8 +43679,8 @@
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
- "input_cost_per_token": 0.000000125,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.25e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43712,8 +43692,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000014,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43725,8 +43705,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000009,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 9e-08,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43738,8 +43718,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000006,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 6e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43751,8 +43731,8 @@
"max_tokens": 163840,
"max_input_tokens": 163840,
"max_output_tokens": 163840,
- "input_cost_per_token": 0.0000001,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43764,8 +43744,8 @@
"max_tokens": 1000192,
"max_input_tokens": 1000192,
"max_output_tokens": 1000192,
- "input_cost_per_token": 0.000000255,
- "output_cost_per_token": 0.00000055,
+ "input_cost_per_token": 2.55e-07,
+ "output_cost_per_token": 5.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43773,39 +43753,39 @@
"supports_reasoning": false,
"source": "https://pinstripes.io/pricing"
},
- "fallback_generalizations": {
- "rules": [
- {
- "name": "anthropic-claude-adaptive-thinking",
- "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
- "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
- "extends": "anthropic-claude",
- "model_info": {
- "supports_adaptive_thinking": true
- }
- },
- {
- "name": "anthropic-claude",
- "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
- "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
- "model_info": {
- "litellm_provider": "anthropic",
- "mode": "chat",
- "max_input_tokens": 200000,
- "max_output_tokens": 64000,
- "max_tokens": 64000,
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_vision": true,
- "supports_tool_choice": true,
- "supports_assistant_prefill": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_reasoning": true,
- "supports_pdf_input": true,
- "supports_system_messages": true
- }
- }
- ]
- }
+ "fallback_generalizations": {
+ "rules": [
+ {
+ "name": "anthropic-claude-adaptive-thinking",
+ "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
+ "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
+ "extends": "anthropic-claude",
+ "model_info": {
+ "supports_adaptive_thinking": true
+ }
+ },
+ {
+ "name": "anthropic-claude",
+ "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
+ "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
+ "model_info": {
+ "litellm_provider": "anthropic",
+ "mode": "chat",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
+ "max_tokens": 64000,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true,
+ "supports_tool_choice": true,
+ "supports_assistant_prefill": true,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_pdf_input": true,
+ "supports_system_messages": true
+ }
+ }
+ ]
+ }
}
diff --git a/litellm/types/integrations/anthropic_cache_control_hook.py b/litellm/types/integrations/anthropic_cache_control_hook.py
index 3e2d0d688ac..601978bb04f 100644
--- a/litellm/types/integrations/anthropic_cache_control_hook.py
+++ b/litellm/types/integrations/anthropic_cache_control_hook.py
@@ -18,6 +18,7 @@ class CacheControlToolConfigInjectionPoint(TypedDict):
"""Type for tool_config-level injection points (Bedrock)."""
location: Literal["tool_config"]
+ control: Optional[ChatCompletionCachedContent]
CacheControlInjectionPoint = Union[
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 851f41dd98e..e85d5eeef4b 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -744,7 +744,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-haiku-4-5@20251001": {
"cache_creation_input_token_cost": 1.25e-06,
@@ -768,7 +769,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_streaming": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -787,8 +789,6 @@
"output_cost_per_token_above_200k_tokens": 3e-05,
"cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
"cache_read_input_token_cost_above_200k_tokens": 6e-07,
- "cache_creation_input_token_cost_above_1hr": 7.5e-06,
- "cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.5e-05,
"cache_creation_input_token_cost": 3.75e-06,
"cache_read_input_token_cost": 3e-07
},
@@ -813,9 +813,7 @@
"input_cost_per_token_above_200k_tokens": 6e-06,
"output_cost_per_token_above_200k_tokens": 3e-05,
"cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
- "cache_read_input_token_cost_above_200k_tokens": 6e-07,
- "cache_creation_input_token_cost_above_1hr": 7.5e-06,
- "cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.5e-05
+ "cache_read_input_token_cost_above_200k_tokens": 6e-07
},
"anthropic.claude-3-7-sonnet-20240620-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -991,7 +989,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1010,7 +1009,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1023,7 +1021,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1042,7 +1041,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1055,7 +1053,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1074,7 +1073,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1087,7 +1085,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1106,7 +1105,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1119,7 +1117,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-6-v1": {
"supports_adaptive_thinking": true,
@@ -1138,7 +1137,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1151,7 +1149,8 @@
"supports_native_structured_output": true,
"supports_output_config": true,
"supports_max_reasoning_effort": true,
- "bedrock_output_config_effort_ceiling": "max"
+ "bedrock_output_config_effort_ceiling": "max",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1171,7 +1170,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1186,7 +1184,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-mythos-preview": {
"input_cost_per_token": 0,
@@ -1221,7 +1220,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1236,7 +1234,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1256,7 +1255,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1271,7 +1269,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1291,7 +1290,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1306,7 +1304,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1326,7 +1325,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1341,7 +1339,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.25e-05,
@@ -1374,7 +1373,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.25e-05,
@@ -1407,7 +1407,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.375e-05,
@@ -1440,7 +1441,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-fable-5": {
"cache_creation_input_token_cost": 1.375e-05,
@@ -1473,7 +1475,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1493,7 +1496,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1508,7 +1510,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1528,7 +1531,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1543,7 +1545,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1563,7 +1566,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1578,7 +1580,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1598,7 +1601,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1613,7 +1615,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-opus-4-8": {
"bedrock_converse_supports_strict_tools": false,
@@ -1633,7 +1636,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1648,7 +1650,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-opus-4-7": {
"bedrock_converse_supports_strict_tools": false,
@@ -1680,7 +1683,8 @@
"supports_xhigh_reasoning_effort": true,
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
- "supports_minimal_reasoning_effort": true
+ "supports_minimal_reasoning_effort": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.5e-06,
@@ -1713,7 +1717,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.5e-06,
@@ -1746,7 +1751,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1779,7 +1785,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1812,7 +1819,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1845,7 +1853,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-sonnet-5": {
"cache_creation_input_token_cost": 2.75e-06,
@@ -1878,7 +1887,8 @@
"supports_native_structured_output": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "xhigh"
+ "bedrock_output_config_effort_ceiling": "xhigh",
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1897,7 +1907,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1909,7 +1918,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1928,7 +1938,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1940,7 +1949,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1959,7 +1969,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1971,7 +1980,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -1990,7 +2000,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2002,7 +2011,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -2021,7 +2031,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2033,7 +2042,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-sonnet-4-6": {
"supports_adaptive_thinking": true,
@@ -2052,7 +2062,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2064,7 +2073,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_output_config": true
+ "supports_output_config": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -2126,7 +2136,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"anthropic.claude-v1": {
"input_cost_per_token": 8e-06,
@@ -2376,7 +2387,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"apac.anthropic.claude-3-sonnet-20240229-v1:0": {
"input_cost_per_token": 3e-06,
@@ -2466,7 +2478,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"azure/ada": {
"input_cost_per_token": 1e-07,
@@ -2575,7 +2588,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2605,7 +2617,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2666,7 +2677,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2764,7 +2774,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -9373,17 +9382,16 @@
},
"bedrock/us-east-1/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -9612,7 +9620,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -9634,7 +9643,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-east-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.65e-06,
@@ -9787,7 +9797,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -9809,7 +9820,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.65e-06,
@@ -9995,17 +10007,16 @@
},
"bedrock/us-west-2/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -10573,7 +10584,8 @@
"supports_reasoning": true,
"supports_response_schema": true,
"supports_tool_choice": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_parallel_tool_use_config": true
},
"claude-opus-4-1": {
"cache_creation_input_token_cost": 1.875e-05,
@@ -14645,7 +14657,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -14859,7 +14872,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"eu.meta.llama3-2-1b-instruct-v1:0": {
"input_cost_per_token": 1.3e-07,
@@ -19381,7 +19395,6 @@
"supported_endpoints": [
"/v1/chat/completions"
],
- "supports_adaptive_thinking": true,
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_vision": true
@@ -20217,7 +20230,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -20270,7 +20284,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"global.amazon.nova-2-lite-v1:0": {
"cache_read_input_token_cost": 7.5e-08,
@@ -22134,8 +22149,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22183,8 +22198,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22228,8 +22243,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22273,8 +22288,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22322,8 +22337,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22370,8 +22385,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22411,8 +22426,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22455,8 +22470,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22500,8 +22515,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22546,8 +22561,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22589,8 +22604,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22632,8 +22647,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -24339,7 +24354,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"jp.anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.375e-06,
@@ -24362,7 +24378,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"crusoe/deepseek-ai/DeepSeek-R1-0528": {
"input_cost_per_token": 3e-06,
@@ -25150,14 +25167,13 @@
},
"minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
@@ -28613,7 +28629,6 @@
"output_cost_per_token": 1.5e-05,
"output_cost_per_token_above_200k_tokens": 2.25e-05,
"source": "https://openrouter.ai/anthropic/claude-sonnet-4.6",
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28653,7 +28668,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28715,7 +28729,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -30654,7 +30667,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -30664,7 +30676,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -31711,15 +31722,15 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
- "snowflake/claude-3-5-sonnet": {
+ "snowflake/claude-3-5-sonnet": {
"litellm_provider": "snowflake",
"max_input_tokens": 200000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_vision": true,
@@ -31727,14 +31738,14 @@
"supports_system_messages": true,
"supports_response_schema": true
},
- "snowflake/deepseek-r1": {
+ "snowflake/deepseek-r1": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000135,
- "output_cost_per_token": 0.0000054,
+ "input_cost_per_token": 1.35e-06,
+ "output_cost_per_token": 5.4e-06,
"supports_reasoning": true,
"supports_system_messages": true
},
@@ -31793,8 +31804,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.0000012,
- "output_cost_per_token": 0.0000012,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31804,8 +31815,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31815,8 +31826,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000024,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 2.4e-07,
"supports_system_messages": true
},
"snowflake/llama3.2-1b": {
@@ -31833,17 +31844,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/llama3.3-70b": {
+ "snowflake/llama3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"snowflake/mistral-7b": {
"litellm_provider": "snowflake",
"max_input_tokens": 32000,
@@ -31858,14 +31869,14 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/mistral-large2": {
+ "snowflake/mistral-large2": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000006,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 6e-06,
"supports_function_calling": true,
"supports_system_messages": true,
"supports_response_schema": true
@@ -31905,17 +31916,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/snowflake-llama-3.3-70b": {
+ "snowflake/snowflake-llama-3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"stability/sd3": {
"litellm_provider": "stability",
"mode": "image_generation",
@@ -32999,7 +33010,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
@@ -33158,7 +33170,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 4.5e-06,
@@ -33167,7 +33180,7 @@
"input_cost_per_token": 3.6e-06,
"input_cost_per_token_above_200k_tokens": 7.2e-06,
"output_cost_per_token_above_200k_tokens": 2.7e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 9.0e-06,
+ "cache_creation_input_token_cost_above_200k_tokens": 9e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.44e-05,
"cache_read_input_token_cost_above_200k_tokens": 7.2e-07,
"litellm_provider": "bedrock_converse",
@@ -33185,7 +33198,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"au.anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.375e-06,
@@ -33207,7 +33221,8 @@
"supports_response_schema": true,
"supports_tool_choice": true,
"supports_vision": true,
- "supports_native_structured_output": true
+ "supports_native_structured_output": true,
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-opus-4-20250514-v1:0": {
"cache_creation_input_token_cost": 1.875e-05,
@@ -33261,7 +33276,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"global.anthropic.claude-opus-4-5-20251101-v1:0": {
"cache_creation_input_token_cost": 6.25e-06,
@@ -33290,7 +33306,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"eu.anthropic.claude-opus-4-5-20251101-v1:0": {
"cache_creation_input_token_cost": 6.25e-06,
@@ -33318,7 +33335,8 @@
"supports_vision": true,
"supports_native_structured_output": true,
"supports_output_config": true,
- "bedrock_output_config_effort_ceiling": "high"
+ "bedrock_output_config_effort_ceiling": "high",
+ "supports_parallel_tool_use_config": true
},
"us.anthropic.claude-sonnet-4-20250514-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
@@ -33910,7 +33928,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35145,7 +35162,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35175,7 +35191,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35205,7 +35220,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35236,7 +35250,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35327,7 +35340,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35358,7 +35370,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35441,7 +35452,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -37998,12 +38008,12 @@
},
"zai.glm-5": {
"input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
- "output_cost_per_token": 3.2e-06,
"supports_function_calling": true,
"supports_reasoning": true,
"supports_system_messages": true,
@@ -38024,20 +38034,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "output_cost_per_token": 3.2e-06,
- "source": "https://aws.amazon.com/bedrock/pricing/",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
- },
"zai/glm-5": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 2e-07,
@@ -42966,7 +42962,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -43000,7 +42995,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -43015,7 +43013,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -43030,7 +43031,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -43044,7 +43047,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -43060,9 +43065,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -43080,9 +43092,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -43099,7 +43118,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -43115,7 +43137,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -43131,7 +43156,10 @@
"max_tokens": 128000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -43310,20 +43338,6 @@
}
]
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "output_cost_per_token": 3.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-east-1/zai.glm-5": {
"input_cost_per_token": 1e-06,
"output_cost_per_token": 3.2e-06,
@@ -43352,45 +43366,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-east-1/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-west-2/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-gov-east-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
"cache_creation_input_token_cost_above_1hr": 2.4e-06,
@@ -43412,7 +43387,8 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_pdf_input": true
+ "supports_pdf_input": true,
+ "supports_parallel_tool_use_config": true
},
"bedrock/us-gov-west-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
@@ -43435,365 +43411,369 @@
"supports_tool_choice": true,
"supports_vision": true,
"supports_native_structured_output": true,
- "supports_pdf_input": true
+ "supports_pdf_input": true,
+ "supports_parallel_tool_use_config": true
+ },
+ "snowflake/claude-sonnet-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-4-6": {
+ "supports_adaptive_thinking": true,
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-opus": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 5e-06,
+ "output_cost_per_token": 2.5e-05,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-haiku-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-3-7-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-4.1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 8e-06,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.25e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 1.25e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-mini": {
+ "max_tokens": 16384,
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-nano": {
+ "max_tokens": 16384,
+ "max_input_tokens": 5000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/llama4-maverick": {
+ "max_tokens": 16384,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 9.7e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true
+ },
+ "snowflake/snowflake-arctic-embed-l-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "snowflake/snowflake-arctic-embed-m-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "soniox/stt-async-v4": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "soniox/stt-async-v5": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 6e-07,
+ "output_cost_per_token": 3.6e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 4.5e-07,
+ "output_cost_per_token": 1.8e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3.6-27B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3.2e-07,
+ "output_cost_per_token": 3.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-06,
+ "output_cost_per_token": 4.4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 202752,
+ "max_output_tokens": 202752,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/moonshotai/Kimi-K2.6": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 9.6e-07,
+ "output_cost_per_token": 4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/MiniMaxAI/MiniMax-M2.5": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 196608,
+ "max_output_tokens": 196608,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/google/gemma-4-31B-it": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 5.6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-120b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-20b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
},
- "snowflake/claude-sonnet-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-sonnet-4-6": {
- "supports_adaptive_thinking": true,
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-opus": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000005,
- "output_cost_per_token": 0.000025,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/claude-haiku-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000001,
- "output_cost_per_token": 0.000005,
- "cache_read_input_token_cost": 0.0000001,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-3-7-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-4.1": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000008,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000125,
- "output_cost_per_token": 0.00001,
- "cache_read_input_token_cost": 0.000000125,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-mini": {
- "max_tokens": 16384,
- "max_input_tokens": 1000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000012,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-nano": {
- "max_tokens": 16384,
- "max_input_tokens": 5000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000015,
- "output_cost_per_token": 0.0000006,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/llama4-maverick": {
- "max_tokens": 16384,
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000097,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true
- },
- "snowflake/snowflake-arctic-embed-l-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "snowflake/snowflake-arctic-embed-m-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "soniox/stt-async-v4": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "soniox/stt-async-v5": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 6e-07,
- "output_cost_per_token": 3.6e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 4.5e-07,
- "output_cost_per_token": 1.8e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3.6-27B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3.2e-07,
- "output_cost_per_token": 3.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-06,
- "output_cost_per_token": 4.4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 202752,
- "max_output_tokens": 202752,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/moonshotai/Kimi-K2.6": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 9.6e-07,
- "output_cost_per_token": 4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/MiniMaxAI/MiniMax-M2.5": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 196608,
- "max_output_tokens": 196608,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/google/gemma-4-31B-it": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 5.6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-120b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.5e-07,
- "output_cost_per_token": 6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-20b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 7e-08,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- }
- ,
"deepseek-v4-flash": {
"cache_creation_input_token_cost": 0.0,
"cache_read_input_token_cost": 2.8e-09,
@@ -43898,8 +43878,8 @@
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
- "input_cost_per_token": 0.000000125,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.25e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43911,8 +43891,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000014,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43924,8 +43904,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000009,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 9e-08,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43937,8 +43917,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000006,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 6e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43950,8 +43930,8 @@
"max_tokens": 163840,
"max_input_tokens": 163840,
"max_output_tokens": 163840,
- "input_cost_per_token": 0.0000001,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43963,8 +43943,8 @@
"max_tokens": 1000192,
"max_input_tokens": 1000192,
"max_output_tokens": 1000192,
- "input_cost_per_token": 0.000000255,
- "output_cost_per_token": 0.00000055,
+ "input_cost_per_token": 2.55e-07,
+ "output_cost_per_token": 5.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -44006,39 +43986,39 @@
"supports_system_messages": true,
"supports_tool_choice": true
},
- "fallback_generalizations": {
- "rules": [
- {
- "name": "anthropic-claude-adaptive-thinking",
- "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
- "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
- "extends": "anthropic-claude",
- "model_info": {
- "supports_adaptive_thinking": true
- }
- },
- {
- "name": "anthropic-claude",
- "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
- "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
- "model_info": {
- "litellm_provider": "anthropic",
- "mode": "chat",
- "max_input_tokens": 200000,
- "max_output_tokens": 64000,
- "max_tokens": 64000,
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_vision": true,
- "supports_tool_choice": true,
- "supports_assistant_prefill": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_reasoning": true,
- "supports_pdf_input": true,
- "supports_system_messages": true
- }
- }
- ]
- }
+ "fallback_generalizations": {
+ "rules": [
+ {
+ "name": "anthropic-claude-adaptive-thinking",
+ "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
+ "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
+ "extends": "anthropic-claude",
+ "model_info": {
+ "supports_adaptive_thinking": true
+ }
+ },
+ {
+ "name": "anthropic-claude",
+ "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
+ "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
+ "model_info": {
+ "litellm_provider": "anthropic",
+ "mode": "chat",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
+ "max_tokens": 64000,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true,
+ "supports_tool_choice": true,
+ "supports_assistant_prefill": true,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_pdf_input": true,
+ "supports_system_messages": true
+ }
+ }
+ ]
+ }
}
diff --git a/ruff-strict-budget.json b/ruff-strict-budget.json
index 85ff7fcbf7d..9c2db6ee9cf 100644
--- a/ruff-strict-budget.json
+++ b/ruff-strict-budget.json
@@ -264,7 +264,7 @@
"limit": 63
},
"SIM102": {
- "limit": 326
+ "limit": 325
},
"SIM103": {
"limit": 129
diff --git a/tests/test_litellm/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py b/tests/test_litellm/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py
index 864f685e7c9..1d5289737f1 100644
--- a/tests/test_litellm/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py
+++ b/tests/test_litellm/litellm_core_utils/prompt_templates/test_litellm_core_utils_prompt_templates_factory.py
@@ -1,5 +1,6 @@
import base64
import json
+import os
from unittest.mock import MagicMock, patch
import pytest
@@ -2744,102 +2745,132 @@ def test_add_cache_point_tool_block_passes_ttl_for_claude_4_5():
TTL ordering constraint (tools -> system -> messages).
Ref: https://github.com/BerriAI/litellm/issues/XXXXX
+
+ Forces the bundled local cost map so ttl eligibility (driven by
+ `cache_creation_input_token_cost_above_1hr` in litellm.model_cost) reads
+ this branch's pricing data rather than the network-fetched `main` copy,
+ which lacks the fix until merge.
"""
from litellm.litellm_core_utils.prompt_templates.factory import (
add_cache_point_tool_block,
)
- tool_with_1h = {
- "type": "function",
- "function": {"name": "get_weather", "parameters": {"type": "object"}},
- "cache_control": {"type": "ephemeral", "ttl": "1h"},
- }
+ old_env = os.environ.get("LITELLM_LOCAL_MODEL_COST_MAP")
+ old_cost = litellm.model_cost
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ try:
+ tool_with_1h = {
+ "type": "function",
+ "function": {"name": "get_weather", "parameters": {"type": "object"}},
+ "cache_control": {"type": "ephemeral", "ttl": "1h"},
+ }
- # Claude 4.5 model: ttl should be preserved
- result = add_cache_point_tool_block(
- tool_with_1h, model="us.anthropic.claude-sonnet-4-5-20250514-v1:0"
- )
- assert result is not None
- assert result["cachePoint"]["type"] == "default"
- assert result["cachePoint"]["ttl"] == "1h"
+ # Claude 4.5 model: ttl should be preserved
+ result = add_cache_point_tool_block(
+ tool_with_1h, model="jp.anthropic.claude-opus-4-7"
+ )
+ assert result is not None
+ assert result["cachePoint"]["type"] == "default"
+ assert result["cachePoint"]["ttl"] == "1h"
- # Claude 4.5 model with 5m ttl: also preserved
- tool_with_5m = {
- "cache_control": {"type": "ephemeral", "ttl": "5m"},
- }
- result_5m = add_cache_point_tool_block(
- tool_with_5m, model="us.anthropic.claude-sonnet-4-5-20250514-v1:0"
- )
- assert result_5m is not None
- assert result_5m["cachePoint"]["ttl"] == "5m"
+ # Claude 4.5 model with 5m ttl: also preserved
+ tool_with_5m = {
+ "cache_control": {"type": "ephemeral", "ttl": "5m"},
+ }
+ result_5m = add_cache_point_tool_block(
+ tool_with_5m, model="jp.anthropic.claude-opus-4-7"
+ )
+ assert result_5m is not None
+ assert result_5m["cachePoint"]["ttl"] == "5m"
- # Older model: ttl should be stripped
- result_old = add_cache_point_tool_block(
- tool_with_1h, model="anthropic.claude-3-5-sonnet-20241022-v2:0"
- )
- assert result_old is not None
- assert result_old["cachePoint"]["type"] == "default"
- assert "ttl" not in result_old["cachePoint"]
+ # Older model: ttl should be stripped
+ result_old = add_cache_point_tool_block(
+ tool_with_1h, model="anthropic.claude-3-5-sonnet-20241022-v2:0"
+ )
+ assert result_old is not None
+ assert result_old["cachePoint"]["type"] == "default"
+ assert "ttl" not in result_old["cachePoint"]
- # No model provided: ttl should be stripped (safe default)
- result_no_model = add_cache_point_tool_block(tool_with_1h, model=None)
- assert result_no_model is not None
- assert "ttl" not in result_no_model["cachePoint"]
+ # No model provided: ttl should be stripped (safe default)
+ result_no_model = add_cache_point_tool_block(tool_with_1h, model=None)
+ assert result_no_model is not None
+ assert "ttl" not in result_no_model["cachePoint"]
- # No cache_control: returns None (unchanged behavior)
- tool_no_cache = {
- "type": "function",
- "function": {"name": "get_weather", "parameters": {"type": "object"}},
- }
- assert add_cache_point_tool_block(tool_no_cache) is None
+ # No cache_control: returns None (unchanged behavior)
+ tool_no_cache = {
+ "type": "function",
+ "function": {"name": "get_weather", "parameters": {"type": "object"}},
+ }
+ assert add_cache_point_tool_block(tool_no_cache) is None
- # cache_control without ttl: returns default cachePoint (unchanged behavior)
- tool_no_ttl = {"cache_control": {"type": "ephemeral"}}
- result_no_ttl = add_cache_point_tool_block(
- tool_no_ttl, model="us.anthropic.claude-sonnet-4-5-20250514-v1:0"
- )
- assert result_no_ttl is not None
- assert result_no_ttl["cachePoint"]["type"] == "default"
- assert "ttl" not in result_no_ttl["cachePoint"]
+ # cache_control without ttl: returns default cachePoint (unchanged behavior)
+ tool_no_ttl = {"cache_control": {"type": "ephemeral"}}
+ result_no_ttl = add_cache_point_tool_block(
+ tool_no_ttl, model="us.anthropic.claude-sonnet-4-5-20250929-v1:0"
+ )
+ assert result_no_ttl is not None
+ assert result_no_ttl["cachePoint"]["type"] == "default"
+ assert "ttl" not in result_no_ttl["cachePoint"]
+ finally:
+ litellm.model_cost = old_cost
+ if old_env is None:
+ os.environ.pop("LITELLM_LOCAL_MODEL_COST_MAP", None)
+ else:
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = old_env
def test_bedrock_tools_pt_passes_ttl_for_claude_4_5():
"""
End-to-end: _bedrock_tools_pt should produce cachePoint blocks with ttl
for Claude 4.5+ models when tools have cache_control with ttl.
+
+ Forces the bundled local cost map so ttl eligibility (driven by
+ `cache_creation_input_token_cost_above_1hr` in litellm.model_cost) reads
+ this branch's pricing data rather than the network-fetched `main` copy,
+ which lacks the fix until merge.
"""
from litellm.litellm_core_utils.prompt_templates.factory import _bedrock_tools_pt
- tools = [
- {
- "type": "function",
- "function": {
- "name": "get_weather",
- "description": "Get weather",
- "parameters": {
- "type": "object",
- "properties": {"city": {"type": "string"}},
+ old_env = os.environ.get("LITELLM_LOCAL_MODEL_COST_MAP")
+ old_cost = litellm.model_cost
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ try:
+ tools = [
+ {
+ "type": "function",
+ "function": {
+ "name": "get_weather",
+ "description": "Get weather",
+ "parameters": {
+ "type": "object",
+ "properties": {"city": {"type": "string"}},
+ },
},
- },
- "cache_control": {"type": "ephemeral", "ttl": "1h"},
- }
- ]
+ "cache_control": {"type": "ephemeral", "ttl": "1h"},
+ }
+ ]
- # Claude 4.5: cachePoint should have ttl
- result = _bedrock_tools_pt(
- tools, model="us.anthropic.claude-sonnet-4-5-20250514-v1:0"
- )
- cache_blocks = [b for b in result if "cachePoint" in b]
- assert len(cache_blocks) == 1
- assert cache_blocks[0]["cachePoint"]["ttl"] == "1h"
+ # Claude 4.5: cachePoint should have ttl
+ result = _bedrock_tools_pt(tools, model="jp.anthropic.claude-opus-4-7")
+ cache_blocks = [b for b in result if "cachePoint" in b]
+ assert len(cache_blocks) == 1
+ assert cache_blocks[0]["cachePoint"]["ttl"] == "1h"
- # Older model: cachePoint should not have ttl
- result_old = _bedrock_tools_pt(
- tools, model="anthropic.claude-3-5-sonnet-20241022-v2:0"
- )
- cache_blocks_old = [b for b in result_old if "cachePoint" in b]
- assert len(cache_blocks_old) == 1
- assert "ttl" not in cache_blocks_old[0]["cachePoint"]
+ # Older model: cachePoint should not have ttl
+ result_old = _bedrock_tools_pt(
+ tools, model="anthropic.claude-3-5-sonnet-20241022-v2:0"
+ )
+ cache_blocks_old = [b for b in result_old if "cachePoint" in b]
+ assert len(cache_blocks_old) == 1
+ assert "ttl" not in cache_blocks_old[0]["cachePoint"]
+ finally:
+ litellm.model_cost = old_cost
+ if old_env is None:
+ os.environ.pop("LITELLM_LOCAL_MODEL_COST_MAP", None)
+ else:
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = old_env
def test_convert_to_anthropic_tool_result_openai_file_pdf_becomes_document():
diff --git a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py
index d940f9f47a6..fe060e2e40d 100644
--- a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py
+++ b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py
@@ -611,6 +611,65 @@ def test_transform_request_helper_includes_anthropic_beta_and_tools():
assert fields["tools"][0]["type"] == "computer_20250124"
+def test_parallel_tool_calls_config_kept_for_sonnet_5():
+ old_env = os.environ.get("LITELLM_LOCAL_MODEL_COST_MAP")
+ old_cost = litellm.model_cost
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ try:
+ config = AmazonConverseConfig()
+ optional_params = config.map_openai_params(
+ model="anthropic.claude-sonnet-5",
+ non_default_params={"parallel_tool_calls": False},
+ optional_params={},
+ drop_params=False,
+ )
+
+ data = config._transform_request_helper(
+ model="anthropic.claude-sonnet-5",
+ system_content_blocks=[],
+ optional_params=optional_params,
+ messages=None,
+ )
+
+ assert data["additionalModelRequestFields"]["tool_choice"] == {
+ "disable_parallel_tool_use": True
+ }
+ finally:
+ litellm.model_cost = old_cost
+ if old_env is None:
+ os.environ.pop("LITELLM_LOCAL_MODEL_COST_MAP", None)
+ else:
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = old_env
+
+
+def test_parallel_tool_calls_config_dropped_for_ttl_only_model(
+ monkeypatch: pytest.MonkeyPatch,
+):
+ model = "anthropic.claude-fable-5"
+ monkeypatch.setitem(
+ litellm.model_cost,
+ model,
+ {"cache_creation_input_token_cost_above_1hr": 2e-05},
+ )
+ config = AmazonConverseConfig()
+ optional_params = config.map_openai_params(
+ model=model,
+ non_default_params={"parallel_tool_calls": False},
+ optional_params={},
+ drop_params=False,
+ )
+
+ data = config._transform_request_helper(
+ model=model,
+ system_content_blocks=[],
+ optional_params=optional_params,
+ messages=None,
+ )
+
+ assert "tool_choice" not in data.get("additionalModelRequestFields", {})
+
+
def test_transform_response_with_computer_use_tool():
"""Test response transformation with computer use tool call."""
import httpx
@@ -4130,6 +4189,42 @@ def test_parallel_tool_calls_newer_model_adds_disable_flag():
assert "parallel_tool_calls" not in request_data["additionalModelRequestFields"]
+def test_parallel_tool_calls_flag_decoupled_from_ttl_pricing(monkeypatch):
+ """
+ The disable_parallel_tool_use gate must read supports_parallel_tool_use_config,
+ not the 1h-TTL pricing field: a model carrying only the former still gets the flag.
+ """
+ from litellm.llms.bedrock.common_utils import is_claude_4_5_on_bedrock
+
+ config = AmazonConverseConfig()
+ model = "anthropic.claude-parallel-tool-use-only"
+ monkeypatch.setitem(litellm.model_cost, model, {"supports_parallel_tool_use_config": True})
+ assert is_claude_4_5_on_bedrock(model) is False
+ messages = [{"role": "user", "content": "What's the weather in SF and NYC?"}]
+
+ optional_params = config.map_openai_params(
+ non_default_params={"parallel_tool_calls": False, "tools": _TOOL_PARAM},
+ optional_params={},
+ model=model,
+ drop_params=False,
+ )
+
+ request_data = config.transform_request(
+ model=model,
+ messages=messages,
+ optional_params=optional_params,
+ litellm_params={},
+ headers={},
+ )
+
+ assert (
+ request_data["additionalModelRequestFields"]["tool_choice"][
+ "disable_parallel_tool_use"
+ ]
+ is True
+ )
+
+
def test_parallel_tool_calls_older_model_drops_disable_flag():
"""Older Claude models (pre-4.5) must NOT receive disable_parallel_tool_use — Bedrock rejects it."""
config = AmazonConverseConfig()
@@ -4554,6 +4649,154 @@ def test_cache_control_injection_tool_config_not_added_without_injection_point()
assert all("cachePoint" not in tool for tool in tools)
+def test_cache_control_injection_tool_config_honors_ttl_for_supported_model():
+ """
+ Regression test: cache_control_injection_points with location=tool_config
+ must honor the requested `control.ttl`, mirroring the message/system
+ cache_control behavior, instead of always emitting a bare
+ {"type": "default"} cachePoint with no ttl.
+
+ Forces the bundled local cost map so `is_claude_4_5_on_bedrock` (which
+ reads `cache_creation_input_token_cost_above_1hr` from litellm.model_cost)
+ sees this branch's pricing data rather than the network-fetched `main`
+ copy, which lacks it until merge.
+ """
+ old_env = os.environ.get("LITELLM_LOCAL_MODEL_COST_MAP")
+ old_cost = litellm.model_cost
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ try:
+ config = AmazonConverseConfig()
+ messages = [
+ {"role": "user", "content": "What is the weather?"},
+ ]
+ optional_params = {
+ "tools": [
+ {
+ "type": "function",
+ "function": {
+ "name": "get_weather",
+ "description": "Get weather for a location",
+ "parameters": {
+ "type": "object",
+ "properties": {"location": {"type": "string"}},
+ "required": ["location"],
+ },
+ },
+ }
+ ],
+ "cache_control_injection_points": [
+ {"location": "tool_config", "control": {"type": "ephemeral", "ttl": "1h"}},
+ ],
+ }
+ result = config._transform_request(
+ model="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
+ messages=messages,
+ optional_params=optional_params,
+ litellm_params={},
+ )
+ tools = result["toolConfig"]["tools"]
+ assert tools[-1] == {"cachePoint": {"type": "default", "ttl": "1h"}}
+ finally:
+ litellm.model_cost = old_cost
+ if old_env is None:
+ os.environ.pop("LITELLM_LOCAL_MODEL_COST_MAP", None)
+ else:
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = old_env
+
+
+def test_cache_control_injection_tool_config_honors_ttl_for_regional_model_lacking_own_pricing():
+ """
+ Regression test: a regional pricing entry that omits
+ `cache_creation_input_token_cost_above_1hr` (e.g. `jp.anthropic.claude-opus-4-7`)
+ must not shadow the base model entry that carries it; the requested ttl
+ survives through the base-model fallback.
+ """
+ old_env = os.environ.get("LITELLM_LOCAL_MODEL_COST_MAP")
+ old_cost = litellm.model_cost
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "True"
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ try:
+ assert "cache_creation_input_token_cost_above_1hr" not in litellm.model_cost["jp.anthropic.claude-opus-4-7"]
+ assert "cache_creation_input_token_cost_above_1hr" in litellm.model_cost["anthropic.claude-opus-4-7"]
+ config = AmazonConverseConfig()
+ messages = [
+ {"role": "user", "content": "What is the weather?"},
+ ]
+ optional_params = {
+ "tools": [
+ {
+ "type": "function",
+ "function": {
+ "name": "get_weather",
+ "description": "Get weather for a location",
+ "parameters": {
+ "type": "object",
+ "properties": {"location": {"type": "string"}},
+ "required": ["location"],
+ },
+ },
+ }
+ ],
+ "cache_control_injection_points": [
+ {"location": "tool_config", "control": {"type": "ephemeral", "ttl": "1h"}},
+ ],
+ }
+ result = config._transform_request(
+ model="jp.anthropic.claude-opus-4-7",
+ messages=messages,
+ optional_params=optional_params,
+ litellm_params={},
+ )
+ tools = result["toolConfig"]["tools"]
+ assert tools[-1] == {"cachePoint": {"type": "default", "ttl": "1h"}}
+ finally:
+ litellm.model_cost = old_cost
+ if old_env is None:
+ os.environ.pop("LITELLM_LOCAL_MODEL_COST_MAP", None)
+ else:
+ os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = old_env
+
+
+def test_cache_control_injection_tool_config_drops_ttl_for_unsupported_model():
+ """
+ Models that don't support extended TTL caching (only Claude 4.5+ on
+ Bedrock does) must fall back to the default cachePoint with no ttl,
+ even if the caller requested one, matching message/system behavior.
+ """
+ config = AmazonConverseConfig()
+ messages = [
+ {"role": "user", "content": "What is the weather?"},
+ ]
+ optional_params = {
+ "tools": [
+ {
+ "type": "function",
+ "function": {
+ "name": "get_weather",
+ "description": "Get weather for a location",
+ "parameters": {
+ "type": "object",
+ "properties": {"location": {"type": "string"}},
+ "required": ["location"],
+ },
+ },
+ }
+ ],
+ "cache_control_injection_points": [
+ {"location": "tool_config", "control": {"type": "ephemeral", "ttl": "1h"}},
+ ],
+ }
+ result = config._transform_request(
+ model="anthropic.claude-3-5-haiku-20241022-v1:0",
+ messages=messages,
+ optional_params=optional_params,
+ litellm_params={},
+ )
+ tools = result["toolConfig"]["tools"]
+ assert tools[-1] == {"cachePoint": {"type": "default"}}
+
+
def test_translate_response_format_json_schema_still_injects_tool():
"""
response_format with an explicit json_schema should still use the
diff --git a/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py b/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py
index c3191f5b5cb..03d0d87a58c 100644
--- a/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py
+++ b/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py
@@ -492,7 +492,7 @@ def test_bedrock_invoke_messages_transform_converts_custom_tool_schema_type_to_o
assert result["tools"][0]["type"] == "custom"
-def test_remove_ttl_from_cache_control_processes_tools():
+def test_remove_ttl_from_cache_control_processes_tools(local_model_cost_map):
"""
Ensure _remove_ttl_from_cache_control also sanitizes cache_control on tools.
@@ -538,7 +538,7 @@ def test_remove_ttl_from_cache_control_processes_tools():
assert "ttl" not in request["system"][0]["cache_control"]
-def test_remove_ttl_from_cache_control_preserves_tools_ttl_for_claude_4_5():
+def test_remove_ttl_from_cache_control_preserves_tools_ttl_for_claude_4_5(local_model_cost_map):
"""
For Claude 4.5+ models, ttl in ["5m", "1h"] should be preserved on tools,
just like it is for system and messages.
@@ -564,7 +564,7 @@ def test_remove_ttl_from_cache_control_preserves_tools_ttl_for_claude_4_5():
}
cfg._remove_ttl_from_cache_control(
- request, model="us.anthropic.claude-sonnet-4-5-20250514-v1:0"
+ request, model="us.anthropic.claude-sonnet-4-5-20250929-v1:0"
)
# Both tools and system should preserve ttl for Claude 4.5
diff --git a/tests/test_litellm/llms/bedrock/test_bedrock_common_utils.py b/tests/test_litellm/llms/bedrock/test_bedrock_common_utils.py
index 301bcba99f4..8cc6e4ff25d 100644
--- a/tests/test_litellm/llms/bedrock/test_bedrock_common_utils.py
+++ b/tests/test_litellm/llms/bedrock/test_bedrock_common_utils.py
@@ -445,3 +445,31 @@ def test_explicit_invoke_route_does_not_match_async_invoke():
BedrockModelInfo._explicit_async_invoke_route(f"bedrock/{async_invoke_model}")
is True
)
+
+
+def test_capability_lookups_fall_back_to_base_model_when_regional_entry_lacks_field(monkeypatch):
+ """
+ Regression test: a regional model_cost entry without the capability field
+ must not shadow a base entry that has it (`get(model) or get(base)` used to
+ short-circuit on the truthy regional dict and drop the capability).
+ """
+ import litellm
+ from litellm.llms.bedrock.common_utils import (
+ bedrock_converse_supports_parallel_tool_use_config,
+ is_claude_4_5_on_bedrock,
+ )
+
+ base = "anthropic.claude-fallback-test"
+ regional = f"eu.{base}"
+ monkeypatch.setitem(litellm.model_cost, regional, {"input_cost_per_token": 1e-06})
+ monkeypatch.setitem(
+ litellm.model_cost,
+ base,
+ {
+ "cache_creation_input_token_cost_above_1hr": 1e-05,
+ "supports_parallel_tool_use_config": True,
+ },
+ )
+
+ assert is_claude_4_5_on_bedrock(regional) is True
+ assert bedrock_converse_supports_parallel_tool_use_config(regional) is True
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index 2432b377d54..6bc477655d5 100644
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@ -833,6 +833,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"supports_image_input": {"type": "boolean"},
"supports_nova_canvas_image_edit": {"type": "boolean"},
"supports_parallel_function_calling": {"type": "boolean"},
+ "supports_parallel_tool_use_config": {"type": "boolean"},
"supports_pdf_input": {"type": "boolean"},
"supports_prompt_caching": {"type": "boolean"},
"supports_response_schema": {"type": "boolean"},