Vercel
AI SDK

The TypeScript toolkit designed to build AI-powered applications and agents with React, Next.js, Vue, Svelte, and Node.js.

Unified API for LLMs
🔗Framework-Agnostic UI Hooks

Simplify AI Integration

Integrating Large Language Models (LLMs) into your applications can be complex, often requiring intricate configurations specific to each model provider. The Vercel AI SDK streamlines this process by standardizing AI model integrations across multiple providers.

This allows developers to concentrate on crafting exceptional AI applications, saving valuable time and resources that would otherwise be spent on navigating technical complexities. With the AI SDK, focus on innovation, not integration.

Core AI SDK Libraries

The AI SDK is comprised of two primary libraries designed to accelerate your AI development:

**AI SDK Core:** Provides a unified API for generating text, structured objects, tool calls, and facilitating the construction of sophisticated AI agents leveraging LLMs. It's the engine powering your AI logic.

**AI SDK UI:** Offers a suite of framework-agnostic hooks that enable rapid creation of chat interfaces and generative UIs. Build engaging user experiences with ease and consistency across your projects.

The AI SDK standardizes integrating artificial intelligence (AI) models across supported providers. This enables developers to focus on building great AI applications, not waste time on technical details.

Vercel AI SDK Team

Explore AI SDK Features

Discover how the AI SDK can accelerate your AI development journey.

💡

Starter Kits & Templates

Jumpstart your projects with pre-built templates for chatbots, RAG, multi-modal chat, and more.

🧪

Feature Exploration Examples

Dive into practical examples showcasing feature flags, telemetry, structured object streaming, and multi-step tools.

🧩

Framework Integrations

Seamlessly integrate the AI SDK with popular frameworks like Next.js, Nuxt.js, SvelteKit, and Solid.

Providers Supported Model Platforms

The AI SDK supports a diverse range of model providers, allowing you to choose the best option for your specific needs. Whether you need image generation, object recognition, or tool usage, the SDK provides seamless integration.

Supported providers include OpenAI, Anthropic, Google, Azure, Amazon Bedrock, Groq, Mistral, Together.ai, Cohere, Fireworks, DeepSeek, Cerebras, Perplexity, Luma AI, Baseten, Fal AI and DeepInfra. Leverage the power of choice with the Vercel AI SDK.