ai@7.0.179
Vercel AI SDK 7.0.179 adds experimental Gateway support for continuous Live models over WebSocket, enabling direct client connections without an application relay.
Why this signal matters
The ai@7.0.179 release updates the Gateway module to support Live models over WebSocket. Specifically, gateway.experimental realtime() now handles continuous Live models such as openai/gpt-live-1 and openai/gpt-live-1.1, routing them to the Gateway Live route using the normalized Live protocol (including session-start, PCM16 audio, context-append, and session-close with final usage). Users can pass { api: 'live' } or { api: 'realtime' } to control routing. Additionally, gateway.experimental realtime.getToken() generates Live-bound client secrets, and experimental useRealtime can now connect directly to the provider using short-lived tokens for continuous models that support client-secret-websocket connections, bypassing the need for an application relay. The release also updates @ai-sdk/gateway to 4.0.152.
Actionable summary
ai@7.0.179 introduces support for continuous Live models (openai/gpt-live-1 and openai/gpt-live-1.1) via gateway.experimental realtime() using a normalized Live protocol over WebSocket, adds Live token minting via getToken(), and supports direct client-to-provider connections via short-lived tokens.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Update to ai@7.0.179 and @ai-sdk/gateway@4.0.152 if using continuous Live models over WebSocket.
- Verify routing configuration using { api: 'live' } or { api: 'realtime' } when initializing Live models.
- Optionally migrate continuous WebSocket sessions from application relays to direct client-to-provider connections using getToken() and experimental useRealtime.