The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix supports_response_schema bedrock/anthropic models
Ishaan Jaffb3de3216a804
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex df3f012832a..66f57100e8f 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -1069,6 +1069,21 @@"supports_prompt_caching": true,"supports_tool_choice": true},+ "azure/o1-2024-12-17": {+ "max_tokens": 100000,+ "max_input_tokens": 200000,+ "max_output_tokens": 100000,+ "input_cost_per_token": 0.000015,+ "output_cost_per_token": 0.000060,+ "cache_read_input_token_cost": 0.0000075,+ "litellm_provider": "azure",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_vision": true,+ "supports_prompt_caching": true,+ "supports_tool_choice": true+ },"azure/o1-preview": {"max_tokens": 32768,"max_input_tokens": 128000,@@ -6176,6 +6191,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6188,6 +6204,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6215,6 +6232,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6228,6 +6246,7 @@"mode": "chat","supports_assistant_prefill": true,"supports_function_calling": true,+ "supports_response_schema": true,"supports_prompt_caching": true,"supports_tool_choice": true},@@ -6240,6 +6259,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6252,6 +6272,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6264,6 +6285,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6291,6 +6313,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6305,6 +6328,7 @@"supports_assistant_prefill": true,"supports_function_calling": true,"supports_prompt_caching": true,+ "supports_response_schema": true,"supports_tool_choice": true},"us.anthropic.claude-3-opus-20240229-v1:0": {@@ -6316,6 +6340,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6328,6 +6353,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6340,6 +6366,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6367,6 +6394,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6393,6 +6421,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 8812a8bcb8a..66f57100e8f 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -6191,6 +6191,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6203,6 +6204,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6230,6 +6232,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6243,6 +6246,7 @@"mode": "chat","supports_assistant_prefill": true,"supports_function_calling": true,+ "supports_response_schema": true,"supports_prompt_caching": true,"supports_tool_choice": true},@@ -6255,6 +6259,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6267,6 +6272,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6279,6 +6285,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6306,6 +6313,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6320,6 +6328,7 @@"supports_assistant_prefill": true,"supports_function_calling": true,"supports_prompt_caching": true,+ "supports_response_schema": true,"supports_tool_choice": true},"us.anthropic.claude-3-opus-20240229-v1:0": {@@ -6331,6 +6340,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6343,6 +6353,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6355,6 +6366,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6382,6 +6394,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},@@ -6408,6 +6421,7 @@"litellm_provider": "bedrock","mode": "chat","supports_function_calling": true,+ "supports_response_schema": true,"supports_vision": true,"supports_tool_choice": true},