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]

Use sepecific llama2 and llama3 model names in Ollama

Kyrylo Yefimenkoe3cd8e169b4b
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 415d220f214..0a3fd494c7c 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -3354,6 +3354,15 @@
"litellm_provider": "ollama",
"mode": "completion"
},
+ "ollama/llama2:7b": {
+ "max_tokens": 4096,
+ "max_input_tokens": 4096,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "completion"
+ },
"ollama/llama2:13b": {
"max_tokens": 4096,
"max_input_tokens": 4096,
@@ -3390,6 +3399,15 @@
"litellm_provider": "ollama",
"mode": "chat"
},
+ "ollama/llama3:8b": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat"
+ },
"ollama/llama3:70b": {
"max_tokens": 8192,
"max_input_tokens": 8192,