LiteLLMModels

Veo 3.1 Generate Preview API Pricing

As of October 10, 2026, Veo 3.1 Generate Preview costs $0.40 per second of video on Google AI Studio. It has a 1,024-token context window.

By GoogleModel ID gemini/veo-3.1-generate-previewPrices updated Checked
Scheduled for deprecation: Google AI Studio lists October 22, 2026 as the deprecation date for gemini/veo-3.1-generate-preview.
Per second
$0.40
Context window
1,024 tokens
Providers
2
Added to LiteLLM
November 2025

Veo 3.1 Generate 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.

ProviderModel name in LiteLLMPer secondContext
Google AI Studiogemini/veo-3.1-generate-preview$0.401K
Google Vertex AIvertex_ai/veo-3.1-generate-preview$0.401K

What Veo 3.1 Generate Preview costs in practice

100 clips of 8 seconds each

Google AI Studio$320.00
Google Vertex AI$320.00

Veo 3.1 Generate Preview features

Input: text. Output: video.

Use Veo 3.1 Generate Preview with LiteLLM

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

Python SDK
from litellm import completion

response = completion(
    model="gemini/veo-3.1-generate-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: veo-3.1-generate-preview
    litellm_params:
      model: gemini/veo-3.1-generate-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": "veo-3.1-generate-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Veo 3.1 Generate Preview FAQ

How much does Veo 3.1 Generate Preview cost?

Veo 3.1 Generate Preview costs $0.40 per second of video on Google AI Studio.

What is the context window of Veo 3.1 Generate Preview?

Veo 3.1 Generate Preview has a 1,024-token context window.

Which providers offer Veo 3.1 Generate Preview?

Veo 3.1 Generate Preview is available from 2 providers through LiteLLM: Google AI Studio and Google Vertex AI.

How do I call Veo 3.1 Generate Preview with an OpenAI-compatible API?

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

When did LiteLLM add Veo 3.1 Generate Preview?

Veo 3.1 Generate Preview was added to LiteLLM's model price file in November 2025.

Is Veo 3.1 Generate Preview being deprecated?

Google AI Studio lists a deprecation date of October 22, 2026 for gemini/veo-3.1-generate-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, Google Vertex AI.

Provider pages: Google AI Studio, Google Vertex AI.