The Vercel AI Gateway provides a unified API to access hundreds of models through a single endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Provider | vercel-ai-gateway |
| Auth | AI_GATEWAY_API_KEY |
| API | Anthropic Messages compatible |
| Model catalog | Auto-discovered via /v1/models |
Getting started
Non-interactive example
For scripted or CI setups, pass all values on the command line:Model ID shorthand
OpenClaw accepts Vercel Claude shorthand model refs and normalizes them 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 |
Advanced configuration
Environment variable for daemon processes
Environment variable for daemon processes
If the OpenClaw Gateway runs as a daemon (launchd/systemd), make sure
AI_GATEWAY_API_KEY is available to that process.Provider routing
Provider routing
Vercel AI Gateway routes requests to the upstream provider based on the model
ref prefix. For example,
vercel-ai-gateway/anthropic/claude-opus-4.6 routes
through Anthropic, while vercel-ai-gateway/openai/gpt-5.5 routes through
OpenAI and vercel-ai-gateway/moonshotai/kimi-k2.6 routes through
MoonshotAI. Your single AI_GATEWAY_API_KEY handles authentication for all
upstream providers.Related
Model selection
Choosing providers, model refs, and failover behavior.
Troubleshooting
General troubleshooting and FAQ.