🎁 新人 免费注册,送 10 次调用,最高 $1,免绑卡。

GPT Realtime 2.1 vs nova-2-sonic

vs

何时使用哪一个 — 经过整理的结论,而非基准测试表格

两者均是按每百万 token 计费的实时音频和文本模型,因此费率可直接比较:nova-2-sonic 收取 $3 音频输入和 $12 音频输出,而 gpt-realtime-2.1 为 $32 和 $64;文本方面为 $0.06/$0.24 对比 $4/$24,并具有 1000000 上下文和 64000 最大输出,而非 128000 和 32000。如果其 8 分钟连接限制和仅限同区域(in-Region-only)推理适合你,请为成本敏感的较长语音会话选择 nova-2-sonic;当你需要 $0.4 的缓存输入读取,并且没有此类会话或区域限制时,请选择更新的 gpt-realtime-2.1(2026-07-06 发布)

定价

GPT Realtime 2.1 nova-2-sonic Δ
音频输入 / 1M tokens $32 $3 11×
音频输出 / 1M tokens $64 $12 5.3×
音频缓存读取 / 1M tokens $0.4
文本输入 / 1M tokens $4 $0.06 67×
文本输出 / 1M tokens $24 $0.24 100×
缓存写入 不单独收费 不单独收费

费率取自构建时的实时目录;每个模型页面均附有当前的费率卡。

它们的位置 — 以该计费单位计费的所有 6 个 实时语音转语音 模型的 每 1M 音频 token 的价格(对数刻度)

能力

GPT Realtime 2.1 nova-2-sonic
提示词缓存 隐式(自动) 不支持
缓存生存时间 5–10m, up to 1h 不适用
最小缓存前缀 1024 个 token 不适用

规格

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.

会话能力
  • Speech-to-speech over WebSocket
  • configurable reasoning effort
  • tool use
  • interruption handling
  • 128K context
  • Intelligent turn-taking with configurable endpointing sensitivity
  • graceful interruption handling without losing context
  • function calling with asynchronous tool handling (the assistant keeps speaking while tools run)
  • RAG grounding
  • mixed audio and text input in one conversation
  • 8-minute connection limit
上下文窗口 128K 1M

规格转录自各供应商的文档;若供应商未发布某项数据,则直接省略该行,而非进行推断。 完整来源: GPT Realtime 2.1 · nova-2-sonic

只需一行代码即可在它们之间切换

两个 ID 都包含在下方的每个选项卡中 — 高亮显示的两行是唯一的修改。相同的端点,相同的密钥,相同的请求结构。

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())

获取 API 密钥 →

常见问题

GPT Realtime 2.1 和 nova-2-sonic 哪个更便宜?

在 音频输入 / 1m tokens 方面,nova-2-sonic 更便宜($3 对比 $32,相差 11×)。其他行可能得出相反的结论——上方表格提供了完整信息,实际成本取决于你的组合使用情况。

我可以在不进行两次集成的情况下,对 GPT Realtime 2.1 和 nova-2-sonic 进行 A/B 测试吗?

可以。两者均通过同一个兼容 OpenAI 的端点提供服务,并使用同一把 API 密钥——切换只需更改一行模型字符串,因此你可以将一部分流量路由到各个模型并直接比较账单。

GPT Realtime 2.1 和 nova-2-sonic 支持提示词缓存吗?

我们的信息流中仅列出了两者之一的缓存读取定价;如果缺少费率,则说明该提供商没有对缓存读取单独定价。

相关对比