LiteLLMModels

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.

By GoogleModel ID gemini-3.1-flash-live-previewPrices updated Checked
Scheduled for deprecation: Google AI Studio lists November 17, 2026 as the deprecation date for gemini-3.1-flash-live-preview.
Per minute
$0.005
Input
$0.75 / 1M tokens
Output
$4.50 / 1M tokens
Context window
131,072 tokens
Max output
65,536 tokens
Providers
1
Added to LiteLLM
April 2026

Gemini 3.1 Flash Live Preview pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMPer minuteInputOutputContext
Google AI Studiogemini-3.1-flash-live-preview$0.005$0.75$4.50128K
Google AI Studiogemini/gemini-3.1-flash-live-preview$0.005$0.75$4.50128K

Other Gemini 3.1 Flash Live Preview prices on Google AI Studio

Audio input$3.00 per 1M tokens
Audio output$12.00 per 1M tokens

What Gemini 3.1 Flash Live Preview costs in practice

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

Gemini 3.1 Flash Live Preview features

Input: text, image, audio, video. Output: text, audio.

Use Gemini 3.1 Flash Live Preview with LiteLLM

Call Gemini 3.1 Flash Live Preview through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/realtime. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="gemini-3.1-flash-live-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gemini-3.1-flash-live-preview
    litellm_params:
      model: gemini-3.1-flash-live-preview
      api_key: os.environ/GEMINI_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "gemini-3.1-flash-live-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Gemini 3.1 Flash Live Preview 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.

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:

LiteLLM docs: Google AI Studio.

Provider pages: Google AI Studio.