GPT-Realtime-2 API Voice Agent Guide (2026): Pricing, Code, and Production Routing

On August 27, 2026, OpenAI launched three new realtime audio models in the API: GPT-Realtime-2, GPT-Realtime-Translate, and GPT-Realtime-Whisper. The headline model, GPT-Realtime-2, is the important one for developers building voice agents because it moves realtime audio closer to a working product layer: it can reason, call tools, recover from interruptions, and keep longer sessions alive with a 128K context window.

That changes the build decision. Voice apps used to be a pipeline: speech-to-text, text LLM, tool call, text-to-speech, then a lot of glue to hide latency. A native realtime model doesn't remove all glue, but it makes the conversation loop cleaner. The catch is cost and architecture. Audio tokens are expensive enough that you should design routing before launch, not after your first bill lands.

TL;DR / Key Takeaways

  • OpenAI announced GPT-Realtime-2, GPT-Realtime-Translate, and GPT-Realtime-Whisper for the Realtime API on August 27, 2026.
  • GPT-Realtime-2 has a 128K context window, up from the 32K context window cited for earlier realtime voice workflows.
  • GPT-Realtime-2 audio pricing is $32 per million input tokens, $0.40 per million cached input tokens, and $64 per million output tokens.
  • GPT-Realtime-Translate costs $0.034 per minute and supports speech input from more than 70 languages into 13 output languages.
  • GPT-Realtime-Whisper costs $0.017 per minute and is designed for low-latency streaming speech-to-text.

Pricing table: OpenAI realtime voice models

ModelInput priceOutput priceContext window
GPT-Realtime-2 audio$32.00 per 1M audio input tokens; $0.40 per 1M cached audio input tokens$64.00 per 1M audio output tokens128K tokens
GPT-Realtime-2 text$4.00 per 1M text input tokens; $0.40 per 1M cached text input tokens$24.00 per 1M text output tokens128K tokens
GPT-Realtime-TranslateNot billed per input token in the published price table$0.034 per minuteNot stated in the August 27, 2026 announcement
GPT-Realtime-WhisperNot billed per input token in the published price table$0.017 per minuteNot stated in the August 27, 2026 announcement
Whisper transcriptionNot billed per input token in the published price table$0.006 per minuteNot a realtime agent context model

Model comparison: which realtime option should you choose?

OptionBest forConcrete strengthKey limitation
GPT-Realtime-2Production voice agents that need reasoning, interruption handling, and tool use128K context window, parallel tool calls, adjustable reasoning effort, and GPT-5-class voice reasoningAudio output is $64 per million tokens, so open-ended sessions need strict budgets
GPT-Realtime-TranslateLive multilingual conversations, events, support, and creator workflowsMore than 70 input languages and 13 output languages at $0.034 per minuteIt is focused on translation, not general tool-using agent behavior
GPT-Realtime-WhisperLive captions, meeting notes, and streaming transcriptionLow-latency speech-to-text at $0.017 per minuteIt transcribes speech; it does not replace a reasoning model or action layer

What GPT-Realtime-2 is actually good for

The best use cases are not “talk to a chatbot.” That demo is easy. The useful version is voice-to-action: change an order, schedule a tour, triage a support issue, check inventory, update a CRM note, or coach a user through a complicated workflow while the user keeps speaking naturally.

OpenAI's launch notes call out preambles, parallel tool calls, tool transparency, better recovery behavior, longer context, stronger domain understanding, and controllable tone. Those details matter. A voice agent that goes silent for five seconds feels broken, even if the backend is working. A short “I'm checking that now” buys time and tells the user the system hasn't died.

Minimal WebRTC session pattern

For browser apps, the usual pattern is: your server creates an ephemeral realtime session, the browser connects over WebRTC, and your backend keeps secrets off the client. Don't put your root API key in JavaScript. Ever.

// server.js
import express from "express";

const app = express();
app.use(express.json());

app.post("/session", async (req, res) => {
  const r = await fetch("https://api.openai.com/v1/realtime/sessions", {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${process.env.OPENAI_API_KEY}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "gpt-realtime-2",
      voice: "alloy",
      instructions: "You are a concise support voice agent. Explain tool calls before using them.",
      reasoning: { effort: "low" }
    })
  });

  res.status(r.status).send(await r.text());
});

app.listen(3000);

The browser then asks /session for a short-lived credential and starts the WebRTC connection. Keep your app-specific authorization on /session; otherwise anyone who can open DevTools can burn your realtime budget.

Tool calls: make them audible and bounded

Realtime voice agents need tools, but tools are where voice UX gets weird. If a text agent takes eight seconds, the user waits. If a voice agent takes eight seconds with dead air, the user repeats themselves, talks over the model, or hangs up.

Use three rules:

  1. Give every slow tool a preamble. “I'll check your order status now” is not fluff; it's state.
  2. Set tool timeouts. A broken inventory API should return a graceful failure, not trap the conversation.
  3. Never let one tool own the session. Parallel tool calls are useful, but cap concurrency and log every call.
{
  "type": "function",
  "name": "lookup_order",
  "description": "Look up an order by ID and return status, ETA, and refund eligibility.",
  "parameters": {
    "type": "object",
    "properties": { "order_id": { "type": "string" } },
    "required": ["order_id"]
  }
}

Reasoning effort: don't default to xhigh

GPT-Realtime-2 supports adjustable reasoning effort: minimal, low, medium, high, and xhigh, with low as the default in OpenAI's launch post. My take: keep low as your production default. Raise effort only for flows that need planning, multi-step policy checks, or expensive tool decisions.

Voice latency is felt more sharply than chat latency. If a refund policy check needs high effort, fine. If the user asks “what time do you close?”, high effort is wasted money and awkward silence.

Cost control for voice agents

The pricing table makes the main lesson obvious: GPT-Realtime-2 is not a cheap transcription model. It is a realtime agent model. Use it when you need action and reasoning; route simple capture tasks to transcription.

If you already run multiple model vendors, keep a routing layer in front of voice workflows too. KissAPI is useful here when your product also needs OpenAI-compatible text fallback, batch summarization, or non-voice post-processing through the same account and billing surface.

A practical routing design

Here's a sane first version for a customer-support voice product:

if task == "live_transcription":
    model = "gpt-realtime-whisper"
elif task == "live_translation":
    model = "gpt-realtime-translate"
elif user_tier == "enterprise" and needs_tool_action:
    model = "gpt-realtime-2"
else:
    model = "text_or_async_followup"

That last branch is important. Not every voice interaction needs to stay live. Sometimes the right answer is: capture the user's request, confirm it, then process the heavy reasoning asynchronously with a cheaper text model. For post-call summarization, QA scoring, and ticket tagging, use a text model and a token budget. The token counter and API cost calculator are built for exactly that planning work.

Production checklist

Need a backup API route for your voice stack?

Start free at kissapi.ai/register. KissAPI gives developers one OpenAI-compatible place to route model calls, test fallbacks, and keep post-call AI workflows under budget.

Start Free

FAQ

What changed in OpenAI's August 27, 2026 realtime launch?

OpenAI introduced GPT-Realtime-2 for voice agents, GPT-Realtime-Translate for live translation, and GPT-Realtime-Whisper for streaming speech-to-text in the Realtime API.

Is GPT-Realtime-2 priced per minute?

GPT-Realtime-2 is priced per million tokens for audio, text, and image modalities. GPT-Realtime-Translate is priced at $0.034 per minute, and GPT-Realtime-Whisper is priced at $0.017 per minute.

What is the target keyword for this guide?

The target keyword is “GPT-Realtime-2 API voice agent guide 2026,” aimed at developers evaluating OpenAI's new realtime voice model for production applications.