The AI Gateway For Developers
- 1
- 2
- 3
- 4
- 5
- 6
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.2',
prompt: 'Why is the sky blue?'
})Use it with
and
many moreOne API key, hundreds of models
Unified billing and observability across your entire AI stack, with text, image, and video models.
Built-in failovers, better uptime
Automatic fallbacks during provider outages so your app stays up even when a model goes down.
No markup, just list price
Pay exactly what providers charge with no platform fees.
Generate anything
OpenAI gpt-3-.5-turbo:
Vercel is a cloud platform for deploying and hosting websites, apps, and serverless functions with speed, scalability, and simplicity. It gives teams one workflow from development to global delivery, so products ship faster while keeping reliability and performance high across every request. With robust developer tooling and seamless integrations, Vercel enables engineering teams to collaborate efficiently and manage code from preview to production. Its edge network and automatic scaling help you serve users globally with minimal latency and maximum uptime, so you can focus on building great products while Vercel handles infrastructure, deployments, and optimizations to ensure a fast, consistent user experience at scale.
Frequently Asked Questions
Can I try the Gateway for free?
Yes! When you sign up for a Vercel account, you get $5 of credits every 30 days to try out any model from our model list. We don’t restrict access to premium models.
Note: After you make your first payment, you are considered a paid customer and will no longer receive the free credits.
How is the Gateway priced?
We offer tokens at list price from the upstream providers with no markup.
If you bring your own key, we will not add any markup to your token price (0%).
You are responsible for any payment processing fees.
Do you have any rate limits?
While the upstream providers may have limits, Vercel doesn’t place any rate limits on your queries.
We are constantly working with the upstream providers to get you the maximum limits, throughput and reliability.
What models do you support?
We have over a hundred models from a range of providers to give you the maximum flexibility.
See the full model list here.