TTS-1 until 2027-01-05

openai/tts-1

Sign up to try it

Overview

Speech Low cost

OpenAI's text-to-speech model optimised for speed, for real-time use.

Made by OpenAI · released Nov 2023

Input

Text

Output

Audio
Max characters per request
4.096 characters
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

OpenAI

primary until 2027-01-05
Text to speech
Rp277.500per million characters$15

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

OpenAI OpenAI, Your data

Used to train models
No
Retention
Up to 30 days for abuse monitoring, unless the law requires longer.
Processing location
Not stated; storing data in a chosen region is a separate opt-in.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/audio/speech \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "openai/tts-1", "input": "halo", "voice": "alloy"}' \
  --output halo.mp3