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
Add AWS Bedrock profiles for the APAC region (#11883)
lgruen-vcgse1c77e70c2ed
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 4b7bd6b8bd0..486b6e85571 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -10874,6 +10874,46 @@"supports_response_schema": true,"source": "https://aws.amazon.com/bedrock/pricing/"},+ "apac.amazon.nova-micro-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 300000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 3.7e-08,+ "output_cost_per_token": 1.48e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },+ "apac.amazon.nova-lite-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 128000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 6.3e-08,+ "output_cost_per_token": 2.52e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },+ "apac.amazon.nova-pro-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 300000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 8.4e-07,+ "output_cost_per_token": 3.36e-06,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },"us.amazon.nova-premier-v1:0": {"max_tokens": 10000,"max_input_tokens": 1000000,@@ -11359,6 +11399,93 @@"supports_reasoning": true,"supports_computer_use": true},+ "apac.anthropic.claude-3-haiku-20240307-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 2.5e-07,+ "output_cost_per_token": 1.25e-06,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-sonnet-20240229-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-5-sonnet-20240620-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-5-sonnet-20241022-v2:0": {+ "max_tokens": 8192,+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "cache_creation_input_token_cost": 3.75e-06,+ "cache_read_input_token_cost": 3e-07,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_assistant_prefill": true,+ "supports_computer_use": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-sonnet-4-20250514-v1:0": {+ "max_tokens": 64000,+ "max_input_tokens": 200000,+ "max_output_tokens": 64000,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "search_context_cost_per_query": {+ "search_context_size_low": 0.01,+ "search_context_size_medium": 0.01,+ "search_context_size_high": 0.01+ },+ "cache_creation_input_token_cost": 3.75e-06,+ "cache_read_input_token_cost": 3e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "tool_use_system_prompt_tokens": 159,+ "supports_assistant_prefill": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_computer_use": true+ },"eu.anthropic.claude-3-5-haiku-20241022-v1:0": {"max_tokens": 8192,"max_input_tokens": 200000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 4b7bd6b8bd0..486b6e85571 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -10874,6 +10874,46 @@"supports_response_schema": true,"source": "https://aws.amazon.com/bedrock/pricing/"},+ "apac.amazon.nova-micro-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 300000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 3.7e-08,+ "output_cost_per_token": 1.48e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },+ "apac.amazon.nova-lite-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 128000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 6.3e-08,+ "output_cost_per_token": 2.52e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },+ "apac.amazon.nova-pro-v1:0": {+ "max_tokens": 10000,+ "max_input_tokens": 300000,+ "max_output_tokens": 10000,+ "input_cost_per_token": 8.4e-07,+ "output_cost_per_token": 3.36e-06,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true+ },"us.amazon.nova-premier-v1:0": {"max_tokens": 10000,"max_input_tokens": 1000000,@@ -11359,6 +11399,93 @@"supports_reasoning": true,"supports_computer_use": true},+ "apac.anthropic.claude-3-haiku-20240307-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 2.5e-07,+ "output_cost_per_token": 1.25e-06,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-sonnet-20240229-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-5-sonnet-20240620-v1:0": {+ "max_tokens": 4096,+ "max_input_tokens": 200000,+ "max_output_tokens": 4096,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_response_schema": true,+ "supports_vision": true,+ "supports_pdf_input": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-3-5-sonnet-20241022-v2:0": {+ "max_tokens": 8192,+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "cache_creation_input_token_cost": 3.75e-06,+ "cache_read_input_token_cost": 3e-07,+ "litellm_provider": "bedrock",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_assistant_prefill": true,+ "supports_computer_use": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },+ "apac.anthropic.claude-sonnet-4-20250514-v1:0": {+ "max_tokens": 64000,+ "max_input_tokens": 200000,+ "max_output_tokens": 64000,+ "input_cost_per_token": 3e-06,+ "output_cost_per_token": 1.5e-05,+ "search_context_cost_per_query": {+ "search_context_size_low": 0.01,+ "search_context_size_medium": 0.01,+ "search_context_size_high": 0.01+ },+ "cache_creation_input_token_cost": 3.75e-06,+ "cache_read_input_token_cost": 3e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "tool_use_system_prompt_tokens": 159,+ "supports_assistant_prefill": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true,+ "supports_computer_use": true+ },"eu.anthropic.claude-3-5-haiku-20241022-v1:0": {"max_tokens": 8192,"max_input_tokens": 200000,