# Kokoro-FastAPI 0.10: OpenAI Realtime TTS on /v1/realtime

> News on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/kokoro-fastapi-0-10-openai-realtime-compatible-tts-websocket
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, Kokoro-FastAPI v0.10.0 adds an OpenAI Realtime compatible text-to-speech websocket on `/v1/realtime` (`response.create` text in, 24 kHz PCM out), plus ElevenLabs and Cartesia compatible websocket routes for voice agents. It is TTS only and uses the `ENABLE_WEBSOCKET_TTS` switch. Set `ENABLE_WEBSOCKET_TTS`

**Not for:** speech-to-text, audio input or conversation events (they return an error), or Kokoro-FastAPI before 0.10.0.

Subjects: audio-generation, local-models

Do first: enable the websocket TTS routes with `ENABLE_WEBSOCKET_TTS` and point your Realtime TTS client at `/v1/realtime` on the Kokoro-FastAPI server.

## Short answer
As of November 2026, the v0.10.0 release (2026-11-08) lists "add OpenAI Realtime compatible TTS on /v1/realtime, Speech endpoint fields on all websockets" (PR #584). The PR describes this route as intended for Realtime TTS clients such as `wyoming_openai`.

## What to do
| Item | Value |
|---|---|
| Route | `/v1/realtime` (OpenAI Realtime compatible) |
| Input | `response.create` with text |
| Output | 24 kHz PCM |
| Cancel | `response.cancel` stops a response |
| Not supported | audio input and conversation events get an error back |
| Voice | same name mapping as the Speech endpoint, as a string or `{"id": ...}` |
| Shared options on all three websocket routes | `voice_aliases`, `lang_code`, `volume_multiplier`, `normalization_options` |
| Switch and auth | same `ENABLE_WEBSOCKET_TTS` and `API_KEYS` as the ElevenLabs and Cartesia routes |

1. Set `ENABLE_WEBSOCKET_TTS`.
2. Point the client at `/v1/realtime`.
3. Pick a voice the same way as for the Speech endpoint.
4. The ElevenLabs route now checks the voice on the first context message instead of at connect; bad voices still close with code 1008.

## Limits and open questions
- TTS only; there is no speech recognition path.
- The notes do not give a latency figure.

Not for: speech-to-text, audio input or conversation events.

## Sources
- [Kokoro-FastAPI v0.10.0 release notes](https://github.com/remsky/Kokoro-FastAPI/releases/tag/v0.10.0), Kokoro-FastAPI maintainers, 2026-11-08: "feat(api): add OpenAI Realtime compatible TTS on /v1/realtime"
- [PR 584: OpenAI Realtime compatible TTS on /v1/realtime](https://github.com/remsky/Kokoro-FastAPI/pull/584), remsky, 2026-11-04: "`response.cancel` stops a response."

## Checked
2026-11-24; read the Kokoro-FastAPI v0.10.0 release page and PR 584; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.