ai-gateway

Route AI model calls across providers with failover and cost tracking.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/remiconnesson/nuxt-minimal-starter-v0-template --skill ai-gateway-remiconnesson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-gateway
Source: https://github.com/remiconnesson/nuxt-minimal-starter-v0-template/tree/main/.agents/skills/ai-gateway
Command: npx skills add https://github.com/remiconnesson/nuxt-minimal-starter-v0-template --skill ai-gateway-remiconnesson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralize AI model routing and governance across multiple providers with built-in failover, observability, and cost controls.

Core Features & Use Cases

  • Unified routing across providers with automatic failover and visibility
  • Cost tracking, tagging, and budgeting for multi-tenant applications
  • Guidance on authentication, model strings, and provider coordination across SDKs

Quick Start

Provide guidance on configuring AI Gateway routing for a multi-provider setup.

Frequently Asked Questions about ai-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route AI model calls across multiple providers with automatic failover?

AI gateway routing directs model calls through a unified interface that manages provider orchestration and automatic failover. This ensures continuous availability by switching traffic to backup providers when a primary endpoint fails.

What is the best way to track AI API costs and set budgets for multi-tenant applications?

Cost tracking in an AI gateway tags and budgets API usage per user or tenant. This provides granular observability into spending, enabling rate limits and budget enforcement for multi-tenant SaaS environments.

How do I configure authentication for AI gateway routing using OIDC versus API keys?

AI gateway authentication can be configured using either OIDC or API keys. OIDC provides standardized identity verification for multi-tenant access, while API keys offer simpler direct validation for backend SDK integrations.

Can I use an AI gateway with the AI SDK and existing provider SDKs?

Yes, an AI gateway integrates with the AI SDK and provider SDKs by coordinating model strings and routing rules. This allows existing applications to centralize governance without completely refactoring current provider integration code.

What configuration is needed to set up caching and audit logging for AI model routing?

Configuring caching and audit logging requires defining routing rules that store frequent responses and record request metadata. This reduces downstream API costs and maintains compliance visibility for all routed AI calls.