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 for recraft

Ishaan Jaffe5debfc84c0a
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 6ac7e4e1943..43ef9f798ab 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -16768,7 +16768,7 @@
},
"recraft/recraftv3": {
"mode": "image_generation",
- "input_cost_per_image": 0.04,
+ "output_cost_per_image": 0.04,
"litellm_provider": "recraft",
"supported_endpoints": [
"/v1/images/generations"
@@ -16777,7 +16777,7 @@
},
"recraft/recraftv2": {
"mode": "image_generation",
- "input_cost_per_image": 0.022,
+ "output_cost_per_image": 0.022,
"litellm_provider": "recraft",
"supported_endpoints": [
"/v1/images/generations"
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 6ac7e4e1943..43ef9f798ab 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -16768,7 +16768,7 @@
},
"recraft/recraftv3": {
"mode": "image_generation",
- "input_cost_per_image": 0.04,
+ "output_cost_per_image": 0.04,
"litellm_provider": "recraft",
"supported_endpoints": [
"/v1/images/generations"
@@ -16777,7 +16777,7 @@
},
"recraft/recraftv2": {
"mode": "image_generation",
- "input_cost_per_image": 0.022,
+ "output_cost_per_image": 0.022,
"litellm_provider": "recraft",
"supported_endpoints": [
"/v1/images/generations"