Gemini 2.5 Flash TTS

google/gemini-2.5-flash-preview-tts

Sign up to try it

Overview

Speech

Google's earlier fast text-to-speech model with controllable, expressive voices. A preview release.

Made by Google

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.

Google

primary
Input
Rp9.250per million tokens$0.5
Audio output
Rp185.000per million tokens$10

Per-part units

Base audio tokens per request
32 Measured live on generateContent, 6 voices, 3-305 characters, 2026-09-23
Audio tokens per character
4 Measured live on generateContent, 6 voices, 3-305 characters, 2026-09-23

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

Google Gemini API Additional Terms

Used to train models
No Under the Gemini API terms for paid use.
Retention
Logged for a limited period, only to detect abuse and meet legal duties.
Processing location
Any country where Google has facilities.
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": "google/gemini-2.5-flash-preview-tts", "input": "halo", "voice": "alloy"}' \
  --output halo.mp3