GPT Realtime 2.1 vs nova-2-sonic
いつ、どちらを使うべきか — ベンチマーク表ではなく、厳選された評価
どちらも100万トークン単位で課金されるリアルタイムのオーディオおよびテキストモデルであるため、料金を直接比較できます。nova-2-sonicのオーディオ入力$3およびオーディオ出力$12に対してgpt-realtime-2.1は$32および$64であり、テキストでは$4/$24に対して$0.06/$0.24で、コンテキストと最大出力は128000と32000ではなく1000000と64000です。8分の接続制限とリージョン内のみの推論が適している場合、コスト重視の長時間の音声セッションにはnova-2-sonicを選択し、$0.4のキャッシュ入力読み取りが必要で、そのようなセッションやリージョンがないことを求める場合は、より新しいgpt-realtime-2.1(2026-07-06リリース)を選択してください。
料金
| GPT Realtime 2.1 | nova-2-sonic | Δ | |
|---|---|---|---|
| 音声入力 / 1Mトークン | $32 | $3 | 11× |
| 音声出力 / 1Mトークン | $64 | $12 | 5.3× |
| 音声キャッシュ読み取り / 1Mトークン | $0.4 | — | — |
| テキスト入力 / 1Mトークン | $4 | $0.06 | 67× |
| テキスト出力 / 1Mトークン | $24 | $0.24 | 100× |
| キャッシュ書き込み | 別途料金なし | 別途料金なし | — |
ビルド時のライブカタログの料金です。各モデルのページには現在の料金カードが記載されています。
位置付け — この課金単位におけるすべての6個のリアルタイム音声対音声モデル全体の1M音声トークンあたりの料金 (対数スケール)
機能
| GPT Realtime 2.1 | nova-2-sonic | |
|---|---|---|
| プロンプトキャッシング | 暗黙的 (自動) | サポートされていません |
| キャッシュ有効期間 | 5–10m, up to 1h | 該当なし |
| 最小キャッシュプレフィックス | 1024 トークン | 該当なし |
仕様
| GPT Realtime 2.1 | nova-2-sonic | |
|---|---|---|
| 入力モダリティ | テキスト 音声 | テキスト 音声 |
| 出力モダリティ | テキスト 音声 | テキスト 音声 |
| リリース | 2026-07-06 | 2025-12-02 |
| 知識のカットオフ | 2024-09 | — |
| ボイス | — | Feminine- and masculine-sounding voices per locale (tiffany/matthew en-US, amy en-GB, olivia en-AU, kiara/arjun en-IN and hi-IN, ambre/florian fr-FR, beatrice/lorenzo it-IT, tina/lennart de-DE, lupe/carlos es-US, carolina/leo pt-BR) tiffany and matthew are polyglot voices that speak every supported language. |
| セッション機能 |
|
|
| コンテキストウィンドウ | 128K | 1M |
仕様は各ベンダーのドキュメントから転記されています。ベンダーが公開していない行は推測せず、省略しています。 すべての出典: GPT Realtime 2.1 · nova-2-sonic
1行で切り替え
以下のすべてのタブには両方のIDが含まれています — 変更箇所はハイライトされた2行のみです。エンドポイント、キー、リクエスト形式はすべて同じです。
import asyncio, base64, json, websockets
URL = "wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1"
# URL = "wss://synthorai.io/v1/realtime?model=nova-2-sonic" # この行をアンコメントし、上の行をコメントアウトします
# Send ONLY the Authorization header — the beta protocol is retired.
HEADERS = {"Authorization": "Bearer sk-syn-..."}
async def main():
async with websockets.connect(URL, additional_headers=HEADERS) as ws:
# 1) configure the speech-to-speech session
await ws.send(json.dumps({
"type": "session.update",
"session": {
"type": "realtime",
"output_modalities": ["audio"],
"audio": {"output": {"voice": "alloy"}},
},
}))
# 2) send input audio (base64 PCM16), then request a spoken reply
await ws.send(json.dumps({"type": "input_audio_buffer.append", "audio": pcm16_b64}))
await ws.send(json.dumps({"type": "input_audio_buffer.commit"}))
await ws.send(json.dumps({"type": "response.create"}))
# 3) stream the model's audio (and text) back
async for raw in ws:
ev = json.loads(raw)
if ev["type"] == "response.audio.delta":
play(base64.b64decode(ev["delta"])) # audio out
elif ev["type"] == "response.done":
break
asyncio.run(main())import WebSocket from "ws";
const ws = new WebSocket("wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1", {
// const ws = new WebSocket("wss://synthorai.io/v1/realtime?model=nova-2-sonic", { // この行をアンコメントし、上の行をコメントアウトします
// Send ONLY the Authorization header — the beta protocol is retired.
headers: { Authorization: "Bearer sk-syn-..." },
});
ws.on("open", () => {
// configure the speech-to-speech session
ws.send(JSON.stringify({ type: "session.update", session: {
type: "realtime", output_modalities: ["audio"], audio: { output: { voice: "alloy" } },
} }));
// send input audio (base64 PCM16), then request a spoken reply
ws.send(JSON.stringify({ type: "input_audio_buffer.append", audio: pcm16Base64 }));
ws.send(JSON.stringify({ type: "input_audio_buffer.commit" }));
ws.send(JSON.stringify({ type: "response.create" }));
});
ws.on("message", (raw) => {
const ev = JSON.parse(raw.toString());
if (ev.type === "response.audio.delta") playAudio(Buffer.from(ev.delta, "base64")); // audio out
else if (ev.type === "response.done") ws.close();
});# Realtime is a WebSocket protocol — use a WS client such as websocat.
# Each line below is one OpenAI Realtime event (JSON) sent to the session.
websocat -H 'Authorization: Bearer sk-syn-...' \
'wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1' <<'EOF'
# 'wss://synthorai.io/v1/realtime?model=nova-2-sonic' <<'EOF' # この行をアンコメントし、上の行をコメントアウトします
{"type":"session.update","session":{"type":"realtime","output_modalities":["audio"],"audio":{"output":{"voice":"alloy"}}}}
{"type":"input_audio_buffer.append","audio":"<base64-pcm16>"}
{"type":"input_audio_buffer.commit"}
{"type":"response.create"}
EOF
# Responses stream back as response.audio.delta (base64 audio out) … response.donepackage main
import (
"net/http"
"github.com/gorilla/websocket"
)
func main() {
h := http.Header{}
h.Set("Authorization", "Bearer sk-syn-...")
// Send ONLY the Authorization header — the beta protocol is retired.
c, _, err := websocket.DefaultDialer.Dial("wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1", h)
// c, _, err := websocket.DefaultDialer.Dial("wss://synthorai.io/v1/realtime?model=nova-2-sonic", h) // この行をアンコメントし、上の行をコメントアウトします
if err != nil {
panic(err)
}
defer c.Close()
// configure the speech-to-speech session, send audio, request a spoken reply
c.WriteJSON(map[string]any{"type": "session.update", "session": map[string]any{
"type": "realtime", "output_modalities": []string{"audio"},
"audio": map[string]any{"output": map[string]any{"voice": "alloy"}}}})
c.WriteJSON(map[string]any{"type": "input_audio_buffer.append", "audio": pcm16B64})
c.WriteJSON(map[string]any{"type": "input_audio_buffer.commit"})
c.WriteJSON(map[string]any{"type": "response.create"})
for {
var ev struct {
Type string `json:"type"`
Delta string `json:"delta"`
}
if err := c.ReadJSON(&ev); err != nil {
return
}
if ev.Type == "response.audio.delta" {
playAudio(ev.Delta) // base64 audio out
} else if ev.Type == "response.done" {
return
}
}
}import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.WebSocket;
import java.util.concurrent.CompletionStage;
// JDK built-in WebSocket — no extra dependency needed.
WebSocket ws = HttpClient.newHttpClient().newWebSocketBuilder()
.header("Authorization", "Bearer sk-syn-...")
// Send ONLY the Authorization header — the beta protocol is retired.
.buildAsync(URI.create("wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1"), new WebSocket.Listener() {
// .buildAsync(URI.create("wss://synthorai.io/v1/realtime?model=nova-2-sonic"), new WebSocket.Listener() { // この行をアンコメントし、上の行をコメントアウトします
public CompletionStage<?> onText(WebSocket w, CharSequence data, boolean last) {
// handle response.audio.delta (base64 audio out) / response.done here
w.request(1);
return null;
}
}).join();
// configure the session, send input audio, then request a spoken reply
ws.sendText("{\"type\":\"session.update\",\"session\":{\"type\":\"realtime\",\"output_modalities\":[\"audio\"],\"audio\":{\"output\":{\"voice\":\"alloy\"}}}}", true);
ws.sendText("{\"type\":\"input_audio_buffer.append\",\"audio\":\"<base64-pcm16>\"}", true);
ws.sendText("{\"type\":\"input_audio_buffer.commit\"}", true);
ws.sendText("{\"type\":\"response.create\"}", true);FAQ
GPT Realtime 2.1 と nova-2-sonic ではどちらが安いですか?
音声入力 / 1mトークン においては nova-2-sonic の方が安価です($3 対 $32、11× の差)。他の行では逆になる可能性があります — 上の表には完全な情報が記載されており、実際のコストは組み合わせに依存します。
2つの統合を行わずに GPT Realtime 2.1 と nova-2-sonic のA/Bテストを実施できますか?
はい。両方とも1つのAPIキーで同じOpenAI互換エンドポイントを通じて提供されます — モデル文字列を1行変更するだけで切り替えられるため、トラフィックの一部をそれぞれにルーティングし、請求額を直接比較できます。
GPT Realtime 2.1 と nova-2-sonic はプロンプトキャッシングをサポートしていますか?
当社のフィードでは2つのうち1つにのみキャッシュ読み込みの料金が記載されており、料金の記載がない場合、プロバイダーはキャッシュ読み込みを個別に価格設定していません。