Grok TTS
xAIxai/grok-ttsClosed APIConvert text into spoken audio with a single API call. The API supports a rich set of expressive voices, inline speech tags for fine-grained delivery control, and output formats from high-fidelity MP3 to telephony-optimized μ-law.
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ Grok TTS does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 15,000 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.
API CALL INVOCATION EXAMPLE
// Example: Calling Grok TTS via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.XAI_API_KEY,
});
const response = await client.chat.completions.create({
model: "xai/grok-tts",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by xAI
Alternative and family models from the same lab
Fast Grok model for responsive chat, reasoning, and tool-assisted work
xAI's fast agentic tool-calling model with a 2M context window and built-in reasoning
Fast Grok model for responsive chat, reasoning, and tool-assisted work