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]

Add 3.5 haiku (#6588)

paul-gauthier7525b6bbaa59
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 6bc873fc989..132217eb018 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -1730,6 +1730,19 @@
"supports_assistant_prefill": true,
"supports_prompt_caching": true
},
+ "claude-3-5-haiku-20241022": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "anthropic",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "tool_use_system_prompt_tokens": 264,
+ "supports_assistant_prefill": true,
+ "supports_prompt_caching": true
+ },
"claude-3-opus-20240229": {
"max_tokens": 4096,
"max_input_tokens": 200000,
@@ -2643,6 +2656,17 @@
"supports_vision": true,
"supports_assistant_prefill": true
},
+ "vertex_ai/claude-3-5-haiku@20241022": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "vertex_ai-anthropic_models",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_assistant_prefill": true
+ },
"vertex_ai/claude-3-opus@20240229": {
"max_tokens": 4096,
"max_input_tokens": 200000,
@@ -3615,6 +3639,14 @@
"supports_function_calling": true,
"supports_vision": true
},
+ "openrouter/anthropic/claude-3-5-haiku": {
+ "max_tokens": 200000,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ },
"openrouter/anthropic/claude-3-haiku-20240307": {
"max_tokens": 4096,
"max_input_tokens": 200000,
@@ -3627,6 +3659,17 @@
"supports_vision": true,
"tool_use_system_prompt_tokens": 264
},
+ "openrouter/anthropic/claude-3-5-haiku-20241022": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "tool_use_system_prompt_tokens": 264
+ },
"anthropic/claude-3-5-sonnet-20241022": {
"max_tokens": 8192,
"max_input_tokens": 200000,
@@ -4352,6 +4395,16 @@
"supports_function_calling": true,
"supports_vision": true
},
+ "anthropic.claude-3-5-haiku-20241022-v1:0": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "bedrock",
+ "mode": "chat",
+ "supports_function_calling": true,
+ },
"anthropic.claude-3-opus-20240229-v1:0": {
"max_tokens": 4096,
"max_input_tokens": 200000,
@@ -4408,6 +4461,16 @@
"supports_function_calling": true,
"supports_vision": true
},
+ "us.anthropic.claude-3-5-haiku-20241022-v1:0": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "bedrock",
+ "mode": "chat",
+ "supports_function_calling": true,
+ },
"us.anthropic.claude-3-opus-20240229-v1:0": {
"max_tokens": 4096,
"max_input_tokens": 200000,
@@ -4464,6 +4527,16 @@
"supports_function_calling": true,
"supports_vision": true
},
+ "eu.anthropic.claude-3-5-haiku-20241022-v1:0": {
+ "max_tokens": 4096,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "bedrock",
+ "mode": "chat",
+ "supports_function_calling": true,
+ },
"eu.anthropic.claude-3-opus-20240229-v1:0": {
"max_tokens": 4096,
"max_input_tokens": 200000,