What problem does it solve?
This Skill eliminates the complexity of managing multiple AI providers by providing a single, unified gateway for routing requests, handling provider failover, and attributing costs so teams can operate AI features reliably in production.
Core Features & Use Cases
- Unified Model Routing: Use provider/model strings to route requests through Vercel AI Gateway for consistent provider selection.
- Failover & Reliability: Configure provider order and fallback models to maintain uptime when a provider experiences errors or quotas.
- Cost Controls & Observability: Per-user tags, budget alerts, and usage logs enable cost tracking, budget enforcement, and audit trails for multi-tenant applications.
- Auth & Local Development: OIDC-first authentication via vercel env pull with AI_GATEWAY_API_KEY fallback supports both Vercel deployments and local CI usage.
- Use Case: Deploy a multi-tenant chat service that requires per-user rate limits, per-feature cost attribution, and automatic failover between OpenAI and Anthropic.
Quick Start
Route the model openai/gpt-5.4 through the Vercel AI Gateway with per-user tags and a failover order of openai then anthropic.