AI SDK
  • Docs
  • Cookbook
  • Providers
  • Showcase
  • Playground

Announcing AI SDK 5 Beta!

Learn more
Guides
RAG Chatbot
Multi-Modal Chatbot
Slackbot Guide
Natural Language Postgres
Get started with Computer Use
Get started with Claude 4
OpenAI Responses API
Get started with Claude 3.7 Sonnet
Get started with Llama 3.1
Get started with GPT-4.5
Get started with OpenAI o1
Get started with OpenAI o3-mini
Get started with DeepSeek R1
Next.js
Generate Text
Generate Text with Chat Prompt
Generate Image with Chat Prompt
Stream Text
Stream Text with Chat Prompt
Stream Text with Image Prompt
Chat with PDFs
streamText Multi-Step Cookbook
Markdown Chatbot with Memoization
Generate Object
Generate Object with File Prompt through Form Submission
Stream Object
Call Tools
Call Tools in Parallel
Call Tools in Multiple Steps
Model Context Protocol (MCP) Tools
Human-in-the-Loop with Next.js
Send Custom Body from useChat
Render Visual Interface in Chat
Stream Assistant Response
Stream Assistant Response with Tools
Caching Middleware
Node
Generate Text
Generate Text with Chat Prompt
Generate Text with Image Prompt
Stream Text
Stream Text with Chat Prompt
Stream Text with Image Prompt
Stream Text with File Prompt
Generate Object with a Reasoning Model
Generate Object
Stream Object
Stream Object with Image Prompt
Record Token Usage After Streaming Object
Record Final Object after Streaming Object
Call Tools
Call Tools in Parallel
Call Tools with Image Prompt
Call Tools in Multiple Steps
Model Context Protocol (MCP) Tools
Web Search Agent
Embed Text
Embed Text in Batch
Intercepting Fetch Requests
Local Caching Middleware
Retrieval Augmented Generation
API Servers
Node.js HTTP Server
Express
Hono
Fastify
Nest.js
React Server Components

Guides

These use-case specific guides are intended to help you build real applications with the AI SDK.

RAG Chatbot
Learn how to build a retrieval-augmented generation chatbot with the AI SDK.
Multimodal Chatbot
Learn how to build a multimodal chatbot with the AI SDK.
Get started with Llama 3.1
Get started with Llama 3.1 using the AI SDK.
Get started with OpenAI o1
Get started with OpenAI o1 using the AI SDK.
Previous
AI_UnsupportedFunctionalityError
Next
Versioning
On this page
Guides
Elevate your AI applications with Vercel.
Trusted by OpenAI, Replicate, Suno, Pinecone, and more.
Vercel provides tools and infrastructure to deploy AI apps and features at scale.

Resources

DocsCookbookProvidersShowcaseGitHubDiscussions

More

PlaygroundContact Sales

About Vercel

Next.js + VercelOpen Source SoftwareGitHubX

Legal

Privacy Policy

© 2025 Vercel, Inc.