The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Feat] Add anthropic.claude-haiku-4-5-20251001-v1:0 on Bedrock, VertexAI (#15581)
Ishaan Jaff354e62bde473
diff --git a/litellm/constants.py b/litellm/constants.pyindex 54ac3e6d6b8..4579e59f4f3 100644--- a/litellm/constants.py+++ b/litellm/constants.py@@ -849,6 +849,7 @@ BEDROCK_CONVERSE_MODELS = ["deepseek.v3-v1:0","openai.gpt-oss-20b-1:0","openai.gpt-oss-120b-1:0",+ "anthropic.claude-haiku-4-5-20251001-v1:0","anthropic.claude-sonnet-4-5-20250929-v1:0","anthropic.claude-opus-4-1-20250805-v1:0","anthropic.claude-opus-4-20250514-v1:0",diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 91a23b7f00f..6025c3da270 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -400,6 +400,44 @@"supports_response_schema": true,"supports_tool_choice": true},+ "anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },+ "anthropic.claude-haiku-4-5@20251001": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -810,6 +848,25 @@"supports_tool_choice": true,"supports_vision": true},+ "apac.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"apac.anthropic.claude-3-sonnet-20240229-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -4612,6 +4669,48 @@"supports_web_search": true,"tool_use_system_prompt_tokens": 264},+ "claude-haiku-4-5-20251001": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_creation_input_token_cost_above_1hr": 2e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "anthropic",+ "max_input_tokens": 200000,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_computer_use": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },+ "claude-haiku-4-5": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_creation_input_token_cost_above_1hr": 2e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "anthropic",+ "max_input_tokens": 200000,+ "max_output_tokens": 64000,+ "max_tokens": 64000,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_computer_use": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },"claude-3-5-sonnet-20240620": {"cache_creation_input_token_cost": 3.75e-06,"cache_creation_input_token_cost_above_1hr": 6e-06,@@ -7741,6 +7840,25 @@"supports_response_schema": true,"supports_tool_choice": true},+ "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"eu.anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -20097,6 +20215,25 @@"supports_response_schema": true,"supports_tool_choice": true},+ "us.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"us.anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -21368,6 +21505,25 @@"supports_pdf_input": true,"supports_tool_choice": true},+ "vertex_ai/claude-haiku-4-5@20251001": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "vertex_ai-anthropic_models",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude/haiku-4-5",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"vertex_ai/claude-3-5-sonnet": {"input_cost_per_token": 3e-06,"litellm_provider": "vertex_ai-anthropic_models",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex d9c6cbde3da..6025c3da270 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -400,6 +400,44 @@"supports_response_schema": true,"supports_tool_choice": true},+ "anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },+ "anthropic.claude-haiku-4-5@20251001": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -810,6 +848,25 @@"supports_tool_choice": true,"supports_vision": true},+ "apac.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"apac.anthropic.claude-3-sonnet-20240229-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -7783,6 +7840,25 @@"supports_response_schema": true,"supports_tool_choice": true},+ "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"eu.anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -20139,6 +20215,25 @@"supports_response_schema": true,"supports_tool_choice": true},+ "us.anthropic.claude-haiku-4-5-20251001-v1:0": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "bedrock",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"us.anthropic.claude-3-5-sonnet-20240620-v1:0": {"input_cost_per_token": 3e-06,"litellm_provider": "bedrock",@@ -21410,6 +21505,25 @@"supports_pdf_input": true,"supports_tool_choice": true},+ "vertex_ai/claude-haiku-4-5@20251001": {+ "cache_creation_input_token_cost": 1.25e-06,+ "cache_read_input_token_cost": 1e-07,+ "input_cost_per_token": 1e-06,+ "litellm_provider": "vertex_ai-anthropic_models",+ "max_input_tokens": 200000,+ "max_output_tokens": 8192,+ "max_tokens": 8192,+ "mode": "chat",+ "output_cost_per_token": 5e-06,+ "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude/haiku-4-5",+ "supports_assistant_prefill": true,+ "supports_function_calling": true,+ "supports_pdf_input": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true+ },"vertex_ai/claude-3-5-sonnet": {"input_cost_per_token": 3e-06,"litellm_provider": "vertex_ai-anthropic_models",