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 cohere embed v4 model support (#16358)

Sameer Kankutefd95909d9f8e
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 47d174417e9..e24fca72094 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -5753,6 +5753,16 @@
"output_vector_size": 1536,
"supports_embedding_image_input": true
},
+ "cohere/embed-v4.0": {
+ "input_cost_per_token": 1.2e-07,
+ "litellm_provider": "cohere",
+ "max_input_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "embedding",
+ "output_cost_per_token": 0.0,
+ "output_vector_size": 1536,
+ "supports_embedding_image_input": true
+ },
"cohere.rerank-v3-5:0": {
"input_cost_per_query": 0.002,
"input_cost_per_token": 0.0,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 47d174417e9..e24fca72094 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -5753,6 +5753,16 @@
"output_vector_size": 1536,
"supports_embedding_image_input": true
},
+ "cohere/embed-v4.0": {
+ "input_cost_per_token": 1.2e-07,
+ "litellm_provider": "cohere",
+ "max_input_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "embedding",
+ "output_cost_per_token": 0.0,
+ "output_vector_size": 1536,
+ "supports_embedding_image_input": true
+ },
"cohere.rerank-v3-5:0": {
"input_cost_per_query": 0.002,
"input_cost_per_token": 0.0,