# Realtime voice, speech, and transcription now supported on AI Gateway

By Steven Van · 2026-06-29

The beta, available through AI SDK 7, adds the same spend controls and bring-your-own-key support Vercel offers for text, image, and video models.

[Vercel](<https://creatorstoolbox.com/tools/vercel>)'s AI Gateway now supports voice and audio models, in beta via AI SDK 7. [Realtime voice agents, text-to-speech, and speech-to-text](<https://vercel.com/docs/ai-gateway/modalities/realtime>) get the same observability, spend controls, and bring-your-own-key support as the Gateway's text, image, and video models, with no markup or platform fees.

- **Realtime voice agents**: a single model listens to a user, works out a response, and speaks it back in a live, low-latency conversation, and can call tools mid-conversation to look something up or take an action. The **useRealtime** hook handles microphone capture and playback.

- **Text to speech**: generates spoken audio from text, with a selectable voice and output format such as MP3, for voiceovers or spoken responses.

- **Speech to text**: transcribes a file buffer, base64 string, or URL into text, for voice notes or other transcriptions.

Realtime sessions are capped at 25 minutes, close after 5 minutes of inactivity or if nothing arrives within 30 seconds of connecting, and reject messages larger than 256 KB. The docs use openai/gpt-realtime-2 and spacexai/grok-voice-think-fast-1.0 as examples; the latter handles speech-to-speech only, with no transcription or translation.

[![](<https://vercel.com/api/docs-og?title=Realtime&format=docs&sig=c3d9ee80fac611cd00d685c7bc93d16bde3a68522bd59a1c405e334e92cdb805&category=Build%20AI%20apps&subcategory=AI%20Gateway&subcategory2=Modalities>)](<https://vercel.com/docs/ai-gateway/modalities/realtime>)

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

Sources

[Original source](<https://vercel.com/docs/ai-gateway/modalities/realtime>)

[Read Realtime voice, speech, and transcription now supported on AI Gateway on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-realtime-voice-speech-and-transcription-now-supported-on-ai-gateway>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-realtime-voice-speech-and-transcription-now-supported-on-ai-gateway
