ExploreModels
Pricing
Explore

Grok Voice

All speech to speech models

Build real-time voice applications powered by Grok. Send recorded audio and get a voice and text response.

Inference$ Commercial useFrom 1 credit per run

About Grok Voice

Build real-time voice applications powered by Grok. Send recorded audio and get a voice and text response.

xaigrokvoiceagent

Pricing

A run with the default settings costs 1 credits. The exact cost updates in the playground as you change settings, and you're only charged when you press Run. Failed runs are refunded automatically.

Inputs

audio_urlfilerequired

URL of the audio containing the user's speech. The Grok agent listens to it and replies with speech. Most common audio formats are supported; the audio is converted to 16-bit 24 kHz mono PCM before being sent to Grok. Maximum duration 10 minutes, maximum file size 50 MB.

prompttextarea

Optional system instructions describing the agent's persona and conversation context. Uses Grok's default persona when omitted.

voiceselect

Built-in xAI voice for the agent's reply. Uses Grok's default voice when omitted.

Options: carina, zagan, helix, orion, luna, iris, altair, zenith, perseus, helios, lux, kepler, rigel, cosmo, celeste, ursa, sirius, lumen, castor, naksh, atlas, aurora, liora, ara, eve, leo, rex, sal

toolsjsondefault: {"x_search":{"enabled":false},"web_search":{"enabled":false},"mcp_servers":[]}

Server-side tools available to the agent. Web, X, and remote MCP tools are supported; every tool is disabled by default. file_search/collections are unsupported by the typed configuration due to ZDR.

enable_safety_checkerbooleandefault: true

Authorized callers may set false to request relaxed screening.