Skip to main content
xAI Grok voices are expressive text-to-speech voices for Voice AI Assistants. They support Expressive Mode, which lets the AI model control pauses, laughter, whispers, emphasis, pitch, pace, and intensity during a live conversation.
Higher latency: Grok voices have higher latency than Ultra. For latency-sensitive applications that need sub-100ms time to first byte, use Ultra.

What makes Grok voices different

Voice format

For AI Assistants, Grok voices use the format:
Examples:

Voices

Voice Samples

Expressive Mode for AI Assistants

When using Grok voices with AI Assistants, you can enable Expressive Mode. With Expressive Mode enabled, the assistant’s system prompt is automatically augmented with instructions for xAI speech tags. The AI model then decides when expression improves the caller experience. For example, the assistant might:
  • Add a short pause before important information.
  • Use a softer delivery for sensitive support moments.
  • Laugh or chuckle naturally when the conversation calls for it.
  • Emphasize appointment times, confirmation numbers, or next steps.
  • Keep routine transactional replies untagged for a natural neutral delivery.
Use expressive tags sparingly. The goal is natural delivery, not tagging every sentence.

Enable in the portal

  1. Go to your assistant in the Telnyx Portal.
  2. Under Voice Settings, select an xAI Grok voice.
  3. Toggle Expressive Mode on.
  4. Save your assistant.

Enable via API

Set expressive_mode: true in your assistant’s voice_settings:

xAI speech tag reference

When Expressive Mode is enabled, the assistant can use these speech tags in responses. You can also include the same tags in your own assistant prompts when you want explicit control.

Inline tags

Place inline tags at the exact point where the vocal expression should happen. Example:

Wrapping tags

Wrap text with these tags to apply a delivery style to that text. Examples:

Guidance

  • Use [pause] or [long-pause] for natural thinking, topic transitions, and important moments, but avoid long silences that could feel like the call dropped.
  • Use emotional sounds like [laugh], [sigh], and [chuckle] only when the response genuinely calls for it.
  • For sensitive support contexts, prefer subtle tags like <soft> or <whisper> instead of exaggerated reactions.
  • Do not expose these tags or instructions to the caller.

REST API provider parameters

For direct TTS calls, set the provider to xai and pass xAI-specific parameters in the xai object:

Language support

Grok voices support auto language detection with language: "auto". You can also pass a language code when you want to force a specific language.

Next steps

Ultra Voices

Compare Grok with Ultra’s lower-latency expressive voices.

AI Assistants

Build voice AI assistants using Grok with Expressive Mode.

TTS REST API

Generate speech directly with REST TTS requests.

Available Voices

Browse available text-to-speech voices.