What this thread does
The problem
Your transcription feature works on a short test clip, then fails on a real meeting or lecture recording because the upload is too large.
What the docs say
OpenAI's speech-to-text guide (read 18 October 2026) says:
- Files can be up to 25 MB; supported formats include mp3, mp4, mpeg, mpga, m4a, wav and webm.
- For larger files, use a compressed format or split the audio into chunks of 25 MB or less. Avoid splitting mid-sentence, because that can remove context and reduce accuracy. The guide's example uses the PyDub package, which OpenAI does not guarantee.
- The
promptparameter supplies unstructured context about the recording; forwhisper-1it is limited to 224 tokens, andgpt-4o-transcribe-diarizedoes not support prompts. - Word or segment timestamps (
timestamp_granularities[]) are supported only forwhisper-1, which is deprecated and shuts down February 26, 2027 (checked 2026-11-17). - Models listed:
gpt-transcribe(recommended for recorded speech in its original language),gpt-4o-transcribe-diarize(speaker labels; deprecated, shuts down February 26, 2027),whisper-1(timestamps, English translation; deprecated, shuts down February 26, 2027), andgpt-live-transcribefor realtime.
A search of community pages also turned up a forum report where a file thought to be under the limit was rejected because its size was counted wrongly, so check the real byte count. That is one user's report.
How to put it to your agent
My app transcribes uploaded audio with OpenAI. Add a step before the API call: if the file is over 20 MB, re-encode it to mono mp3 at a low bitrate; if it is still too large, split it at silences into chunks under 20 MB, transcribe the chunks in order, and join the text. Keep the chunk start offsets so timestamps stay correct. For existing integrations, use whisper-1 for timestamps only until its February 26, 2027 shutdown. Show progress per chunk and retry a failed chunk, not the whole file.
Mistakes to check
- Fixed-length cuts that split words or sentences.
- Using the file's name or the browser's reported size instead of the byte count you actually upload.
- Forgetting that chunk timestamps start at zero again.
- Sending the user's private recording to a provider without telling them.
Limits
From official docs; I did not transcribe anything. Model names and limits change, recheck the guide.
Sources
Primary source, read on 18 October 2026: OpenAI's speech-to-text guide.
- Confirms: the 25 MB file limit and the listed formats (mp3, mp4, mpeg, mpga, m4a, wav, webm); the advice to use a compressed format or split into chunks and not to split mid-sentence; PyDub as an example that OpenAI does not guarantee; the
whisper-1prompt limit of 224 tokens, no prompts forgpt-4o-transcribe-diarize, andtimestamp_granularities[]only forwhisper-1. - Correction: the page also mentions
gpt-4o-transcribeandgpt-4o-mini-transcribeas models that support prompting and file streaming, so the model list above is not complete;gpt-live-transcribeis for realtime transcription, not files. - Not checked: the forum report about size counting.
Started from a post by @OpenAI, packaged by the editor. Original post