Veo 3.1 on Replicate API

Veo · Google DeepMind

Serverless

Last refreshed 2026-10-23. Next refresh: weekly.

Why use Veo 3.1 on Replicate API?

Replicate API offers Veo 3.1 with pay-as-you-go video pricing at $0.40/second. Replicate is a cloud-based platform that enables users to run machine learning models easily and efficiently.

Compare Veo 3.1 across 6 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install replicate
Auth
export REPLICATE_API_TOKEN=...
Call
import replicate
output = replicate.run(
    "google/veo-3.1",
    input={"prompt": "Hello"}
Model ID
google/veo-3.1

Request example

import replicate

# reads REPLICATE_API_TOKEN from env
# google/veo-3.1 format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
    "google/veo-3.1",
    input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))

Gotchas

  • Use provider model ID "google/veo-3.1", not the LLMReference slug "veo-3.1-generate-001".
  • Replicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.
  • The examples expect REPLICATE_API_TOKEN; rename it only if your application config maps the new variable.

Compare Veo 3.1 Across Providers

ProviderInput (per 1M)Output (per 1M)
GCP Vertex AI——
OpenRouter——
Vercel AI Gateway——
fal API——
Replicate API——
View all 6 providers →

Pricing

TypeRate
Video output$0.40/sec

Capabilities

VisionMultimodal

About Veo 3.1

Veo 3.1 (veo-3.1-generate-001) is the generally available version of Google DeepMind's Veo 3.1 video generation model, released 2025-11-17 on Google Cloud's Vertex AI (now Gemini Enterprise Agent Platform). It generates 4, 6 or 8-second videos at 720p, 1080p or 4K (24 fps, 16:9 or 9:16) with native audio from text or image prompts, and supports first/last-frame generation, reference images and video extension. It replaces the veo-3.1-generate-preview model.

Get Started