SPB Git

Repository Public

gpt-4o-realtime-preview.md 3.1 KB 89 lines markdown

1# GPT-4o Realtime23> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.45> Model capable of realtime text and audio inputs and outputs67Model ID: `gpt-4o-realtime-preview`89This is a preview release of the GPT-4o Realtime model, capable of responding to audio and text inputs in realtime over WebRTC or a WebSocket interface.1011## Model details1213- Default snapshot: `gpt-4o-realtime-preview-2025-06-03`14- Input modalities: text, audio15- Output modalities: text, audio16- 32,000 context window17- 4,096 max output tokens18- Oct 01, 2023 knowledge cutoff1920## Pricing2122Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the [pricing page](/api/docs/pricing).2324### Text tokens2526| Metric | Price | Unit |27| --- | ---: | --- |28| Input | $5 | 1M tokens |29| Cached input | $2.5 | 1M tokens |30| Output | $20 | 1M tokens |3132### Audio tokens3334| Metric | Price | Unit |35| --- | ---: | --- |36| Input | $40 | 1M tokens |37| Cached input | $2.5 | 1M tokens |38| Output | $80 | 1M tokens |3940## Endpoints4142| Endpoint | Route | Support |43| --- | --- | --- |44| Live | `v1/live/sessions` | Not supported |45| Chat Completions | `v1/chat/completions` | Not supported |46| Responses | `v1/responses` | Not supported |47| Realtime | `v1/realtime` | Supported |48| Realtime translation | `v1/realtime/translations` | Not supported |49| Realtime transcription | `v1/realtime/transcription_sessions` | Not supported |50| Assistants | `v1/assistants` | Not supported |51| Batch | `v1/batch` | Not supported |52| Fine-tuning | `v1/fine-tuning` | Not supported |53| Embeddings | `v1/embeddings` | Not supported |54| Image generation | `v1/images/generations` | Not supported |55| Videos | `v1/videos` | Not supported |56| Image edit | `v1/images/edits` | Not supported |57| Speech generation | `v1/audio/speech` | Not supported |58| Transcription | `v1/audio/transcriptions` | Not supported |59| Translation | `v1/audio/translations` | Not supported |60| Moderation | `v1/moderations` | Not supported |61| Completions (legacy) | `v1/completions` | Not supported |6263## Supported features6465- function_calling66- prompt_caching6768## Snapshots6970Snapshots let you lock in a specific version of the model so that performance and behavior remain consistent. Below is a list of all available snapshots and aliases for GPT-4o Realtime.7172- `gpt-4o-realtime-preview-2025-06-03`73- `gpt-4o-realtime-preview-2024-12-17`74- `gpt-4o-realtime-preview-2024-10-01`7576## Rate limits7778Rate limits ensure fair and reliable access to the API by placing specific caps on requests, tokens, audio duration, or other usage within a given time period. Your usage tier determines how high these limits are set and automatically increases as you send more requests and spend more on the API.7980### default8182| Tier | RPM | RPD | TPM |83| --- | ---: | ---: | ---: |84| Tier 1 | 200 | 1,000 | 40,000 |85| Tier 2 | 400 | - | 200,000 |86| Tier 3 | 5,000 | - | 800,000 |87| Tier 4 | 10,000 | - | 4,000,000 |88| Tier 5 | 20,000 | - | 15,000,000 |89
Files main
Menu

Theme