# 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.

- Page: https://models.litellm.ai/models/gemini-3.1-flash-tts-preview
- Lab: Google
- LiteLLM model name: `gemini/gemini-3.1-flash-tts-preview`
- Context window: 8,192 tokens
- Max output: 16,384 tokens
- Added to LiteLLM: August 15, 2026
- Deprecation date: November 17, 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Google AI Studio | `gemini/gemini-3.1-flash-tts-preview` | $1.00 | $20.00 | – | – | – | 8K |
| Google Vertex AI | `vertex_ai/gemini-3.1-flash-tts-preview` | $1.00 | $20.00 | – | – | – | – |

## Features

Supported: none listed.
Not supported: Function calling, Structured output, Web search.

## Use it with LiteLLM

```python
from litellm import speech

response = speech(
    model="gemini/gemini-3.1-flash-tts-preview",
    input="Hello from LiteLLM",
    voice="alloy",
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
