AI Gateway

Supported models

Model ids the AI Gateway accepts, and what each one is for
View as Markdown

Pass any of these strings as model on the SDK call:

ModelUse case
claude-opus-4-8Most capable; longer reasoning, agentic workflows.
claude-sonnet-4-6Workhorse; balanced cost / quality. Good default.
claude-haiku-4-5Fast and cheap; tool-use loops, classification.
nova-proAmazon Nova; balanced general use with low latency.
nova-liteAmazon Nova; cheaper and faster for high-volume calls.
nova-microAmazon Nova; lowest-cost text tier.
mistral-large-3Mistral flagship; strong general reasoning and coding.
pixtral-largeMistral vision-language; accepts image + text input.
qwen3-coderQwen coding specialist; code generation and refactoring.
qwen3-vlQwen vision-language; accepts image + text input.
gpt-5-6-solMost capable GPT; frontier reasoning, agentic coding.
gpt-5-6-terraBalanced GPT for production; code, extraction, agents.
gpt-5-6-lunaFast and cheap GPT; classification, summarizing, routing.
gpt-5-5Previous GPT generation; general chat and reasoning.
gpt-5-4Previous GPT generation; general chat and reasoning.
titan-embed-text-v2Text embeddings (RAG, vector search).

All chat models are called the same way: swap the model string.

Capability by model

CapabilityModels
Chat completionsEvery model except titan-embed-text-v2
Embeddingstitan-embed-text-v2
Image inputpixtral-large, qwen3-vl, gpt-5-6-*
Web searchgpt-* only
Native Anthropic APIclaude-*, under bedrock/ ids

Next steps