Unidatum Speech
Our own speech, on CPU, in Deepgram's wire format.
Live speech to text with partials while you talk and a punctuated final about a second after you stop. Multilingual finals, text to speech, and the same WebSocket and HTTP shapes as Deepgram, so existing clients only change a base URL and a key.
An internal Unidatum service. It runs on our own machines on a private network, with a key per client, and has no public endpoint. This site documents it for the people and software that integrate it; contact Unidatum to use it inside a Unidatum product.
- Runs on ordinary CPUs: a desktop, a Mac mini, a compute instance
- No GPU, no cloud API, no per-minute fees
- Audio never leaves your machines; nothing is recorded
- Drop-in for PowerConduit and the Deepgram SDKs
An illustration with the measured medians: first partial 0.95 s after speech starts, final 0.75 s after it ends. The words are the repository's sample clip.
Measured on 2026-12-04
The numbers, not the adjectives
All on clean read English (LibriSpeech test-clean), which is a ceiling; the service measured on an Intel Core i9-14900K using seven performance-core threads. Every figure below is reproducible from the data files in the repository.
Noisy, phone and accented audio are not measured yet. More on the performance page, including what was never measured.
How it works
Two models for one utterance
A streaming transducer (NVIDIA's FastConformer, 80 ms chunks, through sherpa-onnx) listens to every frame and emits cheap, lower-case partials as you speak. When a pause ends the utterance, the whole utterance goes once to a larger model, Parakeet-TDT 0.6B v3 for English or Whisper small for other languages, which returns the punctuated, capitalised final with word times.
Partials appear about 0.95 s after speech starts (the streaming model looks ahead). The English final arrives 0.75 s after the speaker stops, which includes the 0.3 s of silence that ends the utterance.
A Go front server handles the Deepgram-shaped WebSocket and HTTP routes, keys, the session limit, ordered output and a one-day retention store; Python workers hold the models, one process per core, pinned and at low priority so other jobs on the machine win.
Performance
Fast enough for conversation, on a few cores
Eight English streams run at once on seven pinned threads with a median final lag of 0.86 s; six with Whisper small for other languages. A Mac mini M4 carries four streams on under one core. All the charts: accuracy against speed for ten models, CPU per stream, memory, text to speech, the two machines.
Why CPU
Why no GPU
The rule: stay on CPU until a model needs a GPU for quality. The reasons, the honest limits and the numbers behind them are in the repository's docs/WHY-CPU.md; this is the short form.
The models are small enough
The streaming FastConformer runs one stream at a real-time factor of 0.25 on a single thread. Parakeet-TDT 0.6B decodes a 6.7 s utterance in 0.81 s on two threads, Whisper small in 1.26 s. Kokoro synthesises faster than it plays on one core. None of this needs a graphics card; it needs a few performance cores and about 5.0 GB of memory.
Small spiky streams do not fill a GPU
One live stream costs 0.59 CPU-seconds per audio second: far too little to fill a GPU, which earns its price by batching many requests at once. A few internal streams with idle hours leave a GPU idle and still billed. A CPU that is busy 0.6 cores per stream scales down to a small instance or a machine already owned.
Price
A 4-vCPU GPU instance costs 2.9 to 5.6 times a 4-vCPU CPU instance per hour ($0.526 to $1.006 against $0.1785, third-party listings against AWS's list). It only matches the CPU's cost per channel-hour if it keeps roughly 4 to 8 full live channels busy. The cost page has the whole model.
Same accuracy, same weights
The accuracy gap between our CPU and GPU runs is about one word in 700: Whisper small 3.19% word error on CPU (int8) against 3.32% on an RTX 4080, distil-large-v3 2.66% against 2.79%, the same 40 clips. What differs is which models are practical: Whisper large-v3-turbo (1.46% on the GPU) was not run on CPU. For English, Parakeet v3 on CPU already reaches 2.6%.
Operations, isolation, supply
No drivers, CUDA or cuDNN versions to match; CPU wheels only; the same package runs on the desktop, a Mac mini, EC2 or a container. A crashed worker restarts alone, where a GPU shared by every stream is one failure and contention domain. AWS GPU quotas start at zero, Cloudflare Containers have no GPU, and the desktops' GPUs belong to other jobs. Verified unused: no process of the service appeared on the GPU in any of 20 nvidia-smi samples.
Where a GPU is better
Whisper-class models under load: at eight streams Whisper small's median final lag was 1.18 s on the GPU against 10.9 s on eight CPU cores in the prototype; the service sidesteps that for English with Parakeet (0.87 s at eight streams). And the most expressive text-to-speech models are not real time on a CPU core (Qwen3-TTS at RTF 3.5, Chatterbox at 8): that is the real gap, and the reason phase 2 plans an emotive tier that is pre-rendered or runs on a bigger host.
What people can perceive
The typical gap between turns in conversation is about 200 ms (Stivers et al., PNAS 2009, ten languages); the ITU's planning limit for one-way delay in conversation is 400 ms. None of our speech-to-text numbers reaches that, and a GPU would not get there either: the final includes the 300 to 350 ms pause that decides the person has finished, which no hardware removes, and the decode on top is 0.4 to 0.8 s on CPU. So the product is designed around the delay: SpeechStarted at 0.14 s and first words at 0.65 s give a first reaction in about half a second, the voice pauses the moment someone talks over it, and the turn logic covers the rest.
Text to speech has a different threshold: it only needs to stay ahead of playback (real-time factor below 1; we are at 0.28 to 0.76) with a fast first chunk. Beyond that, extra speed buys nothing and what people hear is voice quality. That is why TTS is where extra compute would buy something, and why a faster Kokoro is worth nothing but a more natural voice may be.
Rule of thumb
- Stay on CPU for every model that meets quality needs at a real-time factor under about 0.6 per stream: Parakeet, the streaming FastConformer, Whisper small, Kokoro, Piper.
- Add a GPU only when a model needs one for quality: a very large Whisper, or an expressive TTS. Then keep it saturated, or the price is wasted.
- Check the break-even first: a 4-vCPU GPU instance must keep about 4 to 8 full channels busy to match the CPU's cost per channel-hour.
- Prefer pre-rendering emotive phrases once over running an expressive model live.
Not measured: how many of our streams a cloud GPU carries, GPU latency under batching, the cost of a GPU on our own hardware, and human perception of our specific delays (the thresholds are from published studies, not from a test of our users).
Interruptions
Barge-in: the signals a voice assistant needs to give way
When a person talks over the assistant, the voice should pause at once, without mistaking its own echo for the person, and without losing its place if the person only coughed. PowerConduit does this today with this service as its hearing engine, in two steps: sound first, then words.
- Sound pauses. The app compares its microphone with what it is playing; a voice clearly above the echo for a fraction of a second pauses playback. That detector is the client's, and it only sees level.
- The service says it is a person, and what they said.
SpeechStarted(withvad_events=true) arrives 0.14 s after the first sound (median, p90 0.38 s); the first words, a lower-case partial, 0.65 s after (p90 0.86 s). Words confirm the pause or cut in by themselves, and the voice's own words are dropped as echo. - Stop the speech: on the text-to-speech WebSocket,
{"type":"Clear"}drops the audio not yet sent and answersCleared; the client empties its playback buffer. - Pause, then decide. The punctuated final arrives 1.02 s after the speech ends (p90 1.34 s, with 350 ms of endpointing). A real turn drops the old speech and goes to the assistant; "um", a cough or "sorry" and the voice goes on where it was, 3 s after the person is quiet. "Stop", "cancel", "never mind" cut at once.
In one day's live use PowerConduit logged 23 pauses by sound, 1 cut-in by words and 3 resumes after a false alarm. What the service does not do: echo cancelling, knowing what the voice is saying, or pausing the voice; those stay in the client. The recipe for your own client is in the repository's interruptions note.
By sound alone the app needs the person roughly 9 to 12 dB above the echo for a reliable pause on a room speaker; softer speech is caught by the words. With a headset the echo is far lower and the detector is both faster and more certain. The rig leaves out the phone's own echo canceller, Bluetooth output delay and real rooms; none of this is a controlled study of real rooms. Measured scripts and data: service/tests/bargesim/, service/tests/speechstarted_bench.py, docs/data/interruptions/.
Costs
No per-minute fee. The cost is cores you already own, or rent.
One live English channel costs 0.59 CPU-seconds per audio second on an i9 performance core. On the machines we already own that is power only: about $6.57 a month for eight channels on half a desktop, $1.31 for four on a Mac mini. Deepgram's published pay-as-you-go price for Nova-3 streaming is $0.0048 a minute ($0.288 an hour; read from its pricing page on 2026-12-04, labelled promo pricing there with no end date shown).
Renting on AWS is a different story: two instances and a load balancer have a floor of several hundred dollars a month, so self-hosting there only beats Deepgram above roughly 200,000 minutes a month, or when the fleet is busy at least a quarter of the time. Text to speech is where self-hosting wins earliest: 4 to 6 times cheaper than Aura-2 at 30% occupancy.
The full cost model, with every price, its source and its status: our own runs are measured, vendor list prices read on 2026-12-04 are verified, third-party or derived figures are estimates, and our own choices are assumptions. The AWS channel counts are projections; nothing has run on EC2.
Integrate
A base URL and a key. That is the migration.
The paths, query parameters and message shapes are Deepgram's: /v1/listen over WebSocket or POST, /v1/speak, /v1/projects. The official Deepgram SDKs work when pointed at the service. PowerConduit reads five fields on every result and all five are there. The examples use speech.example and YOUR_KEY as placeholders: the real address is on Unidatum's private network and keys are issued by Unidatum.
Ready-made, tested clients for Python, Node or the browser, Go and curl, an API reference, the PowerConduit settings, and a skill you can drop into a Claude Code project so coding agents know how to use the service.
# recorded audio in, Deepgram-shaped JSON out
curl -fsS -X POST "$UNIDATUM_SPEECH_URL/v1/listen?language=en&smart_format=true" \
-H "Authorization: Token $UNIDATUM_SPEECH_KEY" \
-H 'Content-Type: audio/wav' --data-binary @clip.wav
# text in, 24 kHz WAV out
curl -fsS -X POST "$UNIDATUM_SPEECH_URL/v1/speak?model=aura-2-thalia-en&encoding=linear16&sample_rate=24000&container=wav" \
-H "Authorization: Token $UNIDATUM_SPEECH_KEY" -H 'Content-Type: application/json' \
-d '{"text":"Hello from Unidatum Speech."}' -o hello.wav
Built, measured, running. Next: emotive speech.
Milestones 1 to 3 are merged and live on a desktop and a Mac mini. Phase 2 brings text to speech with emotion and style control. The roadmap says what is done, what is planned and what is only designed.