The Vercel AI Gateway provides a unified API to access hundreds of models through a single endpoint.
vercel-ai-gatewayAI_GATEWAY_API_KEYcoderclaw onboard --auth-choice ai-gateway-api-key
{
agents: {
defaults: {
model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.6" },
},
},
}
coderclaw onboard --non-interactive \
--mode local \
--auth-choice ai-gateway-api-key \
--ai-gateway-api-key "$AI_GATEWAY_API_KEY"
If the Gateway runs as a daemon (launchd/systemd), make sure AI_GATEWAY_API_KEY
is available to that process (for example, in ~/.coderclaw/.env or via
env.shellEnv).