loudkit is a local text-to-speech tool that runs on your own hardware, developed by loudreader and licensed under Apache-2.0. It originally served the reading app LoudReader as its speech engine.
Key capabilities
loudkit provides 28 voices, covering 10 languages: English, Spanish, French, German, Italian, Polish, Portuguese, Dutch, Swedish, and Danish. English has 10 voices, and each of the other languages has 2. The voices come from recordings donated for speech technology, or from CC0, CC-BY corpora; VOICES.md records the source, license, and consent basis for each voice.
It supports voice cloning: using a 5-to-10-second single-speaker recording, it can generate a portable voice profile of about 150 KB. The recording must be content you own or are authorized to use. The default cloning method cuts the recording at pauses and pads the end with silence; lk.enroll(...) in Python and enroll in the various ports preserve the original recording, and if you want the effect of loudkit clone, you can pass end_in_silence=True to lk.enroll in Python.
On the model side, loudreader/loudr-1 is the default model, and loudreader/loudr-1-turbo is faster but sounds slightly less natural. Both can run on all backends and in the five SDKs, with the model selected via the string passed to load. The first run downloads the 747 MB model and 28 voices, after which it can run offline.
SDKs and usage
loudkit provides native SDKs for Python, Swift, Go, Rust, and TypeScript. Each port loads the model by name: the first call downloads and verifies the model, and subsequent calls run offline. The Swift version is based on CoreML and supports macOS 14 or iOS 17; the Go and Rust versions are based on ONNX Runtime and require libonnxruntime to be installed on the machine; the TypeScript version is based on ONNX Runtime and requires Node 20. All five implementations pass the same consistency test suite.
Python usage example: speak writes out.wav by default, --play plays with the system player, and -o hello.wav specifies the filename. Other English voices are used the same way, for example --voice kathleen or --voice henry. Unless --language is passed, a voice reads text in its own language. engine.voices() lists 28 names, all voices are in the two model downloads and can be loaded by name. synthesize splits long text into chunks and returns one waveform; engine.stream(...) generates the same audio chunk by chunk, so playback can start early.
Services and integrations
loudkit can keep one loaded engine across multiple requests, providing the following service modes:
- loudkit serve: an HTTP server, including loudkit's own routes, Server-Sent Events streaming on /v1/synthesize/stream, and an OpenAI-compatible /v1/audio/speech that returns complete utterances. Agents that use the OpenAI speech API (such as Hermes Agent and OpenClaw) can connect through configuration alone.
- loudkit serve --grpc: the same engine, behind a typed schema with backpressure.
- loudkit serve --mcp: a stdio-based MCP server for agent hosts (preview). There is also a Speech Dispatcher module for Linux screen readers (under integrations/) as well as a Docker image and compose configuration for the server.
Output and verification
By default, WAVs saved from Python and WAV replies returned by the server both carry an unsigned, machine-readable note explaining how the audio was generated, including the model, voice, seed, and backend, and containing a checksum of the audio. loudkit verify can read that note. The Go, Rust, JS, and Swift ports write plain PCM without the note. The note is not C2PA: there is no signature, and C2PA tools will not read it.
Limitations
loudkit is an inference toolkit and does not provide accounts, billing, multi-tenancy, model training, or emotion control. For public deployments, you must add identityverification, rate limiting, and TLS yourself. The maintainers will close issues and pull requests requesting help with undisclosed impersonation, bypassing voice authentication, or stripping the note from generated audio.
On evaluation, only English has been human-listened; the other nine languages have automated checks but no native-speaker review.
On performance, according to measurements of version 0.1.1 on 2026-09-06, under batch workloads the token generator on an RTX 3090 with loudr-1 reaches 16.7x aggregate throughput at batch size 1 and 57.3x at batch size 64; with loudr-1-turbo it is 42.0x to 155.0x. The highest measured result is 223.6x for turbo at batch size 64 on an A100 (85.3x for loudr-1). These numbers come from research/bench_batch.py, which replays recorded token sequences through the token generator; sampling, prefill, and rendering are not inside the timing loop, so these numbers are neither single-request latency nor end-to-end RTF. Full commands, hardware, and caveats are in Benchmarks.