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

Announcing AI SDK 5 Alpha!

Learn more
AI SDK by Vercel
AI SDK 5 Alpha
Foundations
Overview
Providers and Models
Prompts
Tools
Streaming
Agents
Getting Started
Navigating the Library
Next.js App Router
Next.js Pages Router
Svelte
Vue.js (Nuxt)
Node.js
Expo
Guides
RAG Chatbot
Multi-Modal Chatbot
Slackbot Guide
Natural Language Postgres
Get started with Computer Use
OpenAI Responses API
Get started with Claude 3.7 Sonnet
Get started with Llama 3.1
Get started with OpenAI GPT-4.5
Get started with OpenAI o1
Get started with OpenAI o3-mini
Get started with DeepSeek R1
AI SDK Core
Overview
Generating Text
Generating Structured Data
Tool Calling
Prompt Engineering
Settings
Embeddings
Image Generation
Transcription
Speech
Language Model Middleware
Provider & Model Management
Error Handling
Testing
Telemetry
AI SDK UI
Overview
Chatbot
Chatbot Message Persistence
Chatbot Tool Usage
Generative User Interfaces
Completion
Object Generation
OpenAI Assistants
Streaming Custom Data
Error Handling
Smooth streaming japanese text
Smooth streaming chinese text
Stream Protocols
AI SDK RSC
Advanced
Reference
AI SDK Core
AI SDK UI
AI SDK RSC
Stream Helpers
AI SDK Errors
Migration Guides
Troubleshooting

AI SDK Core

Overview
Learn about AI SDK Core and how to work with Large Language Models (LLMs).
Generating Text
Learn how to generate text.
Generating Structured Data
Learn how to generate structured data.
Tool Calling
Learn how to do tool calling with AI SDK Core.
Prompt Engineering
Learn how to write prompts with AI SDK Core.
Settings
Learn how to set up settings for language models generations.
Embeddings
Learn how to use embeddings with AI SDK Core.
Image Generation
Learn how to generate images with AI SDK Core.
Transcription
Learn how to transcribe audio with AI SDK Core.
Speech
Learn how to generate speech with AI SDK Core.
Provider Management
Learn how to work with multiple providers.
Middleware
Learn how to use middleware with AI SDK Core.
Error Handling
Learn how to handle errors with AI SDK Core.
Testing
Learn how to test with AI SDK Core.
Telemetry
Learn how to use telemetry with AI SDK Core.
Previous
Get started with DeepSeek R1
Next
Overview
On this page
AI SDK Core
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.