Skip to main content
Using a coding agent? Install the together-audio skill to let your agent write correct speech-to-text code automatically. See agent skills for details.
Together AI hosts speech recognition models including OpenAI’s Whisper and NVIDIA Parakeet for batch transcription and real-time streaming.
Read the end-to-end guide to build a live voice agent powered by Together AI’s real-time STT and TTS pipeline.

Quickstart

Basic transcription and translation:

Available models

The following speech-to-text models are available: See the serverless catalog and the dedicated model inference catalog for pricing and additional deployment options.

Limits

For payloads above 500 MB, host the file at a public HTTPS URL and pass that URL as the file field instead of a binary upload. The 500 MB edge cap only applies to direct uploads. See Errors and troubleshooting for the full list of error codes.

Audio transcription

Audio transcription is speech-to-text in the same language as the source audio.
The API supports the following audio formats:
  • .wav (audio/wav)
  • .mp3 (audio/mpeg)
  • .m4a (audio/mp4)
  • .webm (audio/webm)
  • .flac (audio/flac)
  • .ogg (audio/ogg)
  • .opus (audio/opus)
  • .aac (audio/aac)

Audio limits

The same limits apply to both /v1/audio/transcriptions and /v1/audio/translations:
  • Maximum duration: 4 hours. Longer audio is rejected with an audio_too_long error.
  • Binary uploads: Capped at 500 MB. Larger uploads return HTTP 413. Submit the audio via an HTTPS URL on the file field instead.
  • URL-fetched audio: Capped at 1 GB and 4 hours when you pass a public HTTPS URL as file.
For longer recordings, chunk the audio into ≤ 4 h segments and submit each chunk as a separate URL request. When sending a binary upload, put the model form field before the file field in the multipart body so the server can dispatch the request without buffering the full audio payload.

Input methods

Path object

Python

File-like object

Python

Remote URL

The Python SDK doesn’t accept a string URL on file=. To transcribe a remote file, download it first.

Language support

Specify the audio language using ISO 639-1 language codes:
Common language codes:
  • "en": English.
  • "es": Spanish.
  • "fr": French.
  • "de": German.
  • "ja": Japanese.
  • "zh": Chinese.
  • "auto": Auto-detect (default).

Custom prompts

Use prompts to improve transcription accuracy for specific contexts.
Prompts are supported only on Whisper-family models (for example, openai/whisper-large-v3). Other STT models (for example, nvidia/parakeet-tdt-0.6b-v3) accept the field for API compatibility but ignore it.

Next steps