Community translations by veiseule.ai — Help improve them on Crowdin
Skip to main content

Vercel AI Gateway

De Vercel AI Gateway biedt een uniforme API om toegang te krijgen tot honderden modellen via één enkel eindpunt.

  • Aanbieder: vercel-ai-gateway
  • Authenticatie: AI_GATEWAY_API_KEY
  • API: Anthropic Messages-compatibel

Snelle start

  1. Stel de API-sleutel in (aanbevolen: sla deze op voor de Gateway):
openclaw onboard --auth-choice ai-gateway-api-key
  1. Stel een standaardmodel in:
{
  agents: {
    defaults: {
      model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.6" },
    },
  },
}

Niet-interactief voorbeeld

openclaw onboard --non-interactive \
  --mode local \
  --auth-choice ai-gateway-api-key \
  --ai-gateway-api-key "$AI_GATEWAY_API_KEY"

Omgevingsnotitie

Als de Gateway als daemon draait (launchd/systemd), zorg er dan voor dat AI_GATEWAY_API_KEY beschikbaar is voor dat proces (bijvoorbeeld in ~/.openclaw/.env of via env.shellEnv).