Skip to content

docs: add Vercel AI Gateway as a supported provider - #2728

Open
joemckenney wants to merge 1 commit into
theagentrouter:mainfrom
joemckenney:vercel-ai-gateway-provider
Open

joemckenney wants to merge 1 commit into
theagentrouter:mainfrom
joemckenney:vercel-ai-gateway-provider

Conversation

@joemckenney

Copy link
Copy Markdown

Description

Adds Vercel AI Gateway as a supported provider.

Vercel AI Gateway fronts models from many providers behind a single OpenAI-compatible endpoint at https://ai-gateway.vercel.sh/v1 and authenticates with Authorization: Bearer <token>. That maps onto the existing OpenAI schema and APIKey BackendSecurityPolicy, so no data plane changes are needed. It also serves the native Anthropic Messages API on the same host and accepts the credential via x-api-key, so {"name":"Anthropic"} with an AnthropicAPIKey policy works as an alternative. Both options are recorded in the supported-providers table and in the guide.

Included:

  • examples/basic/vercel.yaml: AIGatewayRoute, AIServiceBackend, APIKey BackendSecurityPolicy, Backend, BackendTLSPolicy and Secret
  • site/docs/getting-started/connect-providers/vercel.md plus index links
  • Rows in supported-providers.md and supported-endpoints.md
  • An aigw run environment-variable example in site/docs/cli/run.md
  • internal/autoconfig/testdata/vercel.yaml and a TestWriteConfig case for OPENAI_BASE_URL=https://ai-gateway.vercel.sh/v1
  • Provider logo, README provider grid and homepage provider list

Related Issues/PRs (if applicable)

Supersedes #2623. The original author is no longer working on this; this is the same change rebased onto current main with the conflicts resolved.

Special notes for reviewers (if applicable)

@joemckenney
joemckenney requested a review from a team as a code owner September 23, 2026 18:52
@netlify

netlify Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for theagentrouter canceled.

Name Link
🔨 Latest commit 56f946d
🔍 Latest deploy log https://app.netlify.com/projects/theagentrouter/deploys/6ab46114a451f1000845cbad

@missBerg

Copy link
Copy Markdown
Contributor

@joemckenney it looks like DCO signoff i missing, can you address that?

@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Signed-off-by: Joe McKenney <joe.mckenney@vercel.com>
@joemckenney
joemckenney force-pushed the vercel-ai-gateway-provider branch from 923df1c to 56f946d Compare September 23, 2026 23:30
@joemckenney

joemckenney commented Sep 23, 2026 •

Copy link
Copy Markdown
Author

@joemckenney it looks like DCO signoff i missing, can you address that?

@missBerg updated, thanks for flagging

@missBerg missBerg added documentation Improvements or additions to documentation area/site Website and docs site labels Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/site Website and docs site documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants