veo-2.0-generate-001 to veo-3.1-generate-001
Some values not published Checked 2026-10-23.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| Input | Not published | Not published | Not published |
| Output | Not published | Not published | Not published |
| Cached input | Not published | Not published | Not published |
| Example monthly cost | Not published | Not published | Example only |
Context and max output
| Limit | Old | New | Change |
|---|---|---|---|
| Context window | Not published | Not published | Not published |
| Max output | Not published | Not published | Not published |
Capabilities that differ
No differing capability values are published for both models.
API changes
- The Veo guide shows client.models.generate_videos and POST https://generativelanguage.googleapis.com/v1beta/models/{model}:predictLongRunning. The sample uses that call and only swaps the model id. These two records are Vertex ids. The guide is the Gemini API page, so the curl host is generativelanguage.googleapis.com. Source
Code
python before
from google import genai
client = genai.Client()
operation = client.models.generate_videos(
model="veo-2.0-generate-001",
prompt="A close up of two people staring at a cryptic drawing on a wall, torchlight flickering.",
)
python after
from google import genai
client = genai.Client()
operation = client.models.generate_videos(
model="veo-3.1-generate-001",
prompt="A close up of two people staring at a cryptic drawing on a wall, torchlight flickering.",
)
typescript before
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
let operation = await ai.models.generateVideos({
model: "veo-2.0-generate-001",
prompt: "A close up of two people staring at a cryptic drawing on a wall, torchlight flickering.",
});
typescript after
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
let operation = await ai.models.generateVideos({
model: "veo-3.1-generate-001",
prompt: "A close up of two people staring at a cryptic drawing on a wall, torchlight flickering.",
});
curl before
curl -s "https://generativelanguage.googleapis.com/v1beta/models/veo-2.0-generate-001:predictLongRunning" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{"instances":[{"prompt":"A close up of two people staring at a cryptic drawing on a wall, torchlight flickering."}]}'
curl after
curl -s "https://generativelanguage.googleapis.com/v1beta/models/veo-3.1-generate-001:predictLongRunning" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{"instances":[{"prompt":"A close up of two people staring at a cryptic drawing on a wall, torchlight flickering."}]}'
Checklist
- Read the shutdown date for veo-2.0-generate-001 on the linked official page.
- Point your requests at veo-3.1-generate-001.
- Re-check price, context, and parameters on the provider pages linked here.
- Ship the change before the published shutdown date.