> ## Documentation Index
> Fetch the complete documentation index at: https://openclaw.veiseule.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Vercel AI Gateway

# Vercel AI Gateway

[Vercel AI Gateway](https://vercel.com/ai-gateway) yuzlab modellarga bitta endpoint orqali kirish imkonini beruvchi yagona API taqdim etadi.

* Provayder: `vercel-ai-gateway`
* Autentifikatsiya: `AI_GATEWAY_API_KEY`
* API: Anthropic Messages bilan mos

## Tezkor boshlash

1. API kalitini o‘rnating (tavsiya etiladi: uni Gateway uchun saqlang):

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw onboard --auth-choice ai-gateway-api-key
```

2. Standart modelni belgilang:

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  agents: {
    defaults: {
      model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.6" },
    },
  },
}
```

## Interaktiv bo‘lmagan misol

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw onboard --non-interactive \
  --mode local \
  --auth-choice ai-gateway-api-key \
  --ai-gateway-api-key "$AI_GATEWAY_API_KEY"
```

## Muhit haqida eslatma

Agar Gateway daemon sifatida ishlasa (launchd/systemd), `AI_GATEWAY_API_KEY`
o‘sha jarayon uchun mavjud ekanligiga ishonch hosil qiling (masalan, `~/.openclaw/.env` ichida yoki
`env.shellEnv` orqali).
