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 model cost map fireworks embeddings

Ishaan Jaffb98b5abfb0ec
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 6ea6fcfafe8..4ddd5cb1af2 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -5508,8 +5508,8 @@
"max_input_tokens": 8192,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/nomic-ai/nomic-embed-text-v1": {
@@ -5517,8 +5517,8 @@
"max_input_tokens": 8192,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/WhereIsAI/UAE-Large-V1": {
@@ -5526,8 +5526,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000016,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/thenlper/gte-large": {
@@ -5535,8 +5535,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000016,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/thenlper/gte-base": {
@@ -5544,8 +5544,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks-ai-up-to-16b": {
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 6ea6fcfafe8..4ddd5cb1af2 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -5508,8 +5508,8 @@
"max_input_tokens": 8192,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/nomic-ai/nomic-embed-text-v1": {
@@ -5517,8 +5517,8 @@
"max_input_tokens": 8192,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/WhereIsAI/UAE-Large-V1": {
@@ -5526,8 +5526,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000016,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/thenlper/gte-large": {
@@ -5535,8 +5535,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000016,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks_ai/thenlper/gte-base": {
@@ -5544,8 +5544,8 @@
"max_input_tokens": 512,
"input_cost_per_token": 0.000000008,
"output_cost_per_token": 0.000000,
- "litellm_provider": "fireworks_ai",
- "mode": "fireworks_ai-embedding-models",
+ "litellm_provider": "fireworks_ai-embedding-models",
+ "mode": "embedding",
"source": "https://fireworks.ai/pricing"
},
"fireworks-ai-up-to-16b": {