Gemini 3.1 Flash TTS Preview API Pricing
As of October 10, 2026, Gemini 3.1 Flash TTS Preview costs $20.00 per 1M tokens on Google AI Studio. It has an 8,192-token context window and returns up to 16,384 tokens per response.
gemini/gemini-3.1-flash-tts-preview.- Input
- $1.00 / 1M tokens
- Output
- $20.00 / 1M tokens
- Context window
- 8,192 tokens
- Max output
- 16,384 tokens
- Providers
- 2
- Added to LiteLLM
- August 15, 2026
Gemini 3.1 Flash TTS Preview pricing by provider
2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|
| Google AI Studio | gemini/gemini-3.1-flash-tts-preview | $1.00 | $20.00 | $0.50 | $10.00 | 8K |
| Google Vertex AI | vertex_ai/gemini-3.1-flash-tts-preview | $1.00 | $20.00 | $0.50 | – | – |
Other Gemini 3.1 Flash TTS Preview prices on Google AI Studio
| Audio output | $20.00 per 1M tokens |
Gemini 3.1 Flash TTS Preview features
- Function calling
- Structured output
- Web search
Use Gemini 3.1 Flash TTS Preview with LiteLLM
Call Gemini 3.1 Flash TTS Preview through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/audio/speech. LiteLLM tracks the cost of every request at these prices.
from litellm import speech
response = speech(
model="gemini/gemini-3.1-flash-tts-preview",
input="Hello from LiteLLM",
voice="alloy",
)model_list:
- model_name: gemini-3.1-flash-tts-preview
litellm_params:
model: gemini/gemini-3.1-flash-tts-preview
api_key: os.environ/GEMINI_API_KEYcurl http://0.0.0.0:4000/v1/audio/speech \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemini-3.1-flash-tts-preview",
"input": "Hello from LiteLLM",
"voice": "alloy"
}'Gemini 3.1 Flash TTS Preview FAQ
How much does Gemini 3.1 Flash TTS Preview cost?
Gemini 3.1 Flash TTS Preview costs $20.00 per 1M tokens on Google AI Studio. Batch requests cost $0.50 per 1M input tokens and $10.00 per 1M output tokens.
What is the context window of Gemini 3.1 Flash TTS Preview?
Gemini 3.1 Flash TTS Preview has an 8,192-token context window and returns up to 16,384 tokens per response.
Which providers offer Gemini 3.1 Flash TTS Preview?
Gemini 3.1 Flash TTS Preview is available from 2 providers through LiteLLM: Google AI Studio and Google Vertex AI.
How do I call Gemini 3.1 Flash TTS Preview with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="gemini/gemini-3.1-flash-tts-preview", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/audio/speech from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Gemini 3.1 Flash TTS Preview support?
It does not support function calling, structured output and web search.
When did LiteLLM add Gemini 3.1 Flash TTS Preview?
Gemini 3.1 Flash TTS Preview was added to LiteLLM's model price file on August 15, 2026.
Is Gemini 3.1 Flash TTS Preview being deprecated?
Google AI Studio lists a deprecation date of November 17, 2026 for gemini/gemini-3.1-flash-tts-preview.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- ai.google.dev/gemini-api/docs/pricing
- cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
LiteLLM docs: Google AI Studio, Google Vertex AI.
Provider pages: Google AI Studio, Google Vertex AI.
