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 runwayml/eleven_multilingual_v2 pricing

Ishaan Jaffer3c662eadb486
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index fa36e2d6088..c8f878a90bd 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -24864,5 +24864,12 @@
"1920x1080"
],
"comment": "2 credits per image (any resolution) @ $0.01 per credit = $0.02 per image"
+ },
+ "runwayml/eleven_multilingual_v2": {
+ "litellm_provider": "runwayml",
+ "mode": "audio_speech",
+ "input_cost_per_character": 3e-07,
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
+ "comment": "Estimated cost based on standard TTS pricing. RunwayML uses ElevenLabs models."
}
}
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index fa36e2d6088..c8f878a90bd 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -24864,5 +24864,12 @@
"1920x1080"
],
"comment": "2 credits per image (any resolution) @ $0.01 per credit = $0.02 per image"
+ },
+ "runwayml/eleven_multilingual_v2": {
+ "litellm_provider": "runwayml",
+ "mode": "audio_speech",
+ "input_cost_per_character": 3e-07,
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
+ "comment": "Estimated cost based on standard TTS pricing. RunwayML uses ElevenLabs models."
}
}
diff --git a/tests/audio_tests/runwayml_speech.mp3 b/tests/audio_tests/runwayml_speech.mp3
index 22aee2084ba..5eaa8b33629 100644
Binary files a/tests/audio_tests/runwayml_speech.mp3 and b/tests/audio_tests/runwayml_speech.mp3 differ
diff --git a/tests/audio_tests/test_audio_speech.py b/tests/audio_tests/test_audio_speech.py
index 409e3544fcf..da6e555c2e8 100644
--- a/tests/audio_tests/test_audio_speech.py
+++ b/tests/audio_tests/test_audio_speech.py
@@ -426,7 +426,7 @@ async def test_runwayml_tts_async():
assert speech_file_path.exists()
assert speech_file_path.stat().st_size > 0
- print(f"Azure TTS audio saved to: {speech_file_path}")
+ print(f"RunwayML TTS audio saved to: {speech_file_path}")
# assert response cost is greater than 0
print("Response cost: ", response._hidden_params["response_cost"])