
Ai Gateway
Route multiple LLM providers through Vercel AI Gateway with correct model slugs, failover, and OIDC-friendly auth instead of scattered API keys.
Install
npx skills add https://github.com/vercel-labs/vercel-plugin --skill ai-gatewayWhat is this skill?
- Expert guidance for model routing, provider failover, and cost tracking via Vercel AI Gateway
- Import and bash patterns detect @ai-sdk/gateway and vercel env pull workflows
- Validate rules enforce provider/model slug format and dot-version model names
- Flags legacy model IDs such as gpt-4o with upgrade hints toward current gateway models
- Recommends OIDC via vercel env pull over long-lived AI_GATEWAY_API_KEY when possible
Adoption & trust: 279 installs on skills.sh; 187 GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Gateway wiring happens when you integrate models into the app; integrations is the first concrete step before broader operate cost tuning. Unified provider routing, @ai-sdk/gateway installs, and model ID format are integration concerns tied to application code and env setup.
Common Questions / FAQ
Is Ai Gateway safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Ai Gateway
# Vercel AI Gateway > **CRITICAL —