Summary
Add first-class support for Vercel AI Gateway as an OpenAI-compatible model provider via the alias map.
Why
Vercel AI Gateway provides a single unified endpoint to access models from OpenAI, Anthropic, Google, xAI and more at list price with no markup, plus provider routing/failover. It is popular with web developers and reduces the need to manage many separate keys.
Resources
- OpenAI-compatible base URL:
https://ai-gateway.vercel.sh/v1
- Token env var:
AI_GATEWAY_API_KEY
- Docs: https://vercel.com/docs/ai-gateway
- Implement in:
pkg/model/provider/aliases.go
- Test:
pkg/model/provider/aliases_test.go
Definition of Done
Summary
Add first-class support for Vercel AI Gateway as an OpenAI-compatible model provider via the alias map.
Why
Vercel AI Gateway provides a single unified endpoint to access models from OpenAI, Anthropic, Google, xAI and more at list price with no markup, plus provider routing/failover. It is popular with web developers and reduces the need to manage many separate keys.
Resources
https://ai-gateway.vercel.sh/v1AI_GATEWAY_API_KEYpkg/model/provider/aliases.gopkg/model/provider/aliases_test.goDefinition of Done
IsCatalogProvider("vercel")is trueCatalogProviders()task testandtask lintpass