mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-14 03:20:49 +00:00
* feat: add anthropic-vertex provider for Claude via GCP Vertex AI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: sallyom <somalley@redhat.com> * docs: add anthropic-vertex provider guide Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: sallyom <somalley@redhat.com> * Agents: validate Anthropic Vertex project env * Changelog: format update for Vertex entry * Providers: rename Anthropic Vertex to Google Vertex Claude * Providers: remove Vertex Claude provider path * Models: normalize Vercel Claude shorthand refs * Onboarding: default Vercel model to Claude shorthand * Changelog: add @vincentkoc credit for #23985 * Onboarding: keep canonical Vercel default model ref * Tests: expand Vercel model normalization coverage --------- Signed-off-by: sallyom <somalley@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
1.4 KiB
1.4 KiB
title, summary, read_when
| title | summary | read_when | ||
|---|---|---|---|---|
| Vercel AI Gateway | Vercel AI Gateway setup (auth + model selection) |
|
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
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
openclaw onboard --non-interactive \
--mode local \
--auth-choice ai-gateway-api-key \
--ai-gateway-api-key "$AI_GATEWAY_API_KEY"
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
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