Speech recognition
Transcribe audio files to text. OpenAI-compatible only — use /openai/v1/audio/transcriptions. Supports MP3, WAV, M4A, WebM, MP4. Minimum billing: 10 seconds per request.
POST /openai/v1/audio/transcriptions
Python
with open("audio.mp3", "rb") as audio_file: transcript = client.audio.transcriptions.create( model="whisper-large-v3", file=audio_file, language="en", # optional )print(transcript.text)Whisper v3 Turbo is 5× cheaper ($0.05/hr) and 228× real-time. Use whisper-large-v3-turbo for bulk transcription.