Skip to content
Dashboard

Grok Voice Think Fast 2.0

Grok Voice Think Fast 2.0 is xAI's second-generation speech-to-speech voice model, streaming audio in and audio out over a WebSocket session through AI Gateway. Your use is subject to xAI's Terms & Privacy Policies.

import { gateway } from '@ai-sdk/gateway';
export async function POST() {
const { token, url } = await gateway.experimental_realtime.getToken({
model: 'xai/grok-voice-think-fast-2.0',
});
return Response.json({ token, url, tools: [] });
}
Read docs

About Grok Voice Think Fast 2.0

Grok Voice Think Fast 2.0 is xAI's realtime voice model, released July 29, 2026 and available through AI Gateway. Audio goes in and audio comes back, so Grok Voice Think Fast 2.0 handles full-duplex conversation without a chain of separate transcription, text, and speech models. xAI reports improvements over the previous Grok Voice model in reasoning, transcription accuracy, and conversation.

Grok Voice Think Fast 2.0 reasons in parallel with speech, working through a query while the conversation keeps moving. Grok Voice Think Fast 2.0 also spends fewer reasoning tokens than the previous Grok Voice model, so tool calls fire sooner, often before the agent finishes its first sentence. Transcription holds up in real-world conditions, including background noise and telephony compression.

Through AI Gateway, a server route mints a short-lived token so your API key never reaches the client, and the useRealtime hook from @ai-sdk/react drives the WebSocket, microphone capture, and playback from the browser, with session config for voice, turn detection, instructions, and tools. Realtime support is in beta and ships on the canary releases of the AI SDK, and you can try Grok Voice Think Fast 2.0 in the AI Gateway playground at https://ai-sdk.dev/playground/xai:grok-voice-think-fast-2.0.