feat(elevenlabs): add scribe_v2 to model cost map

This commit is contained in:
Devin AI 2026-07-16 12:08:38 +00:00
parent 2f03789927
commit fb70d7f7eb
3 changed files with 39 additions and 0 deletions

View file

@ -15353,6 +15353,21 @@
"/v1/audio/transcriptions"
]
},
"elevenlabs/scribe_v2": {
"input_cost_per_second": 6.11e-05,
"litellm_provider": "elevenlabs",
"metadata": {
"calculation": "$0.22/hour = $0.00366/minute = $0.0000611 per second",
"notes": "ElevenLabs Scribe v2 - batch speech-to-text model released January 2026, lowest word error rate on industry benchmarks with 99 language support",
"original_pricing_per_hour": 0.22
},
"mode": "audio_transcription",
"output_cost_per_second": 0.0,
"source": "https://elevenlabs.io/pricing/api",
"supported_endpoints": [
"/v1/audio/transcriptions"
]
},
"elevenlabs/scribe_v1_experimental": {
"input_cost_per_second": 6.11e-05,
"litellm_provider": "elevenlabs",

View file

@ -15353,6 +15353,21 @@
"/v1/audio/transcriptions"
]
},
"elevenlabs/scribe_v2": {
"input_cost_per_second": 6.11e-05,
"litellm_provider": "elevenlabs",
"metadata": {
"calculation": "$0.22/hour = $0.00366/minute = $0.0000611 per second",
"notes": "ElevenLabs Scribe v2 - batch speech-to-text model released January 2026, lowest word error rate on industry benchmarks with 99 language support",
"original_pricing_per_hour": 0.22
},
"mode": "audio_transcription",
"output_cost_per_second": 0.0,
"source": "https://elevenlabs.io/pricing/api",
"supported_endpoints": [
"/v1/audio/transcriptions"
]
},
"elevenlabs/scribe_v1_experimental": {
"input_cost_per_second": 6.11e-05,
"litellm_provider": "elevenlabs",

View file

@ -213,3 +213,12 @@ class TestElevenLabsTextToSpeechTransformation:
assert voice_id in url
assert "output_format=pcm_44100" in url
class TestElevenLabsScribeV2Pricing:
def test_scribe_v2_model_info(self):
info = litellm.get_model_info("elevenlabs/scribe_v2")
assert info["litellm_provider"] == "elevenlabs"
assert info["mode"] == "audio_transcription"
assert info["input_cost_per_second"] == pytest.approx(0.22 / 3600, rel=1e-3)
assert info["output_cost_per_second"] == 0.0