mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-10-01 10:19:23 +02:00
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
---
|
|
title: "Vercel AI Gateway"
|
|
description: "Connect Vercel AI Gateway as an AI Gateway provider"
|
|
---
|
|
|
|
A Vercel AI Gateway provider forwards Chat Completions and Responses requests to Vercel's AI Gateway. Use it as an aggregator when you want one key to reach models Vercel exposes through OpenAI-compatible APIs.
|
|
|
|
See [AI Providers](/manage/ai/providers/overview) if you haven't created a provider before. Field options are in [Provider Configuration](/manage/ai/providers/configuration).
|
|
|
|
## Defaults
|
|
|
|
| Setting | Value |
|
|
|---|---|
|
|
| Upstream URL | `https://ai-gateway.vercel.sh/v1` |
|
|
| Auth type | Bearer |
|
|
| Capabilities | OpenAI Chat Completions, OpenAI Responses |
|
|
|
|
## Configure
|
|
|
|
1. Sidebar → **AI Gateway** → **Providers** → **Create**.
|
|
2. Set **Provider Type** to **Vercel AI Gateway**. Name, capabilities, upstream URL, and auth type fill in from the defaults above.
|
|
3. Paste your Vercel AI Gateway API key.
|
|
4. Set **Allow** and **Block** lists. Use the model ids Vercel documents for the gateway.
|
|
5. Save, then attach the provider to an [AI Gateway resource](/manage/ai/overview).
|
|
|
|
## Models
|
|
|
|
Vercel AI Gateway is an aggregator. See [Model Routing](/manage/ai/providers/model-routing) for how allow lists and `GET /v1/models` discovery work. Add exact model keys to the allow list.
|
|
|
|
## Clients
|
|
|
|
| Client | Guide |
|
|
|---|---|
|
|
| Codex | [Setup guide](/manage/ai/configure-ai-clients/codex) |
|
|
| OpenCode | [Setup guide](/manage/ai/configure-ai-clients/opencode) |
|
|
| Open WebUI | [Setup guide](/manage/ai/configure-ai-clients/open-webui) |
|
|
| OpenClaw | [Setup guide](/manage/ai/configure-ai-clients/openclaw) |
|