kyutai-labs/pocket-tts

A TTS that fits in your CPU (and pocket)

What it solves

Pocket TTS is a text-to-speech (TTS) system that generates spoken audio from written text. Its main goal is to remove the need for powerful hardware (GPUs) or web APIs. Traditional TTS often requires a GPU or an internet connection, but Pocket TTS runs entirely on a regular CPU, so you can generate speech on your own computer without special equipment or sending data elsewhere.

How it works

Pocket TTS is a small neural network model (around 100 million parameters for the standard English model, with even smaller variants down to 1.9 million). It works by taking text input and producing audio in streaming chunks. The system loads a voice embedding — either from a pre-made voice or from a sample audio file you provide (voice cloning) — and then generates speech that mimics that voice. The model is light enough to run quickly on a CPU: it starts producing sound in about 200 milliseconds and generates speech more than six times faster than real time on a modern laptop (like a MacBook Air M4). It uses only two CPU cores and can handle very long texts.

You can use it in three main ways:

  • A command-line tool that generates a WAV file instantly.
  • A local web server (using the serve command) so you can test different voices and texts quickly through a browser interface.
  • A Python library — just import TTSModel, load it, give it a voice (pre-made or your own audio), and call generate_audio() to get an audio tensor.

The system also supports multiple languages (English, French, German, Portuguese, Italian, Spanish, Dutch) and can run in a browser via community implementations (like WebAssembly). For advanced users, there is a Rust port that works as a standalone binary without Python, and community-trained models can be plugged in by pointing to their config files.

Who it’s for

Pocket TTS is for developers, hobbyists, and anyone who wants to add speech synthesis to their projects without dealing with GPUs or cloud services. It’s especially useful for offline applications, embedded systems, or anyone who prefers simplicity — you just install a Python package (or run a binary) and call a function or a command to get speech. It’s also great for researchers experimenting with TTS because it’s compact and easy to modify.

Highlights

  • Runs fully on CPU — no GPU required, and works without internet.
  • Very low latency: about 200 ms to first audio chunk.
  • Faster than real-time generation (over 6× real-time on a MacBook Air M4).
  • Supports voice cloning: give it any WAV file and it will mimic that voice.
  • Multi-language: English, French, German, Portuguese, Italian, Spanish, Dutch.
  • Can produce unlimited-length audio streams without issues.
  • Provides a Python API, CLI, and a local web server.
  • Offers standalone binaries (no Python needed) for Linux, macOS, and Windows.
  • Huge model size range: from 100M down to 1.9M parameters.
  • Community implementations are available for running in browsers (WebAssembly) and other frameworks.

Related

  • Project
  • Project
  • Project
  • Project
  • Project