Skip to content

docs(openai): gpt-realtime-2.1 and GA llmOptions - #28

Merged
davehorton merged 1 commit into
mainfrom
feat/gpt-realtime-2.1
Nov 20, 2026
Merged

davehorton merged 1 commit into
mainfrom
feat/gpt-realtime-2.1

Conversation

@xquanluu

@xquanluu xquanluu commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

What

  • examples/openai-realtime: gpt-realtime-2.1 (was the shut-down gpt-4o-realtime-preview-2024-12-17), llmOptions in the GA shape, transcript event response.output_audio_transcript.done.
  • voice-ai-guide.md: same model; snippets used llmOptions.messages, which the openai vendor does not take.

Why

OpenAI shuts down gpt-realtime, gpt-realtime-mini and gpt-4o(-mini)-realtime on 2027-01-20 and names gpt-realtime-2.1 / gpt-realtime-2.1-mini as replacements (deprecations). whisper-1 and gpt-4o-*-transcribe follow on 2027-02-26. OpenAI also rejects the beta llmOptions shape the example used.

Test report

  • The example's llmOptions, sent raw to OpenAI: session accepted, spoken greeting, 0 errors.
  • Example typechecks against the SDK source.

Tested on hoan.jambonz.io

Real calls on hoan: each example app run locally behind a tunnel as a jambonz application (OpenAI key in the app env vars), called through hoan; the caller asks "What is the weather in Chicago right now?" and the recording is transcribed. 4/4 pass:

  • create-jambonz-ws-app (generated -s openai-realtime): "let me check the latest conditions for chicago ... about fifty six degrees fahrenheit" (live open-meteo data via the tool)
  • openai-s2s-example: same, tool called
  • node-sdk example: same, tool called
  • v10-examples (no tools): answers, but its preamble says "let me quickly check" before saying it cannot see live weather

Related PRs

🤖 Generated with Claude Code

- example and voice-ai-guide move off the shut-down gpt-4o-realtime-preview models to gpt-realtime-2.1
- llmOptions in the GA shape (session_update.type realtime, audio.input/output); the beta shape is rejected by OpenAI
- guide snippets used llmOptions.messages, which the openai vendor does not take

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davehorton
davehorton merged commit ff2163c into main Nov 20, 2026
1 check passed
@davehorton
davehorton deleted the feat/gpt-realtime-2.1 branch November 20, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants