Skip to main content
Model APIs support audio input on audio-capable models. These models accept audio alongside text in the same request, using the audio_url content type, and process both modalities together: they can transcribe speech, answer questions about audio content, or reason over a recording and a text prompt at once.
To deploy dedicated models for batch or real-time transcription, or for speech generation, see Speech and audio.
Not all models support audio. Check the table below before sending audio inputs.

Supported models

Send an audio request

Use the audio_url content type to include audio in your messages. The request shape matches vision requests with audio_url in place of image_url. Each model has its own audio requirements: Baseten retrieves audio URLs from the inference service, so the URL must be reachable over HTTPS from Baseten’s environment (for example your own object storage or other hosts that allow server-side fetches). Prefer stable, direct HTTPS links. Base64 data: URLs also work, but they count toward the request-body limit, so pass audio by URL when you can. Send a recording alongside a text prompt like this:
audio.py

Pricing

There is no additional per-request fee for audio. Audio is converted to input tokens and priced at the model’s standard input rate. Longer recordings produce more tokens and cost more to process. See the Model APIs pricing page for per-model rates. The response reports how many input tokens came from audio in usage.prompt_tokens_details.audio_tokens.

Next steps

Vision

Send images and videos alongside text

Chat Completions reference

Full request and response schema for the audio_url content type