Grok TTS
grok-ttsTest in playground →Grok TTS (grok-tts) costs $0.012 per 1K characters on rawroute (20% below official list price) with a 0% top-up fee and automatic failover across 1 independent verified provider.
$0.012
per 1K characters
- Official
$0.015
| Specification | Value |
|---|---|
| Model ID | grok-tts |
| Vendor | xAI |
| rawroute price | $0.012 (per 1K characters) |
| Official list price | |
| Savings vs official | 20.0% |
| Failover providers | 1 |
| Last verified | 28.11.2026 |
Playground
~1 chars·$0.00
Call it with the SDK you already use.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.rawroute.dev/v1", api_key=os.environ["RAWROUTE_API_KEY"])
with client.audio.speech.with_streaming_response.create(
model="grok-tts",
voice="ara",
input="Welcome to rawroute. Your request failed over automatically.",
) as response:
response.stream_to_file("speech.mp3")import fs from "node:fs"
import OpenAI from "openai"
const client = new OpenAI({ baseURL: "https://api.rawroute.dev/v1", apiKey: process.env.RAWROUTE_API_KEY })
const mp3 = await client.audio.speech.create({
model: "grok-tts",
voice: "ara",
input: "Welcome to rawroute.",
})
fs.writeFileSync("speech.mp3", Buffer.from(await mp3.arrayBuffer()))curl https://api.rawroute.dev/v1/audio/speech \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-tts", "voice": "ara", "input": "Welcome to rawroute."}' \
--output speech.mp3- /v1/audio/speech
Questions & specs
What is the exact API model ID for Grok TTS?
Pass "grok-tts" in the model field. Native paths supported: /v1/audio/speech.
How many failover providers back Grok TTS?
Grok TTS routes across 1 independent verified provider. Failed requests return real HTTP status codes and are never billed.