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.
Preview high-performance multimodal video generation and editing model with conversational controls and generated audio.
Claude Sonnet 5 is Anthropic's most agentic Sonnet model yet, built for coding, tool use, reasoning, and long-horizon professional work at lower cost than Opus-class models.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# Gemini Omni Flash
client.chat.completions.create(
model="google/gemini-omni-flash",
messages=[{"role":"user","content":"hello"}],
)
# Claude Sonnet 5
client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{"role":"user","content":"hello"}],
)