Skip to content
vercel avatar

Ai Gateway

Vercel's AI Gateway skill: model discovery, routing, fallbacks, budgets, and CLI-managed gateway resources for AI SDK apps.

CCM score
65 of 100
skills.sh installs
423
GitHub stars
353
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers setup, live model discovery, authentication, routing, fallbacks, virtual models, BYOK, spend reporting, and observability for AI Gateway
  • Includes a vercel ai-gateway CLI inventory for API keys, budgets, model catalog, virtual models, and routing rules
  • Enforces current-source checks, flagging hyphenated Claude IDs, missing provider prefixes, and provider keys outside BYOK configurations
  • Designed for developers adding gateway routing to an app, migrating provider calls, or debugging gateway requests

Install

$ npx -y skills add vercel/vercel-plugin --skill ai-gateway -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Vercel AI Gateway

AI Gateway exposes models from multiple providers through shared authentication, model IDs, routing, billing, and observability. Model availability, SDK APIs, CLI commands, prices, and product capabilities change frequently. Verify them from current sources before changing code.

Start with current sources

Before implementing:

  1. Inspect the project's language, package manager, installed AI SDK version, and existing provider integration.

  2. Read the relevant Vercel page under https://vercel.com/docs/ai-gateway. Use the page's .md form when a tool needs Markdown.

  3. Fetch the complete live model list. Do not construct model variants by analogy:

    curl -fsSL https://ai-gateway.vercel.sh/v1/models
    
  4. If the code uses the ai package, load the ai-sdk skill when available. Read version-matched docs under node_modules/ai/docs/ and source under node_modules/ai/src/. If the skill is not installed, use those bundled files directly.

  5. Run vercel ai-gateway <command> --help before documenting or scripting CLI flags.

Details

Repository
github.com/vercel/vercel-plugin
Category
AI Agents & LLM Apps
First seen
Jun 3, 2026

More from vercel/vercel-plugin

All 25

Similar to Ai Gateway

More AI Agents & LLM Apps