You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/concepts/models.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ Details about maximum request tokens and training data are available in the foll
258
258
|`gpt-4o-mini-realtime-preview` (2024-12-17) <br> **GPT-4o audio**|**Audio model** for real-time audio processing. |Input: 128,000 <br> Output: 4,096 | Oct 2023 |
259
259
|`gpt-4o-audio-preview` (2024-12-17) <br> **GPT-4o audio**|**Audio model** for audio and text generation. |Input: 128,000 <br> Output: 4,096 | Oct 2023 |
260
260
|`gpt-4o-realtime-preview` (2024-12-17) <br> **GPT-4o audio**|**Audio model** for real-time audio processing. |Input: 128,000 <br> Output: 4,096 | Oct 2023 |
261
-
|`gpt-4o-realtime-preview` (2024-10-01) <br> **GPT-4o audio**|**Audio model** for real-time audio processing. |Input: 128,000 <br> Output: 4,096 | Oct 2023 |
261
+
|`gpt-4o-mini-realtime-preview` (2024-12-17) <br> **GPT-4o audio**|**Audio model** for real-time audio processing. |Input: 128,000 <br> Output: 4,096 | Oct 2023 |
262
262
263
263
To compare the availability of GPT-4o audio models across all regions, see the [models table](#global-standard-model-availability).
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/realtime-audio-webrtc.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ Use the [Realtime API via WebSockets](./realtime-audio-websockets.md) if you nee
33
33
The GPT 4o real-time models are available for global deployments in [East US 2 and Sweden Central regions](../concepts/models.md#global-standard-model-availability).
34
34
-`gpt-4o-mini-realtime-preview` (2024-12-17)
35
35
-`gpt-4o-realtime-preview` (2024-12-17)
36
-
-`gpt-4o-realtime-preview` (2024-10-01)
36
+
37
+
You should use API version `2025-04-01-preview` in the URL for the Realtime API. The API version is included in the sessions URL.
37
38
38
39
For more information about supported models, see the [models and versions documentation](../concepts/models.md#audio-models).
39
40
@@ -51,21 +52,28 @@ You use different URLs to get an ephemeral API key and connect to the Realtime A
51
52
52
53
| URL | Description |
53
54
|---|---|
54
-
| Sessions URL | The `/realtime/sessions` URL is used to get an ephemeral API key. The sessions URL includes the Azure OpenAI resource URL, deployment name, the `/realtime/sessions` path, and the API version.|
55
-
| WebRTC URL | The WebRTC URL is used to establish a WebRTC peer connection with the Realtime API. The WebRTC URL includes the region and the `realtimeapi-preview.ai.azure.com/v1/realtimertc` path.<br/><br/>The supported regions are `eastus2` and `swedencentral`.|
55
+
| Sessions URL | The `/realtime/sessions` URL is used to get an ephemeral API key. The sessions URL includes the Azure OpenAI resource URL, deployment name, the `/realtime/sessions` path, and the API version.<br/><br/>You should use API version `2025-04-01-preview` in the URL.<br/><br/>For an example and more information, see the [Sessions URL](#sessions-url) section below.|
56
+
| WebRTC URL | The WebRTC URL is used to establish a WebRTC peer connection with the Realtime API. The WebRTC URL includes the region and the `realtimeapi-preview.ai.azure.com/v1/realtimertc` path.<br/><br/>The supported regions are `eastus2` and `swedencentral`.<br/><br/>For an example and more information, see the [Sessions URL](#webrtc-url) section below.|
56
57
58
+
### Sessions URL
57
59
Here's an example of a well-constructed `realtime/sessions` URL that you use to get an ephemeral API key:
The sessions URL includes the Azure OpenAI resource URL, deployment name, the `/realtime/sessions` path, and the API version. The Azure OpenAI resource region isn't part of the sessions URL.
71
79
@@ -141,7 +149,7 @@ The sample code is an HTML page that allows you to start a session with the GPT-
141
149
// The SESSIONS_URL includes the Azure OpenAI resource URL,
142
150
// deployment name, the /realtime/sessions path, and the API version.
143
151
// The Azure OpenAI resource region isn't part of the SESSIONS_URL.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/realtime-audio-websockets.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@ Use the Realtime API via WebSockets in server-to-server scenarios where low late
30
30
The GPT-4o real-time models are available for global deployments in [East US 2 and Sweden Central regions](../concepts/models.md#global-standard-model-availability).
31
31
-`gpt-4o-mini-realtime-preview` (2024-12-17)
32
32
-`gpt-4o-realtime-preview` (2024-12-17)
33
-
-`gpt-4o-realtime-preview` (2024-10-01)
33
+
34
+
You should use API version `2025-04-01-preview` in the URL for the Realtime API.
34
35
35
36
For more information about supported models, see the [models and versions documentation](../concepts/models.md#audio-models).
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/realtime-audio.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,8 @@ You can use the Realtime API via WebRTC or WebSocket to send audio input to the
29
29
The GPT 4o real-time models are available for global deployments in [East US 2 and Sweden Central regions](../concepts/models.md#global-standard-model-availability).
30
30
-`gpt-4o-mini-realtime-preview` (2024-12-17)
31
31
-`gpt-4o-realtime-preview` (2024-12-17)
32
-
-`gpt-4o-realtime-preview` (2024-10-01)
32
+
33
+
You should use API version `2025-04-01-preview` in the URL for the Realtime API.
33
34
34
35
See the [models and versions documentation](../concepts/models.md#audio-models) for more information.
See the [models and versions documentation](./concepts/models.md#audio-models) for more information.
32
31
33
32
## API support
34
33
35
-
Support for the Realtime API was first added in API version `2024-10-01-preview`. Use version `2024-10-01-preview` to access the Realtime API.
34
+
Support for the Realtime API was first added in API version `2024-10-01-preview` (retired). Use version `2025-04-01-preview` to access the latest Realtime API features.
0 commit comments