Speech-to-speech over WebSockets

Realtime API

Low-latency voice conversations over the OpenAI-compatible /v1/realtime WebSocket endpoint, with image input and MCP tools on models that support them.

wss://api.llmgateway.io/v1/realtime

Can you move my 3pm to tomorrow?

Done. It's now tomorrow at 3pm.

gpt-realtime · voice activity detection
01

Low latency

Audio streams both ways.

02

Voice detection

Server-side turn taking.

03

Tools and MCP

Functions, and MCP where supported.

04

Browser safe

Short-lived client secrets.

Built for

  • Voice agents

    Support and booking lines

  • Visual support

    Talk through a screenshot

  • Hands-free apps

    Talk instead of type

Open a session
app.ts
import WebSocket from "ws"; const ws = new WebSocket(	"wss://api.llmgateway.io/v1/realtime?model=gpt-realtime",	{ headers: { Authorization: "Bearer " + process.env.LLM_GATEWAY_API_KEY } },); ws.on("message", (message) => console.log(JSON.parse(message.toString())));
Read docs

More in models & modalities

All features

Start using Realtime API today

One API key. Every model. Live in minutes.