I Ran Whisper "tiny" on a CPU-only Container. 71 Seconds of Audio Cost $0.002, and It Made Two Mistakes
Every few weeks someone asks whether you really need a GPU (or an API key) to transcribe audio. So I stopped guessing and ran the smallest Whisper model, tiny, through whisper.cpp on a plain CPU container and looked at e
Every few weeks someone asks whether you really need a GPU (or an API key) to transcribe
audio. So I stopped guessing and ran the smallest Whisper model, tiny, through whisper.cpp
on a plain CPU container and looked at every line it produced.
The setup
-
Engine: whisper.cpp v1.7.5, model
ggml-tiny.bin(the smallest multilingual one, ~75 MB) - Box: a 2 GB container, CPU only, no GPU
- Input: two public test clips: JFK's "ask not" line (11 s) and the first minute of a TED talk (60 s)
- Output: one row per 30-second segment, with start/end seconds and the detected language
The numbers
| clip | length | segments | detected language |
|---|---|---|---|
jfk.wav |
11 s | 1 | en |
ted_60.wav |
60 s | 2 | en |
Whole run, both files: 19.1 seconds wall clock, $0.0022 of compute. That includes
downloading the files and converting them to 16 kHz WAV.
What it got right
JFK came out perfect:
And so, my fellow Americans, ask not what your country can do for you, ask what you can do
for your country.
Punctuation included. For clean, single-speaker audio, tiny is genuinely enough.
Where it slipped
The TED clip (a fast talker, a laughing audience) is where tiny shows its size. Two lines
from the transcript, verbatim:
Now, when a normal student writes a paper, they might spread the work out of the like this.
β¦everything gets done, things taste civil.
My reading of the audio: the first should be roughly "spread the work out a little like this",
the second "things stay civil". Both are the classic small-model failure: the words sound
right and the sentence is wrong. Nothing in the output flags them, so if your transcript feeds
a search index you will find the hits; if it feeds a summary, you may not notice.
Everything else in the 60 seconds was usable as-is, including "90-page senior thesis".
So when is tiny-on-CPU enough?
My rule of thumb after this:
- Good enough: podcasts and interviews you want to search, meeting notes you will skim, subtitles you will proofread anyway.
-
Not enough: quotes you will publish, legal or medical text, heavy accents, crosstalk.
Go up to
base/small, or a GPU, for those.
The cost side is what surprised me. At these speeds a CPU box transcribes faster than real
time, and the compute is a rounding error next to any per-minute API price.
If you want to try it without setting anything up
I packaged exactly this setup as an Apify Actor: give it file URLs, get one row per 30-second
segment back. It's pay-per-result, $0.003 per 30-second segment with speech (about $0.006 per
minute of audio): Audio Transcription β Speech to Text from File URLs.
The cheatsheet with the local whisper.cpp commands is on GitHub:
noble-ronin/whisper-cpu-transcription.
Your turn
Where do you draw the line between tiny and a bigger model? Have you found an audio type
where tiny falls apart completely (music in the background, phone calls, non-English)? I'd
like to test the worst case next.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.