About SDK Vercel
The AI SDK is an open source TypeScript toolkit from Vercel for building AI applications and agents. It gives developers one interface across many model providers, so switching providers takes a single line of code, along with streaming responses, built in fallbacks and compatibility with Vercel AI Gateway. The vendor lists support for more than 100 models.
AI SDK Core is a unified API for generating text, structured objects and tool calls, and for building agents. It covers text generation, image generation, speech, transcription and video generation. AI SDK UI is a set of framework agnostic hooks for building chat and generative interfaces, with support for Next.js, React, Svelte, Angular, Vue, Nuxt and Solid. Around the SDK sit related Vercel products: AI Gateway, Sandbox for running agent generated code, Workflows for long running agents that can suspend and resume, and AI Elements, a component library for AI native interfaces.
It is built for JavaScript and TypeScript developers who want a provider neutral way to add AI features to web apps. Installation is through npm with the ai package.
The SDK is open source and free to use. The site publishes no pricing page. Costs come from the model providers a project calls, or from Vercel AI Gateway if a developer chooses it, and the vendor describes the Gateway as having no markup.