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]

build(model_prices_and_context_window.json): add 'supports_assistant_prefill' to all vertex ai anthropic models

Krrish Dholakia1faa931f26ac
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index e31e6b3f4f6..d30270c5c8e 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -2074,7 +2074,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/claude-3-5-sonnet@20240620": {
"max_tokens": 4096,
@@ -2085,7 +2086,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/claude-3-haiku@20240307": {
"max_tokens": 4096,
@@ -2096,7 +2098,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/claude-3-opus@20240229": {
"max_tokens": 4096,
@@ -2107,7 +2110,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/meta/llama3-405b-instruct-maas": {
"max_tokens": 32000,
@@ -4531,6 +4535,69 @@
"litellm_provider": "perplexity",
"mode": "chat"
},
+ "perplexity/llama-3.1-70b-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000001,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-8b-instruct": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 0.0000002,
+ "output_cost_per_token": 0.0000002,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-sonar-huge-128k-online": {
+ "max_tokens": 127072,
+ "max_input_tokens": 127072,
+ "max_output_tokens": 127072,
+ "input_cost_per_token": 0.000005,
+ "output_cost_per_token": 0.000005,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-sonar-large-128k-online": {
+ "max_tokens": 127072,
+ "max_input_tokens": 127072,
+ "max_output_tokens": 127072,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000001,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-sonar-large-128k-chat": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 0.000001,
+ "output_cost_per_token": 0.000001,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-sonar-small-128k-chat": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 0.0000002,
+ "output_cost_per_token": 0.0000002,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
+ "perplexity/llama-3.1-sonar-small-128k-online": {
+ "max_tokens": 127072,
+ "max_input_tokens": 127072,
+ "max_output_tokens": 127072,
+ "input_cost_per_token": 0.0000002,
+ "output_cost_per_token": 0.0000002,
+ "litellm_provider": "perplexity",
+ "mode": "chat"
+ },
"perplexity/pplx-7b-chat": {
"max_tokens": 8192,
"max_input_tokens": 8192,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 9eaa7c1b130..d30270c5c8e 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -2074,7 +2074,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/claude-3-5-sonnet@20240620": {
"max_tokens": 4096,
@@ -2097,7 +2098,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/claude-3-opus@20240229": {
"max_tokens": 4096,
@@ -2108,7 +2110,8 @@
"litellm_provider": "vertex_ai-anthropic_models",
"mode": "chat",
"supports_function_calling": true,
- "supports_vision": true
+ "supports_vision": true,
+ "supports_assistant_prefill": true
},
"vertex_ai/meta/llama3-405b-instruct-maas": {
"max_tokens": 32000,