HomeBlog → Which audio format to use for speech recognition

Which audio format to use for speech recognition

Published 2026-08-20 · 4 min read

Format looks like a trivial detail until a file hits the size limit or the bandwidth bill starts to surprise you. Accuracy barely depends on the container; upload time and cost depend on it a lot. Here is what to send and why.

What the service accepts

Every common container works: ogg, opus, mp3, wav, m4a, webm, flac. The size ceiling is 25 MB per file. Internally the audio is resampled to 16 kHz mono anyway, so quality above that threshold changes nothing in the output.

Which leads to a simple rule: do not pay in megabytes for data that will be discarded.

What an hour weighs

FormatOne hourNotes
wav 44.1 kHz stereoabout 600 MBuncompressed, will not fit the limit
mp3 128 kbpsabout 55 MBfamiliar, overkill for speech
mp3 64 kbps monoabout 28 MBacceptable, still heavy
opus 24 kbps monoabout 11 MBthe sweet spot for voice

Opus was designed for voice and stays intelligible at bitrates where mp3 falls apart. An hour of conversation fits in ten megabytes with room to spare.

One command to normalise anything

Whatever your telephony or recorder produced, this brings it to a sensible shape:

ffmpeg -i input.wav -vn -ac 1 -ar 16000 -c:a libopus -b:a 24k output.ogg

Flag by flag: vn drops the video track, ac 1 downmixes to mono, ar 16000 sets the sample rate the model expects, b:a 24k picks a bitrate that is plenty for speech.

Keep stereo in exactly one case: when the speakers are recorded to separate channels and you plan to transcribe them individually.

What not to do

Try it on your own recordings. Sign-up takes a minute, and the free minutes are enough to judge the quality.

Get a free API key

Frequently asked questions

Does the format affect accuracy?

Barely. A difference appears only at very low bitrates — below 16 kbps speech starts to fall apart. Opus at 24 kbps mono is indistinguishable from the original wav in the output.

What if my file is over 25 MB?

Compress to opus first; that is usually enough. If the recording is genuinely long, split it at pauses and merge the transcripts.

Do I have to convert before sending?

No, every common format is accepted. Converting saves bandwidth and upload time, and on long recordings it keeps you under the limit.

Is 8 kHz telephone audio good enough?

Yes, phone audio transcribes reliably. Do not upsample it — resampling adds no information to the recording.

Related reading