Grok Voice Think Fast 1.0
Grok Voice Think Fast 1.0 is xAI's realtime voice model for speech-to-speech agents, streaming audio bidirectionally over WebSocket through Vercel AI Gateway.
index.ts
import { gateway } from '@ai-sdk/gateway';
export async function POST() { const { token, url } = await gateway.experimental_realtime.getToken({ model: 'xai/grok-voice-think-fast-1.0', });
return Response.json({ token, url, tools: [] });}Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|