Note : This blog is outdated, please reference this page for the latest information or read the docs here . The Vercel AI Gateway is now available for alpha testing. Built on the AI SDK 5 alpha , the Gateway lets you switch between ~100 AI models without needing to manage API keys, rate limits, or provider accounts. The Gateway handles authentication, usage tracking, and in the future, billing. import { streamText } from 'ai' const result = streamText ( { model : 'xai/grok-3' , // defaults to Vercel AI Gateway prompt : 'Tell me the history of the San Francisco Mission-style burrito' } ) Write code in an app route or a script like the code above Get started with AI SDK 5 and the Gateway , or continue reading to learn more. Link to heading Why we're building the AI Gateway The current speed of AI development is fast and is only getting faster . There's a new state-of-the-art model released almost every week.…