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]

(fix) Fix Groq pricing for llama3.1 (#6114)

Kyrylo Yefimenkob68fee48a670
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 7d060dd83fb..0f1ad77a688 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -1491,8 +1491,8 @@
"max_tokens": 8192,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
- "input_cost_per_token": 0.00000059,
- "output_cost_per_token": 0.00000079,
+ "input_cost_per_token": 0.00000005,
+ "output_cost_per_token": 0.00000008,
"litellm_provider": "groq",
"mode": "chat",
"supports_function_calling": true
@@ -5303,7 +5303,7 @@
"input_cost_per_token": 0.0,
"output_cost_per_token": 0.0,
"litellm_provider": "ollama",
- "mode": "completion"
+ "mode": "chat"
},
"ollama/llama2:7b": {
"max_tokens": 4096,
@@ -5312,7 +5312,7 @@
"input_cost_per_token": 0.0,
"output_cost_per_token": 0.0,
"litellm_provider": "ollama",
- "mode": "completion"
+ "mode": "chat"
},
"ollama/llama2:13b": {
"max_tokens": 4096,
@@ -5321,7 +5321,7 @@
"input_cost_per_token": 0.0,
"output_cost_per_token": 0.0,
"litellm_provider": "ollama",
- "mode": "completion"
+ "mode": "chat"
},
"ollama/llama2:70b": {
"max_tokens": 4096,
@@ -5330,7 +5330,7 @@
"input_cost_per_token": 0.0,
"output_cost_per_token": 0.0,
"litellm_provider": "ollama",
- "mode": "completion"
+ "mode": "chat"
},
"ollama/llama2-uncensored": {
"max_tokens": 4096,