docs/providers/vercel-ai-gateway.md
The Vercel AI Gateway provides a unified API to access hundreds of models through a single endpoint.
| Property | Value |
|---|---|
| Provider | vercel-ai-gateway |
| Package | @openclaw/vercel-ai-gateway-provider |
| Auth | AI_GATEWAY_API_KEY |
| API | Anthropic Messages compatible |
| Base URL | https://ai-gateway.vercel.sh |
| Model catalog | Auto-discovered via /v1/models |
openclaw onboard --non-interactive \
--mode local \
--auth-choice ai-gateway-api-key \
--ai-gateway-api-key "$AI_GATEWAY_API_KEY"
OpenClaw normalizes Claude shorthand model refs at runtime:
| Shorthand input | Normalized model ref |
|---|---|
vercel-ai-gateway/claude-opus-4.6 | vercel-ai-gateway/anthropic/claude-opus-4.6 |
vercel-ai-gateway/opus-4.6 | vercel-ai-gateway/anthropic/claude-opus-4-6 |
<Warning>
A key exported only in an interactive shell will not be visible to a
launchd/systemd daemon unless that environment is explicitly imported. Set
the key in `~/.openclaw/.env` or via `env.shellEnv` to ensure the gateway
process can read it.
</Warning>