GPT Realtime 2.1 vs GPT Realtime 2.1 Mini
GPT Realtime 2.1 모델은 초대제로 제공됩니다. 아래 수치는 실시간 요금이지만, 호출하려면 먼저 워크스페이스가 승인을 받아야 합니다. 이 비교를 바탕으로 개발을 시작하기 전에 저희에게 액세스를 요청해 주세요.
GPT Realtime 2.1 Mini 모델은 초대제로 제공됩니다. 아래 수치는 실시간 요금이지만, 호출하려면 먼저 워크스페이스가 승인을 받아야 합니다. 이 비교를 바탕으로 개발을 시작하기 전에 저희에게 액세스를 요청해 주세요.
언제 어떤 모델을 쓸까
mini 단은 모든 항목에서 더 쌉니다 - 텍스트 100만당 $0.6과 $2.4가 $4와 $24 대비, 오디오 입출력 100만당 $10과 $20이 $32와 $64 대비 - 즉 오디오는 약 3배, 텍스트 입력은 약 7배 저렴합니다. 둘 다 128K 세션 컨텍스트에 음성-음성, 툴 사용, 프롬프트 캐싱을 갖췄고, 풀 모델은 여기에 조절 가능한 추론 강도와 끼어들기 처리를 명시합니다. 물량이면 mini, 세션마다 추론 강도를 조절하려면 풀 모델을 고르세요.
가격
| GPT Realtime 2.1 | GPT Realtime 2.1 Mini | Δ | |
|---|---|---|---|
| 오디오 입력 / 1M 토큰 | $32 | $10 | 3.2× |
| 오디오 출력 / 1M 토큰 | $64 | $20 | 3.2× |
| 오디오 캐시 읽기 / 1M 토큰 | $0.4 | $0.3 | 1.3× |
| 텍스트 입력 / 1M 토큰 | $4 | $0.6 | 6.7× |
| 텍스트 출력 / 1M 토큰 | $24 | $2.4 | 10× |
| 캐시 쓰기 | 별도 요금 없음 | 별도 요금 없음 | - |
빌드 시점에 실시간 카탈로그에서 가져온 요금입니다. 현재 요금은 각 모델 페이지에서 확인할 수 있습니다.
가격 위치: 이 과금 단위를 쓰는 실시간 음성 대 음성 모델 6개 전체의 1M 오디오 토큰당 가격(로그 스케일)
기능
| GPT Realtime 2.1 | GPT Realtime 2.1 Mini | |
|---|---|---|
| 프롬프트 캐싱 | 암시적(자동) | 암시적(자동) |
| 캐시 수명 | 5-10m, up to 1h | 5-10m, up to 1h |
| 최소 캐시 접두사 | 1024 토큰 | 1024 토큰 |
사양
| GPT Realtime 2.1 | GPT Realtime 2.1 Mini | |
|---|---|---|
| 입력 모달리티 | 텍스트 오디오 | 텍스트 오디오 |
| 출력 모달리티 | 텍스트 오디오 | 텍스트 오디오 |
| 출시일 | 2026-07-06 | 2026-07-06 |
| 지식 컷오프 | 2024-09 | 2024-09 |
| 세션 기능 |
|
|
| 컨텍스트 윈도우 | 128K | 128K |
사양은 각 공급자의 문서에서 그대로 옮겨 적었습니다. 공급자가 공개하지 않은 항목은 추정해 채우지 않고 뺐습니다. 전체 출처: GPT Realtime 2.1 · GPT Realtime 2.1 Mini
코드 한 줄로 모델 전환
아래 탭마다 두 모델 id가 모두 들어 있습니다. 바꿀 곳은 강조된 두 줄뿐이고, 엔드포인트, 키, 요청 형식은 그대로입니다.
import asyncio, base64, json, websockets
URL = "wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1"
# URL = "wss://synthorai.io/v1/realtime?model=gpt-realtime-2.1-mini" # 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
# 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=gpt-realtime-2.1-mini", { // 이 줄의 주석을 해제하고, 윗줄을 주석 처리하세요
// 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=gpt-realtime-2.1-mini' <<'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=gpt-realtime-2.1-mini", 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=gpt-realtime-2.1-mini"), 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);자주 묻는 질문
GPT Realtime 2.1 vs GPT Realtime 2.1 Mini, 어느 쪽이 더 저렴한가요?
오디오 입력 / 1M 토큰 기준으로는 GPT Realtime 2.1 Mini 쪽이 더 저렴합니다($10 대 $32, 3.2배 차이). 다른 항목에서는 반대일 수 있습니다. 전체 요금은 위 표에 있으며, 실제 비용은 사용 패턴에 따라 달라집니다.
연동을 두 번 하지 않고도 GPT Realtime 2.1 vs GPT Realtime 2.1 Mini A/B 테스트를 할 수 있나요?
네. 두 모델 모두 API 키 하나로 같은 OpenAI 호환 엔드포인트에서 호출합니다. 모델 문자열 한 줄만 바꾸면 전환되므로, 트래픽 일부를 각 모델로 보내 청구 금액을 직접 비교할 수 있습니다.
GPT Realtime 2.1, GPT Realtime 2.1 Mini 모두 프롬프트 캐싱을 지원하나요?
네. 두 모델 모두 캐시 읽기를 입력 요금보다 낮게 과금하므로, 같은 접두사를 반복해 쓰는 워크로드는 정가로 계산한 것보다 비용이 적게 듭니다. 정확한 캐시 읽기 요금은 위 가격표에 있습니다.