Transcription & Translation Usage
The AI Gateway supports both Transcription and Translation methods for STT models and follows the OpenAI signature where you can send the file (in flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm formats) as part of the API request.
Here’s an example:
OpenAI NodeJS
OpenAI Python
cURL
For Transcriptions:For Translations:
On completion, the request will get logged in the logs UI where you can see transcribed or translated text, along with the cost and latency incurred.Last modified on September 15, 2026