Vercel AI Gateway
Vercel AI Gateway
Section titled “Vercel AI Gateway”The Vercel AI Gateway provides a unified API to access hundreds of models through a single endpoint.
- Provider:
vercel-ai-gateway - Auth:
AI_GATEWAY_API_KEY - API: Anthropic Messages compatible
- OpenClaw auto-discovers the Gateway
/v1/modelscatalog, so/models vercel-ai-gatewayincludes current model refs such asvercel-ai-gateway/openai/gpt-5.4.
Quick start
Section titled “Quick start”- Set the API key (recommended: store it for the Gateway):
openclaw onboard --auth-choice ai-gateway-api-key- Set a default model:
{ agents: { defaults: { model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.6" }, }, },}Non-interactive example
Section titled “Non-interactive example”openclaw onboard --non-interactive \ --mode local \ --auth-choice ai-gateway-api-key \ --ai-gateway-api-key "$AI_GATEWAY_API_KEY"Environment note
Section titled “Environment note”If the Gateway runs as a daemon (launchd/systemd), make sure AI_GATEWAY_API_KEY
is available to that process (for example, in ~/.openclaw/.env or via
env.shellEnv).
Model ID shorthand
Section titled “Model ID shorthand”OpenClaw accepts Vercel Claude shorthand model refs and normalizes them at runtime:
vercel-ai-gateway/claude-opus-4.6->vercel-ai-gateway/anthropic/claude-opus-4.6vercel-ai-gateway/opus-4.6->vercel-ai-gateway/anthropic/claude-opus-4-6