Gemini 3.8 Flash-Lite TTS
google/gemini-3.8-flash-lite-tts
Overview
Speech
Low cost
The lighter, cheaper Gemini 3.8 text-to-speech model, for high-volume narration and voice replies in over 100 languages.
Made by Google · released Sep 2026
Input
TextOutput
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.
100% succeeded
3,2 s to first byte
last 7 days · 25 attempts
- Input
- Rp9.250per million tokens$0.5
- Audio output
- Rp111.000per million tokens$6
Per-part units
- Base audio tokens per request
- 32 Measured live on generateContent, 7 voices, 13-497 characters, 2026-09-23
- Audio tokens per character
- 7 Measured live on generateContent, 7 voices, 13-497 characters, 2026-09-23
From 2027-01-01
- Input: Rp18.500 per million tokens
- Audio output: Rp222.000 per million tokens
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: trueare 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-3.8-flash-lite-tts", "input": "halo", "voice": "alloy"}' \
--output halo.mp3
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
with client.audio.speech.with_streaming_response.create(
model="google/gemini-3.8-flash-lite-tts", voice="alloy", input="halo"
) as response:
response.stream_to_file("halo.mp3")
import fs from "node:fs";
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const speech = await client.audio.speech.create({ model: "google/gemini-3.8-flash-lite-tts", voice: "alloy", input: "halo" });
fs.writeFileSync("halo.mp3", Buffer.from(await speech.arrayBuffer()));