# Gemini 3.1 Flash Live Preview API Pricing

As of October 10, 2026, Gemini 3.1 Flash Live Preview costs $0.75 per 1M input tokens and $4.50 per 1M output tokens on Google AI Studio. It has a 131,072-token context window and returns up to 65,536 tokens per response.

- Page: https://models.litellm.ai/models/gemini-3.1-flash-live-preview
- Lab: Google
- LiteLLM model name: `gemini-3.1-flash-live-preview`
- Context window: 131,072 tokens
- Max output: 65,536 tokens
- Added to LiteLLM: April 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-3.1-flash-live-preview` | $0.75 | $4.50 | – | – | – | 128K |
| Google AI Studio | `gemini/gemini-3.1-flash-live-preview` | $0.75 | $4.50 | – | – | – | 128K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Google AI Studio: $3.75

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Google AI Studio: $8.40

## Features

Supported: Function calling, Image input, Audio input, Audio output, Reasoning, Web search.
Not supported: Structured output.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="gemini-3.1-flash-live-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Gemini 3.1 Flash Live Preview cost?

Gemini 3.1 Flash Live Preview costs $0.75 per 1M input tokens and $4.50 per 1M output tokens on Google AI Studio.

### What is the context window of Gemini 3.1 Flash Live Preview?

Gemini 3.1 Flash Live Preview has a 131,072-token context window and returns up to 65,536 tokens per response.

### Which providers offer Gemini 3.1 Flash Live Preview?

Gemini 3.1 Flash Live Preview is available from Google AI Studio through LiteLLM, using the model name gemini-3.1-flash-live-preview.

### How do I call Gemini 3.1 Flash Live Preview with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="gemini-3.1-flash-live-preview", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/realtime from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Gemini 3.1 Flash Live Preview support?

Gemini 3.1 Flash Live Preview supports function calling, image input, audio input, audio output, reasoning and web search. It does not support structured output.

### When did LiteLLM add Gemini 3.1 Flash Live Preview?

Gemini 3.1 Flash Live Preview was added to LiteLLM's model price file in April 2026.

### Is Gemini 3.1 Flash Live Preview being deprecated?

Google AI Studio lists a deprecation date of November 17, 2026 for gemini-3.1-flash-live-preview.

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