Last refreshed 2026-05-22. Next refresh: weekly.
Why use Veo 3.1 on Vercel AI Gateway?
Vercel AI Gateway offers Veo 3.1 with competitive pricing. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.
Compare Veo 3.1 across 3 providers to find the best fit for your use caseSetup recipe
Python + curlpip install openaiexport AI_GATEWAY_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],google/veo-3.1-generate-001Request example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="google/veo-3.1-generate-001",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "google/veo-3.1-generate-001", not the LLMReference slug "veo-3.1-generate-preview".
- creator/model-name e.g. kwaipilot/kat-coder-pro-v2
- The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.
Compare Veo 3.1 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Google AI Studio | — | — |
| GCP Vertex AI | — | — |
| Vercel AI Gateway | — | — |
Capabilities
About Veo 3.1
Veo 3.1 is Google DeepMind's Veo model focused on video understanding and generation. It was released 2025-01-01.
FAQ
What API model ID do I use for Veo 3.1 on Vercel AI Gateway?
Use the model ID google/veo-3.1-generate-001 when calling Vercel AI Gateway's API.
Who created Veo 3.1?
Veo 3.1 was created by Google DeepMind as part of the Veo model family.
Is Veo 3.1 open source?
Veo 3.1 is not open source; the seed data lists it as proprietary.