GPT Live voice
Real-time spoken conversations with GPT Live 1 — low latency, natural interruptions.
GPT Live 1 powers two-way voice conversations over a WebSocket: users speak, the model listens and answers out loud, and it can be interrupted mid-sentence just like a human call. Your application can run its own tools during a call and TokenRex returns the results to the active conversation. Voice is billed per second from the same wallet as every other model.
What you get
- Natural interruptions and turn-taking
- Your app runs its own tools during the call
- Try it instantly in the Playground voice mode
- Per-second billing from the same wallet
- Timestamped captions for input and output speech
Common use cases
How it works
- 1Create your account and keySign up, top up your wallet and generate an API key from the dashboard.
- 2Open a live sessionConnect to the live WebSocket endpoint with your key and start streaming microphone audio.
- 3Handle eventsReceive speech events, captions and tool calls; send tool results back into the active call.
- 4Pay per secondThe call is metered per second and settled against your wallet when it ends.
Code examples
import WebSocket from "ws";
const ws = new WebSocket("wss://tokenrex.ai/api/public/v1/live", {
headers: { Authorization: "Bearer sk-tb-YOUR_KEY" },
});
ws.on("open", () => {
ws.send(JSON.stringify({ type: "session.start", model: "gpt-live-1" }));
// Stream microphone audio chunks as they arrive.
});
ws.on("message", (data) => {
const event = JSON.parse(data.toString());
// speech events, captions, tool calls…
});Frequently asked questions
Can users interrupt the model?
Yes. GPT Live supports natural interruptions and turn-taking — a user can start speaking while the model is talking.
Can my app use tools during a call?
Yes. Your application executes its own tools and returns the results to the active conversation.
How is voice billed?
Per second of call time, from the same wallet as every other model. The live rate is shown in the pricing table below.
Can I try it without writing code?
Yes — open the Playground and switch to voice mode to talk to GPT Live 1 in your browser.