Skip to content
Dashboard

GPT-Realtime mini

GPT-Realtime mini is a cost-efficient realtime model that responds to audio and text inputs in realtime, built for voice features that need low latency and workable unit economics at high volume.

index.ts
import { gateway } from '@ai-sdk/gateway';
export async function POST() {
const { token, url } = await gateway.experimental_realtime.getToken({
model: 'openai/gpt-realtime-mini',
});
return Response.json({ token, url, tools: [] });
}

Frequently Asked Questions

  • How do I access GPT-Realtime mini through AI Gateway?

    Realtime support is in beta through AI SDK 7. Mint a short-lived token on your server with the AI SDK's gateway provider, then connect from the browser with the AI SDK's realtime hook over WebSocket. The hook manages microphone capture and audio playback.

  • What inputs does GPT-Realtime mini accept?

    GPT-Realtime mini responds to both audio and text inputs in realtime, so a session can mix spoken conversation with typed messages or injected context.

  • When should I upgrade from GPT-Realtime mini to gpt-realtime-1.5?

    Upgrade when reliability on complex instructions and tool calls starts affecting outcomes. GPT-Realtime-1.5 is the flagship for customer support and mission-critical voice agents; the mini variant targets routine, high-volume interactions.

  • Can GPT-Realtime mini call tools during a conversation?

    Yes, realtime models on AI Gateway can invoke your tools mid-conversation. For workflows built around long tool chains and multi-step decisions, the larger gpt-realtime models are more reliable.

  • How is GPT-Realtime mini priced?

    Pricing is listed on this page. Rates reflect the providers routing through AI Gateway and update when providers change list prices.

  • Does GPT-Realtime mini support zero data retention through AI Gateway?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.

  • What are typical latency characteristics?

    This page shows live performance metrics measured across real AI Gateway traffic.