Skip to content
Dashboard

Vercel AI Gateway vs. OpenRouter for production AI

Copy link to headingWhat is an AI gateway?

Copy link to headingWhat is Vercel AI Gateway?

Copy link to headingMulti-provider routing

Copy link to headingBuilt-in observability

Copy link to headingFluid compute architecture

Copy link to headingAI SDK integration

Copy link to headingWhat is OpenRouter?

Copy link to headingBroad model catalog

Copy link to headingOpenAI-compatible API

Copy link to headingCommunity SDK support

Copy link to headingModel evaluation

Copy link to headingKey differences between Vercel AI Gateway and OpenRouter

Copy link to headingModel access and provider support

Copy link to headingRouting and fallbacks

import { streamText } from 'ai';
const result = streamText({
model: 'anthropic/claude-sonnet-5',
prompt: 'Explain the tradeoffs of server-side rendering',
providerOptions: {
gateway: {
order: ['vertex', 'bedrock', 'anthropic'],
},
},
});

Copy link to headingPricing and cost structure

Copy link to headingObservability and logging

Copy link to headingIntegration and developer experience

Copy link to headingWhen to choose Vercel AI Gateway

Copy link to headingWhen to choose OpenRouter

Copy link to headingBuild AI features on Vercel AI Gateway

Copy link to headingFrequently asked questions about Vercel AI Gateway and OpenRouter

Copy link to headingCan you use OpenRouter with the Vercel AI SDK?

Copy link to headingDoes Vercel AI Gateway charge a markup on model costs?

Copy link to headingCan you self-host Vercel AI Gateway or OpenRouter?

Copy link to headingWhat is the difference between an AI gateway and an API proxy?

Ready to deploy?