tts-1 is retired by OpenAI on 6 January 2027

Open
#862 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
go, python
Domain
cli

Research direction

The reference to the retired model is in cmd/commandline/plugin/templates/python/tts.yaml, line 1, under the plugin templates in the Go command-line tool. Before editing, confirm with a maintainer whether the template should move to the Realtime API, since the issue says the replacement does not work through /v1/audio/speech. Done means the template no longer names tts-1 and the new setup has been checked with a few real prompts.

Written by the indexing model from the issue text.

Description

Hi! A heads-up in case it's useful:

OpenAI removes tts-1 from the API on 6 January 2027 (OpenAI deprecations page). After that date, calls to it fail.
tts-1 is used here: https://github.com/langgenius/dify-plugin-daemon/blob/main/cmd/commandline/plugin/templates/python/tts.yaml#L1
OpenAI's recommended replacement (as of 20 November 2026): tts-1 → gpt-realtime-2.1-mini. Current advice, kept up to date: https://aidriftline.com/models/tts-1/

Note: moving off it is more than a new model name. OpenAI calls this a change of API workflow: the replacement isn't a model for /v1/audio/speech and runs through the Realtime API. (guide: https://developers.openai.com/api/docs/guides/text-to-speech)

A new model can answer the same prompt differently (format, length, JSON), so it may be worth running a few real prompts on it before switching.

(I found this with a small scanner I built for these dates, in case you want to check the rest of the repo: npx -y @aidriftline/driftline .)

Dominant language
Go
Stars
462
Forks
326
Avg merge
22h 15m
Merged PRs (30d)
8

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from langgenius/dify-plugin-daemon

All issues in langgenius/dify-plugin-daemon

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.