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 deepseek-coder-v2(-lite), mistral-large, codegeex4 to ollama

Sam84590465857b
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 0bb40d406b2..cdf58c41a4a 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -4038,6 +4038,66 @@
"litellm_provider": "ollama",
"mode": "completion"
},
+ "ollama/codegeex4": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat",
+ "supports_function_calling": false
+ },
+ "ollama/deepseek-coder-v2-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat",
+ "supports_function_calling": true
+ },
+ "ollama/deepseek-coder-v2-base": {
+ "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": "completion",
+ "supports_function_calling": true
+ },
+ "ollama/deepseek-coder-v2-lite-instruct": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat",
+ "supports_function_calling": true
+ },
+ "ollama/deepseek-coder-v2-lite-base": {
+ "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": "completion",
+ "supports_function_calling": true
+ },
+ "ollama/internlm2_5-20b-chat": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat",
+ "supports_function_calling": true
+ },
"ollama/llama2": {
"max_tokens": 4096,
"max_input_tokens": 4096,
@@ -4093,7 +4153,7 @@
"mode": "chat"
},
"ollama/llama3.1": {
- "max_tokens": 8192,
+ "max_tokens": 32768,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
"input_cost_per_token": 0.0,
@@ -4102,6 +4162,15 @@
"mode": "chat",
"supports_function_calling": true
},
+ "ollama/mistral-large-instruct-2407": {
+ "max_tokens": 65536,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 0.0,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "ollama",
+ "mode": "chat"
+ },
"ollama/mistral": {
"max_tokens": 8192,
"max_input_tokens": 8192,