Talking to Claude instead of typing: speech-to-text and text-to-speech at home
The best self-hosted options for dictating to an AI helper and hearing it answer, with licences, hardware fit and a short try-first plan.
Why I share this: I type a lot and wanted to talk instead. This is what the night worker found, cut down to the short answers.
How to read this
- Alfred’s night worker wrote the full report in October 2026. This page keeps the short answers. The private details of my home are removed.
- Speed figures come from the projects’ own pages and blogs. Treat them as rough.
- This is research, not a test. I had not run these tools when it was written.
Short answer
- Try Claude Code’s built-in
/voicefirst. It takes 5 minutes and needs no install. It is not self-hosted: the audio goes to Anthropic for transcription. It needs a claude.ai login and a microphone on the machine you sit at, so it does not work over SSH. - For fully local speech-to-text, use whisper.cpp with Vulkan (MIT licence) behind a push-to-talk tool such as voxtype (AUR, made for Wayland). faster-whisper is popular, but its GPU mode only supports NVIDIA cards. whisper.cpp suits an AMD card. A “small” or “medium” Whisper model fits in 8 GB of video memory.
- For text-to-speech, use Kokoro through Kokoro-FastAPI (Apache 2.0). It is small (82M parameters) and runs on a plain CPU.
- Optional: Speaches (MIT) puts Whisper and Kokoro/Piper behind one OpenAI-style web address. It runs on CPU or NVIDIA only.
What fits where
- Desktop with a mid-range AMD GPU: the best place. The microphone is there too.
- Older laptop (6-core CPU, 16 GB): a small Whisper model works on the CPU, but dictation lags.
- Small home server with no GPU: light work only. Kokoro or a “base” Whisper model, not a bigger one.
Speech-to-text
| Option | Licence | Good at | Catch |
|---|---|---|---|
| whisper.cpp | MIT | Runs anywhere. Vulkan and ROCm (AMD) support. Built-in web server. Models from tiny (about 273 MB RAM) to large (about 3.9 GB). | Build with GGML_VULKAN=1 or use the Vulkan Docker image. |
| faster-whisper | MIT | Fast. Up to 4x the original Whisper (their claim). | GPU mode needs NVIDIA (CUDA). On AMD it uses the CPU. |
| Parakeet TDT 0.6B v3 | CC-BY-4.0 | Very accurate and fast for English and 24 other European languages. | Tuned for NVIDIA. CPU and AMD routes are less mature. |
| Speaches | MIT | One server for listening and speaking. OpenAI-compatible API. | No AMD GPU option. |
Claude Code /voice |
Anthropic service | Zero setup. Works in the prompt. | Not local. |
Whisper knows 99+ languages and copes with accents. Parakeet wins some English tests. Sources disagree on exact error rates, so do not choose on those numbers.
Dictation front ends record while you hold a key and type the result:
- voxtype: push-to-talk, built on whisper.cpp, local and offline. Its docs name Hyprland, Sway and River. Check it on KDE Plasma (Wayland) before you rely on it.
- Speech Note: a KDE/Qt app, reportedly a good fit for Plasma.
- nerd-dictation (Vosk, lower accuracy), whisrs and Vocalinux also exist. The worker could not confirm how well they work.
Text-to-speech
| Option | Licence | Good at | Catch |
|---|---|---|---|
| Kokoro-82M | Apache 2.0 | Good voices for its size. Runs on CPU. OpenAI-style /v1/audio/speech address. Docker images for CPU, NVIDIA and an experimental AMD one. |
No voice cloning. On an older CPU the first audio can take about 3.5 s. |
| Piper | GPL-3.0 | Very light, fast even on a Raspberry Pi. Used by Home Assistant voice. | More robotic. The Open Home Foundation is looking for new maintainers. |
| Chatterbox | MIT | Clones a voice from about 10 s of audio. | Heavier. Wants a real GPU. |
| Fish Audio S2 Pro | Non-commercial | Good quality. | The licence restricts commercial use. |
Leaderboard scores shift often and the top models are close. Choose on licence and hardware fit, not rank.
Next steps the worker suggested
- Run
/voicefor a day or two (Claude Code v2.1.69 or newer; hold mode is the default, tap mode needs v2.1.116). If it is good enough, stop. - For local-only: take a snapshot, install voxtype and whisper.cpp with Vulkan. Start with the
smallmodel, trymediumif accuracy is not enough. - For talking back:
docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu(pin a release tag, not:latest), then a small script that speaks the replies. - Later, one tidy server: Speaches in Docker.
- If an NVIDIA card turns up, look again at faster-whisper and Parakeet.
Open questions
- Is sending audio to Anthropic acceptable? That decides whether
/voiceis enough. - Do you want this on one machine or several? A phone needs a different approach, such as its own voice typing.
More reading
- Claude Code voice dictation docs (French page; the worker could not load the English one)
- Offline speech-to-text 2026 (diyai.io)
- Parakeet vs Whisper vs Nemotron (openwhispr)
- Best open source self-hosted TTS 2026 (pinggy)
- voxtype docs