← Back to all tools
Vercel AI SDK logo

Vercel AI SDK

✓ Verified

Open-source TypeScript toolkit for streaming LLM apps with providers, tools, and generative UI

Updated Dec 7, 2025
API/SDK ToolOpen SourceNode.jsEdge runtimesServerless
Last reviewed: Dec 7, 2025Details verified against vendor changelogs and hands-on usage.
Visit Website →

Pricing and features change frequently—confirm on the vendor site.

About

Vercel AI SDK (v6 beta) is a free, open-source toolkit for building streaming AI apps across Next.js, React, Vue/Nuxt, SvelteKit, and Node/Edge runtimes. It provides a unified provider API, tool calling, structured outputs (`generateObject`), server actions/RSC hooks, and generative UI helpers like `streamUI`, with adapters for OpenAI, Anthropic, Google, Mistral, Ollama, and more.

Key Features

  • Unified provider API with adapters for OpenAI/Anthropic/Google/Mistral/Ollama and more
  • Streaming text, chat, and tool calls with React/Next server actions and RSC hooks
  • Structured outputs via `generateObject` with schema validation
  • Generative UI helpers (`streamUI`, AI Elements) for dynamic components
  • Tools registry and built-in function/tool calling

Use Cases

  • Building AI-powered applications

Technical Details

Languages

TypeScriptJavaScript

AI Models

Model-agnostic (providers include OpenAI, Anthropic, Google, Mistral, Ollama, etc.)

Integrations

LangChainLangFuseLiteLLMLlamaIndexMastraPydantic AIVercel AI Gateway

Frequently Asked Questions

What is Vercel AI SDK?

Vercel AI SDK (v6 beta) is a free, open-source toolkit for building streaming AI apps across Next.js, React, Vue/Nuxt, SvelteKit, and Node/Edge runtimes. It provides a unified provider API, tool calling, structured outputs (`generateObject`), server actions/RSC hooks, and generative UI helpers like `streamUI`, with adapters for OpenAI, Anthropic, Google, Mistral, Ollama, and more.

Is Vercel AI SDK free?

Yes, Vercel AI SDK is open source and free to use. MIT-licensed library, Self-hosted on your infra, Use with any LLM provider keys

What programming languages does Vercel AI SDK support?

Vercel AI SDK supports 2+ programming languages including TypeScript, JavaScript.

What AI models does Vercel AI SDK use?

Vercel AI SDK is powered by Model-agnostic (providers include OpenAI, Anthropic, Google, Mistral, Ollama, etc.).

What platforms does Vercel AI SDK support?

Vercel AI SDK is available on Node.js, Edge runtimes, Serverless.

What can Vercel AI SDK do?

Vercel AI SDK provides code generation, AI chat, agentic/autonomous mode. Key features include: Unified provider API with adapters for OpenAI/Anthropic/Google/Mistral/Ollama and more, Streaming text, chat, and tool calls with React/Next server actions and RSC hooks, Structured outputs via `generateObject` with schema validation.

Pricing

Open Source

$0
  • MIT-licensed library
  • Self-hosted on your infra
  • Use with any LLM provider keys

Company

Name
Vercel
Founded
Location

Links