Eleven Flash v2 · vercel
English-only text-to-speech optimized for ultra-low latency in real-time applications. Accepts up to 30,000 characters per request and is billed per input character.
Price, $ $20.00 / 1M chars
Context —
Accepts text
Last checked 04.11.2026 12:00:14 UTC
Source —
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://ai-gateway.vercel.sh/v1/audio/speech \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "elevenlabs/eleven-flash-v2", "input": "Hello!", "voice": "alloy"}'Python
import requests
r = requests.post(
"https://ai-gateway.vercel.sh/v1/audio/speech",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "elevenlabs/eleven-flash-v2",
"input": "Hello!",
"voice": "alloy"
},
)
print(r.json())JavaScript
const r = await fetch("https://ai-gateway.vercel.sh/v1/audio/speech", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "elevenlabs/eleven-flash-v2",
"input": "Hello!",
"voice": "alloy"
}),
});
console.log(await r.blob());Request (JSON)
{
"model": "elevenlabs/eleven-flash-v2",
"input": "Hello!",
"voice": "alloy"
}Response (JSON)
audio bytes (audio/mpeg)The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Avercel%7Celevenlabs/eleven-flash-v2, prices checked 2026-11-04
Technical details
ID: offer:vercel|elevenlabs/eleven-flash-v2