Back to Models
gpt-realtime-2
openaiopenai/gpt-realtime-2
Successor to gpt-realtime-1.5 with improved voice synthesis and lower latency. Realtime audio in, audio out.
Context Length
--
Max Output
--
Input Priceper 1M tokens
$6.00/ 1M tokens
Output Priceper 1M tokens
$24.00/ 1M tokens
Modalities
textaudioimageβtextaudio
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $6.00 / 1M tokens |
| Output | $24.00 / 1M tokens |
Selling price = 1.25x upstream cost; verify upstream pricing before merge (task 1.3)
Supported Parameters
modalitiesvoicetemperaturetoolsinput_audio_formatoutput_audio_format
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/realtime/sessions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "openai/gpt-realtime-2",
"modalities": ["text", "audio"]
}'