GPT Realtime 2.1 on OpenAI API

GPT Realtime 2 · OpenAI

Serverless

Last refreshed 2026-10-19. Next refresh: weekly.

Why use GPT Realtime 2.1 on OpenAI API?

OpenAI API offers GPT Realtime 2.1 with pay-as-you-go pricing at $4.00/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.

Compare GPT Realtime 2.1 across 3 providers to find the best fit for your use case
Input / 1M
$4.00
Output / 1M
$24.00
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
gpt-realtime-2.1

Request example

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="gpt-realtime-2.1",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
  • The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.

Compare GPT Realtime 2.1 Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenAI API$4.00$24.00
Vercel AI Gateway$4.00$24.00
Microsoft Foundry$4.00$24.00

Pricing

TypePrice (per 1M)
Input tokens$4.00
Output tokens$24.00

Capabilities

VisionMultimodalReasoningAudio

About GPT Realtime 2.1

OpenAI Realtime API flagship speech-to-speech model (gpt-realtime-2.1) with text/audio/image input, text/audio output, 128K context, reasoning token support.

Get Started