Gemini 3.1 Flash TTS Preview
gemini-3.1-flash-tts-previewPricing
List prices at Google AI Studio, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $1.00 | $20.00 | |
| Batch 50% off | $0.50 | $10.00 | 50% off |
What it costs a month
At Google AI Studio list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$1,800
- RAG over documents2,000 requests a day, 8K in / 0.6K out$1,200
- Coding agent1,000 requests a day, 40K in / 2K out$2,400
- Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$3,600
Where to run it
2 hosts serve Gemini 3.1 Flash TTS Preview. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Google AI StudioLab API gemini-3.1-flash-tts-preview | $1.00 / $20.00 Retires 18 Dec 2026 | gemini-3.1-flash-tts-preview | Retires 18 Dec 2026 |
Vertex AICloud gemini-3.1-flash-tts-preview | $1.00 / $20.00 | gemini-3.1-flash-tts-preview |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Audio
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Google AI Studio.
Smaller Google models
- 54% less
- 67% less
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
No cheaper open-weight match.
Call it
Using Google AI Studio's API.
from google import genai
client = genai.Client() # reads GEMINI_API_KEY
response = client.models.generate_content(model="gemini-3.1-flash-tts-preview", contents="Hello")
print(response.text)curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-tts-preview:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"parts": [{"text": "Hello"}]}]}'from litellm import completion
response = completion(
model="gemini/gemini-3.1-flash-tts-preview",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Gemini 3.1 Flash TTS Preview cost?
On Google AI Studio, Gemini 3.1 Flash TTS Preview costs $1.00 per million input tokens and $20.00 per million output tokens.
Which APIs offer Gemini 3.1 Flash TTS Preview?
Gemini 3.1 Flash TTS Preview runs on 2 APIs: Google AI Studio and Vertex AI.
What is Gemini 3.1 Flash TTS Preview's context window?
8K tokens, with up to 16K tokens in one reply.
Is Gemini 3.1 Flash TTS Preview being retired?
Google AI Studio retires it on 18 Dec 2026. 1 host keeps serving it.
What are cheaper alternatives to Gemini 3.1 Flash TTS Preview?
Models that cost less and keep most of what it can do: Gemini 3.8 Flash TTS on Google AI Studio (54% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Gemini 3.1 Flash TTS Preview's API model id?
Use gemini-3.1-flash-tts-preview with Google AI Studio.
Sources
Raw catalog entry for gemini-3.1-flash-tts-preview on Google AI Studio
{
"deprecation_date": "2026-12-18",
"deprecation_source": "https://ai.google.dev/gemini-api/docs/deprecations",
"successor_model": "gemini/gemini-3.8-flash-tts",
"input_cost_per_token": 0.000001,
"input_cost_per_token_batches": 5e-7,
"litellm_provider": "gemini",
"max_input_tokens": 8192,
"max_output_tokens": 16384,
"mode": "audio_speech",
"output_cost_per_audio_token": 0.00002,
"output_cost_per_token": 0.00002,
"output_cost_per_token_batches": 0.00001,
"source": "https://ai.google.dev/gemini-api/docs/pricing",
"supported_endpoints": [
"/v1/audio/speech"
],
"tpm": 4000000,
"rpm": 10,
"supports_function_calling": false,
"supports_response_schema": false,
"supports_web_search": false
}