Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
Google's latest video generation model with improved quality, motion, and audio generation.
A high-fidelity video generation model optimized for realistic human motion, cinematic VFX, expressive characters, and strong prompt and style adherence across text-to-video and image-to-video workflows.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Veo 3.1
client.chat.completions.create(
model="google/veo-3.1",
messages=[{"role":"user","content":"hello"}],
)
# MiniMax Hailuo 2.3
client.chat.completions.create(
model="minimax/hailuo-2.3",
messages=[{"role":"user","content":"hello"}],
)