opencheap.si
Credits

GPT-4o mini TTS

OpenAIVoicegpt-4o-mini-tts

Try it

OpenAI's text-to-speech model: natural voices you can steer with plain instructions such as "speak warmly and slowly". Same call as OpenAI's /audio/speech.

Examples

Made with GPT-4o mini TTS through OpenCheap's API, as they came back. Under each: what was asked, the settings and what the call cost.

What it said

“Hello! Your order is on its way and should arrive tomorrow before noon. Thank you for shopping with us.”

Coral

Cost $0.001394 · 7 s of audio

What it said

“Long ago, in a small village between two mountains, there lived a clockmaker who could fix anything except his own broken heart.”

Onyx

Cost $0.001674 · 8 s of audio

What it said

“Buenos días. Le recordamos que su cita con el dentista es mañana a las diez. Si necesita cambiarla, llámenos.”

Nova

Cost $0.001666 · 8 s of audio

Try GPT-4o mini TTS

About $0.0014

Runs on your account at this price, like an API call. Images, video and voice need a top-up first.

Your speech shows here.

What it makes

Speech from text.

  • Voices: alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse
  • File formats: mp3

Price

Per minute of audio

Each provider's price for each setting. A call goes to the cheapest one that can make it, and you pay that provider's price: the one in bold.

SettingAPIMart
Any$0.012

Billed by the length of the speech it makes, in steps of 48 milliseconds, plus $0.48 per million tokens of your text (a token is about 4 characters of English). For example, a 96-character sentence read in 5.4 seconds costs about $0.0011.

A call never costs more than the price shown, and costs less when the provider charges less. A call that fails is not charged. Media needs a top-up first: the free credit does not cover it.

Call GPT-4o mini TTS

Use your OpenCheap key and the model id gpt-4o-mini-tts at https://api.opencheap.si/v1. The OpenAI SDK works as it is. Read the guide.

curl
curl https://api.opencheap.si/v1/audio/speech \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini-tts",
    "voice": "alloy",
    "input": "Hello! Your order is on its way and should arrive tomorrow."
  }' \
  -o speech.mp3