models/ElevenLabs/Eleven v4 Turbo
ElevenLabs

Eleven v4 Turbo

audio-tts
Compare

Generate speech with Eleven v4 Turbo from ElevenLabs. Choose a voice and control delivery with audio tags, stability, similarity settings, and IPA pronunciation.

MODALITIES
audio

Eleven v4 Turbo (elevenlabs/tts/eleven-v4-turbo) is a audio-tts model from ElevenLabs. Pricing via AIgateway: $0.040 per 1K chars. Call it via https://api.aigateway.sh/v1/audio/speech — set model="elevenlabs/tts/eleven-v4-turbo".

model · elevenlabs/tts/eleven-v4-turbo

Use this model

model: elevenlabs/tts/eleven-v4-turbo
curl https://api.aigateway.sh/v1/audio/speech \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"elevenlabs/tts/eleven-v4-turbo","voice":"alloy","input":"Hello, world."}'
API schema

Call Eleven v4 Turbo from any OpenAI SDK

POST https://api.aigateway.sh/v1/audio/speech·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "elevenlabs/tts/eleven-v4-turbo",
  "input": "Hello from AIgateway.",
  "voice": "alloy",
  "format": "mp3",        // mp3 | wav | flac | opus
  "speed": 1.0
}

Response

json
// Binary audio stream in the requested format (mp3 by default).
// Content-Type: audio/mpeg  (or audio/wav, audio/flac, audio/opus)
// Read the response body directly to a file.

Quickstart

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

r = client.audio.speech.create(model="elevenlabs/tts/eleven-v4-turbo", voice="alloy", input="Hello world.")
r.stream_to_file("out.mp3")

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 Eleven v4 Turbo?
Generate speech with Eleven v4 Turbo from ElevenLabs. Choose a voice and control delivery with audio tags, stability, similarity settings, and IPA pronunciation. It is a audio-tts model from ElevenLabs, accessible via AIgateway's OpenAI-compatible API at slug elevenlabs/tts/eleven-v4-turbo.
How much does Eleven v4 Turbo cost via AIgateway?
Pass-through pricing. See the pricing panel on this page for exact rates.
How do I call Eleven v4 Turbo from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "elevenlabs/tts/eleven-v4-turbo". The request and response shapes match OpenAI exactly.
Does Eleven v4 Turbo 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.