Speech to text
AssemblyAI Universal-2
AssemblyAI's broad-coverage model for recorded audio. It transcribes 99 languages, including the many that STT-3.7 does not cover, for less per minute.
WAV, FLAC, OGG, MP4/M4A, MP3 · Uploads up to 8 MiB
$0.0026Per minute
Price
- Per minute
- $0.0026
- Per hour
- $0.16
Includes the MiniRouter fee. Tokens are not charged.
Estimate your cost
Priced per second of audio.
Uploads up to 8 MiB.
Estimated cost
Includes the MiniRouter fee. Credit is held on an upper bound of the upload’s duration and released on settlement.
Estimate only; nothing is sent. Your charge settles to the provider’s reported cost plus the MiniRouter fee.
Use the Transcription API
Set MINIROUTER_KEY to your inference key and copy the example.
Use a recording named recording.mp3, up to 8 MiB.
curl --fail-with-body --retry 0 --max-time 120 \
https://api.minirouter.sh/v1/audio/transcriptions \
-H "Authorization: Bearer $MINIROUTER_KEY" \
-F 'file=@recording.mp3' \
-F 'model=assemblyai/universal-2' \
-F 'response_format=json'Keep the request ID and check Request logs for the settled cost. A failed or disconnected request may still incur a cost; these examples disable automatic retries.
How it works
- Endpoint
- POST /v1/audio/transcriptions
- Multipart file and model, or JSON with base64 audio and media_type.
- Accepted media
- wav, flac, ogg, mp4/m4a, mp3
- Up to 8 MiB and 3,600 s per upload.
- Response
- json, text, verbose_json
- verbose_json adds language, duration and segments.
- Billing
- Per second of audio
- Settles to the duration the provider reports.
Choose by language first.
Universal-2
- Languages
- 99
- English WER
- 6.1%
- FLEURS average
- 8.66%
STT-3.7
- Languages
- 32
- English WER
- 4.7%
- FLEURS average
- 5.65%
View chart data
| Measure | Universal-2 | STT-3.7 |
|---|---|---|
| Languages | 99 | 32 |
| English WER, mean | 6.1% | 4.7% |
| FLEURS error rate, average | 8.66% | 5.65% |
Held by duration, settled by usage.
- [ 01 ]
Duration from the file
The hold is the file's duration, rounded up to a second, times the per-second rate. Unreadable or WebM audio is rejected before any hold.
- [ 02 ]
Settled to reported duration
The charge follows the duration AssemblyAI reports, plus the MiniRouter fee. Anything left on the hold is released.