Blog
Skip to main content

Day 0 support: Gemini 3.8 Flash TTS and Flash-Lite TTS

Misbah Syed
DevRel Engineer, LiteLLM
Mateo Wang
AI Engineer, LiteLLM
Kerry Lu
Software Engineer, LiteLLM

LiteLLM x Gemini 3.8 Flash TTS and Flash-Lite TTS

LiteLLM supports gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts on day 0 through /v1/audio/speech, on Google AI Studio (gemini/). Both are generally available and replace the 3.1 Flash TTS preview.

Per Google, Flash TTS is built for creative work like games, audiobooks and podcasts, and Flash-Lite TTS is the cheaper tier for high-volume dubbing and voice agents. Both draw on more than 2,000 prebuilt voices, and Flash TTS covers 130 languages with automatic detection.

note

No Docker image upgrade needed. Both models route through LiteLLM's existing Gemini speech path, so any recent version works for inference. For cost tracking, hit the Reload Model Cost Map button in the Admin UI (or POST /reload/model_cost_map) to pull pricing from PR #42752, on v1.76.0 and above.

Launch pricing​

Both models launch at promotional pricing through December 31, 2026, and Google's standard pricing applies from January 1, 2027. LiteLLM tracks cost at the launch rate.

Flash TTS is $0.50 per 1M text input tokens and $9.00 per 1M audio output tokens, and Flash-Lite TTS is $0.50 and $6.00. Batch and Flex run at half these rates and Priority at 1.8x. For comparison, the 3.1 Flash TTS preview was $1.00 in and $20.00 out.

Quick Start​

import litellm

response = litellm.speech(
model="gemini/gemini-3.8-flash-tts",
input="Welcome back. Your order shipped this morning.",
voice="Kore",
)

response.stream_to_file("welcome.wav")

Notes​

Input is capped at 8,192 tokens per request and output at 16,384, so split long scripts such as audiobook chapters across calls. Pass a prebuilt voice by name in voice; see Google's speech generation guide for the list.

Feedback​

Running Gemini 3.8 TTS through LiteLLM and hitting something unexpected? Share it on GitHub discussion #42776.

🚅
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails — built for production.
Learn more →