models/ElevenLabs/ElevenLabs Speech to Text
ElevenLabs

ElevenLabs Speech to Text

audio-stt
Compare

Generate text from speech using ElevenLabs advanced speech-to-text model.

MODALITIES
audio

ElevenLabs Speech to Text (elevenlabs/elevenlabs-speech-to-text) is a audio-stt model from ElevenLabs. Pricing via AIgateway: $0.030 per minute. Call it via https://api.aigateway.sh/v1/audio/transcriptions — set model="elevenlabs/elevenlabs-speech-to-text".

model · elevenlabs/elevenlabs-speech-to-text

Use this model

model: elevenlabs/elevenlabs-speech-to-text
curl https://api.aigateway.sh/v1/audio/transcriptions \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -F model="elevenlabs/elevenlabs-speech-to-text" \
  -F file="@audio.mp3"
API schema

Call ElevenLabs Speech to Text from any OpenAI SDK

POST https://api.aigateway.sh/v1/audio/transcriptions·Content-Type: multipart/form-data·Auth: Bearer sk-aig-...

Request body

json
# multipart/form-data — use curl -F or SDK file upload
model="elevenlabs/elevenlabs-speech-to-text"
file=@audio.mp3
response_format=json    # or "verbose_json", "text", "srt", "vtt"
language=en             # optional

Response

json
{
  "text": "Hello from AIgateway.",
  "language": "en",
  "duration": 1.82
}

Quickstart

from openai import OpenAI
client = OpenAI(base_url="https://api.aigateway.sh/v1", api_key="sk-aig-...")

with open("audio.mp3", "rb") as f:
    r = client.audio.transcriptions.create(model="elevenlabs/elevenlabs-speech-to-text", file=f)
print(r.text)

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is ElevenLabs Speech to Text?
Generate text from speech using ElevenLabs advanced speech-to-text model. It is a audio-stt model from ElevenLabs, accessible via AIgateway's OpenAI-compatible API at slug elevenlabs/elevenlabs-speech-to-text.
How much does ElevenLabs Speech to Text cost via AIgateway?
$0.0300 per minute of audio, billed pass-through.
How do I call ElevenLabs Speech to Text from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "elevenlabs/elevenlabs-speech-to-text". The request and response shapes match OpenAI exactly.
Does ElevenLabs Speech to Text support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
Can I bring my own ElevenLabs API key (BYOK)?
Yes. Attach a ElevenLabs key in your AIgateway dashboard and this model flips to pass-through — you pay ElevenLabs directly and AIgateway adds no platform fee on those calls.