Back to Models

GPT-4o Realtime

openaiopenai/gpt-4o-realtime-preview

Realtime text and audio model from the GPT-4o family.

Context Length
--
Max Output
--
Input Priceper 1M tokens
$6.00/ 1M tokens
Output Priceper 1M tokens
$24.00/ 1M tokens

Modalities

textaudio→textaudio

Pricing Breakdown

TypeRate
Input$6.00 / 1M tokens
Output$24.00 / 1M tokens
Audio input$48.00 / 1M tokens
Audio output$96.00 / 1M tokens

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-4o-realtime-preview",
    "modalities": ["text", "audio"]
  }'
Customer Support