Command Palette

Search for a command to run...

Page Inspect

https://ai-sdk.dev/
Internal Links
13
External Links
27
Images
18
Headings
8

Page Content

Title:AI SDK
Description:The AI Toolkit for TypeScript, from the creators of Next.js.
HTML Size:425 KB
Markdown Size:4 KB
Fetched At:November 17, 2025

Page Structure

h3Trusted by builders at
h3Is the AI SDK free to use?
h3How do I get started?
h3How can I contribute to the project?
h4Resources
h4More
h4About Vercel
h4Legal

Markdown Content

AI SDK

AI SDK

- Docs
- Cookbook
- Providers
- Playground
- AI ElementsAI Elements
- AI GatewayGateway

AI SDK 6 is in Beta.

Learn more

The AI Toolkit for TypeScript

From the creators of Next.js, the AI SDK is a free open-source library that gives you the tools you need to build AI-powered products.

Get Started

npm i ai

Visit Playground

npm i ai

Get StartedVisit Playground

### Trusted by builders at

OpenAI

Claude

Hugging Face

The next big thing

Unified Provider API

Switch between AI providers by changing a single line of code.

Make a music player

Blowin’ in the Wind

Bob Dylan

Generative UI

Create dynamic, AI-powered user interfaces that amaze your users.

Framework-agnostic

Build with React, Next, Vue, Nuxt, SvelteKit, and more.

Streaming AI Responses

Don't let your users wait for AI responses. Send them instantly.

What builders say about the AI SDK

Sully

@SullyOmarr

the @aisdk is probably the best way to build an ai app right now

you can go from idea -> working ai app in 15 mins.

its made working with llms 10x more enjoyable ( and we ship faster)

Max Baines

@maxbaines

Hands down the @aisdk is by far the best SDK I have worked with, thats pretty much all things since jQuery.

Micky

@rasmickyy

vercel ai sdk is just sooo good it hurts man...

can literally build ai features within any of my apps in mins

morgan

@morganlinton

The AI SDK is 🔥🔥🔥

Tom Watkins

@TomWatkins1994

the AI SDK is S tier software

EGOIST

@localhost\_5173

Vercel AI SDK is so good, there's no reason to directly use npm/openai or npm/claude anymore

sunil "yeah no" pai

@threepointone

vercel ai sdk is very good actually

Matt Pocock

@mattpocockuk

Vercel's AI SDK is one of the first tools I reach for when I'm building an AI-powered feature in TypeScript.

Kyle Mistele 🏴‍☠️

@0xblacklight

Vercel's @aisdk is insanely good. Docs are fantastic. Great abstractions where you want them, doesn't force unnecessary ones, and lets you get under the hood where appropriate. Solves the hard stuff (stream parsing, tool streaming, multi-turn tool execution, error handling and healing/recovery) without forcing you into dumb patterns

It just works, it's fantastic software and delightful to use. The team ships insanely fast, and has turned PRs from me around in like 2 days, and frequently ships requested features in < 1w

Ryan Carson

@ryancarson

I love @vercel and their @aisdk - so freaking easy to deploy.

Olivier

@StonkyOli

Big fan of the AI SDK

It has blown away my expectations since i started using it, way better than raw dogging oai

Pontus Abrahamsson

@pontusab

With the ai sdk available i'm always thinking: "How can I make this process as automatic as possible for the user?" because the barrier to implementing it is just a matter of minutes.

ben

@benhylak

@aisdk has made it possible to just call "generateObject" across any model provider, and it returns a properly typed json object.

it's pure magic.

EGOIST

@localhost\_5173

Vercel AI SDK is so good, there's no reason to directly use npm/openai or npm/claude anymore

sunil "yeah no" pai

@threepointone

vercel ai sdk is very good actually

Pontus Abrahamsson

@pontusab

With the ai sdk available i'm always thinking: "How can I make this process as automatic as possible for the user?" because the barrier to implementing it is just a matter of minutes.

ben

@benhylak

@aisdk has made it possible to just call "generateObject" across any model provider, and it returns a properly typed json object.

it's pure magic.

sami

@svmisvhn

huge shoutout to @vercel for the ai sdk, one API for all LLMs is 🤯

FAQs

### Is the AI SDK free to use?

Yes, the AI SDK is free and open source.

### How do I get started?

Visit our getting started page to learn how to install the AI SDK with your preferred framework.

### How can I contribute to the project?

We welcome contributions from the community! You can contribute by submitting bug reports, feature requests, or pull requests on our GitHub repository.

#### Resources
DocsCookbookProvidersShowcaseGitHubDiscussions

#### More
PlaygroundWorkflow Dev KitFlags SDKContact Sales

#### About Vercel
Next.js + VercelOpen Source SoftwareGitHubX

#### Legal
Privacy Policy

© 2025 Vercel, Inc.