Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

AI SDK by Vercel

Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.

Agent frameworks and SDKs TypeScript AI toolkitOpen source · Apache-2.0Free to start

Use it in: API / SDK Works with: MCP Local models Multi-agent

Price
Free (OSS)
free and open source
Popularity
#3 in Frameworks
Gid Score 68 / 100 · #3 of 50 ranked frameworks and SDKs
Trend
Growing fast
downloads up 38.4% over 30 days · up 3.9% last week
Development
Actively updated
latest 7.0.177, 2d ago
Community
28.1K GitHub stars
47.2M package downloads a week

Usage data: latest readings Nov 17 to Nov 19, 2026, last checked Nov 19, 06:26 UTC. Date of each number

What AI SDK does

AI SDK is a TypeScript AI toolkit from Vercel, first released in May 2023. You use it through a TypeScript library. Its documentation covers MCP servers, subagents or parallel agents and local models. It can run models from OpenAI, Anthropic, Google, xAI, Mistral and DeepSeek and others. It is used from TypeScript. It is free and open source (Apache-2.0); you pay only for the models it calls.

Key facts

MakerVercel
TypeTypeScript AI toolkit
First releasedMay 2023
LicenseApache-2.0
InterfacesTypeScript library
Main languageTypeScript
Open issues and PRs1,639

Pricing

AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.

Checked Nov 5, 2026. Prices change often; confirm before you buy.

Compare prices of all agents

Quick answers

  • Free to start?Yes
  • Open source?Yes (Apache-2.0)
  • Where you use itTypeScript library
  • Supports MCP?Yes
  • Model providersopenai, anthropic, google, xai, mistral, deepseek, qwen, any OpenAI-compatible, local
  • Subagents / multi-agent?Yes
  • Feature comparisonAll agents
  • Closest alternativeLangChain · all alternatives

What's new in AI SDK: October 2026

Full monthly summary

October brought refinements to tool handling, reasoning capabilities, and stream management across the AI SDK. New features focused on tool search flexibility, portable reasoning levels, and improved error handling.

Action needed: Evaluate renamed to decide.
  • Tool search now supports custom selection and ranking via a search() callback with configurable result limits.
  • Added portable max reasoning level with native provider mappings and compatibility fallbacks across Anthropic, Amazon Bedrock, Fireworks, and other providers.
  • Introduced durable non-streaming WorkflowAgent.generate() for workflows requiring typed output and core generation result semantics.
  • Renamed evaluate to decide for consistency across the SDK.

7 releases this month · summarised from the official release notes · all months

AgentGid articles about AI SDK

All guides

Get started with AI SDK

npmnpm install ai

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

What AI SDK users report right now

All 1 reports, questions and fixes →

Closed, not planned Request Users asked for the AI SDK to send an x-opencode-session header on every request, which the OpenCode Go API said it would require. The maintainers declined to add built-in support because it is a provider-specific header.

Workaround: Pass your own stable conversation ID as a custom request header when calling the model; the SDK already allows arbitrary request headers.

Reported on GitHub · 13 👍

The most discussed problems in its GitHub repository, checked Nov 12, 2026. Written by AgentGid in its own words; statuses and fix versions come from the project's own pages. Reports are users' accounts, not AgentGid tests.

Add-ons for AI SDK: save tokens, add memory and tools

All agent tooling

Listed because each tool documents support for AI SDK or for agent frameworks in general. Savings and results depend on your workload.

Compare AI SDK with another agent

vs
# Agent Gid Score Downloads 7d 7d 30d Stars Latest release Price
1
LangChainLangChain
79 41.1M up 5.7% down 2.7% 150K+76/day 1.5.22d ago Free (OSS)
2
LangGraphLangChain
75 20.1M up 5.5% up 29.2% 45.1K+48/day 1.2.23yesterday Free (OSS)
4 64 29.3M up 5.9% up 37.6% 8,588+9/day 0.2.185yesterday Free (OSS)
5
MastraMastra
63 3.7M up 14.9% up 49.9% 29.6K+23/day 1.84.02d ago Free (OSS)
6 62 7.2M up 4.8% up 38.9% 30.8K+21/day 0.25.02d ago Free (OSS)
7
Deep AgentsLangChain
59 3.1M up 4.9% up 51.3% 31.4K+29/day 0.2.112d ago Free (OSS)

Head to head: AI SDK vs LangChain · AI SDK vs LangGraph · AI SDK vs Claude Agent SDK · AI SDK vs Mastra · AI SDK vs OpenAI Agents SDK · AI SDK vs Strands Agents

Tools used with AI SDK

All tools

What 1,545 public GitHub projects that depend on AI SDK use with it, from their dependency files.

  1. TypeScript95.1%
  2. Zod84.2%
  3. React75.2%
  4. Tailwind CSS69.6%
  5. ESLint60.9%
  6. Next.js60.5%
  7. Lucide React59.2%
  8. clsx56.1%
  9. Tailwind Merge55.8%
  10. Class Variance Authority53.3%

Used far more often here than in AI-built projects overall: what sets AI SDK projects apart.

  1. Firecrawl (JavaScript)10.3% · 107.3×
  2. @openrouter/ai-sdk-provider10.4% · 23.1×
  3. Mastra13.4% · 22.6×
  4. LangChain.js11.9% · 19.6×
  5. Convex11.6% · 19.6×
  6. Clerk10.9% · 11.7×
  7. Nanoid (JavaScript)13.5% · 8.1×
  8. OpenTelemetry10.8% · 7.3×

Ratings from people who use AI SDK

No ratings yet. Used AI SDK? Rate it and say what it is good and bad at.

AI SDK news

All AI agent news

  1. Release GitHub Releases

    AI SDK 7.0.177 released

    e403988: add an interrupt option to steering so a steer can cancel a model call that has not produced output yet; b792b56: feat(ai): ship the AI SDK skill in the package at skills/ai-sdk for pnpm agent skills; Updated dependencies [700089c]

  2. Official Vercel

    Gemini 4 Neon now available on AI Gateway

    Gemini 4 Neon is now available on Vercel's AI Gateway, offering improved output quality and speed for coding, agent workflows, and multi-step tasks with a 1M-token context window.

  3. Release GitHub Releases

    AI SDK 7.0.176 released

    Updated dependencies [f886264]; Updated dependencies [d03d74a]; @ai-sdk/gateway@4.0.149 (+4 more releases that day)

  4. Official Vercel

    Qwen4-Max now available on AI Gateway

    Alibaba's Qwen4-Max reasoning model is now available on Vercel's AI Gateway, featuring native vision, 1M-token context, and support for professional tools including Blender and game engines.

  5. Official Vercel

    Kimi K3.1 Pro is now available in Token Pass

    Kimi K3.1 Pro, a model for coding and agentic workflows with vision and tool use, is now available in Vercel's Token Pass subscription at $30 per month for $80 in credits.

  6. Official Vercel

    Chat SDK agents can now stream generative UI with json-render

    Chat SDK agents can now stream generative UI using json-render, which converts JSON specs to platform-native UI formats like Slack Block Kit and Teams Adaptive Cards.

What changed: recent AI SDK releases

Monthly summary · Full changelog

7.0.177
  • e403988: add an interrupt option to steering so a steer can cancel a model call that has not produced output yet
  • b792b56: feat(ai): ship the AI SDK skill in the package at skills/ai-sdk for pnpm agent skills
  • Updated dependencies [700089c]
  • @ai-sdk/gateway@4.0.150
7.0.176
  • Updated dependencies [f886264]
  • Updated dependencies [d03d74a]
  • @ai-sdk/gateway@4.0.149
Earlier releases
7.0.175
  • Updated dependencies [ed981f8]
  • @ai-sdk/gateway@4.0.148
5.0.291
  • d9bda29: Reduce memory and CPU usage when validating UI messages with deeply nested provider metadata.
  • Updated dependencies [e88ddaa]
  • Updated dependencies [68bf653]
  • @ai-sdk/gateway@2.0.182
7.0.174
  • 3bea041: feat(ai): support output in startBatch and parse it in getBatchResults
  • 30d35eb: Fix streamText passing tools: undefined to experimental_transform factories when no tools are provided. Transforms now receive an empty tool set, matching the StreamTextTransform type.
  • fab7478: Fix locked stream errors when telemetry subscribers or integrations replace a model stream whose request or response metadata requires credential redaction.
  • 10ff0b1: add extraction model support to provider registries, custom providers and string model ids
  • 718824c: Prevent excessive memory and CPU usage when validating UI messages with deeply nested provider or tool metadata.
  • d99098a: Centralize empty extraction value normalization in experimental_extract, preserving missing-value behavior while removing duplicated conversion from extraction providers.
6.0.333
  • 2771b61: Reduce memory and CPU usage when validating UI messages with deeply nested provider or tool metadata.
  • Updated dependencies [9faffa5]
  • Updated dependencies [3cf16af]
  • Updated dependencies [d59eee0]
  • @ai-sdk/gateway@3.0.238
  • @ai-sdk/provider-utils@4.0.67

AI SDK prices over time

Token prices of OpenAI modelsnewest OpenAI model in each family, output price per 1M tokens
OpenAI FlagshipOpenAI Mini

AI SDK popularity and usage data

AI SDK was downloaded 47.2M times from npm in the week ending Nov 17, 2026, up 3.9% on the week before and up 38.4% over the last 30 days compared with the 30 before. The GitHub repository has 28.1K stars, 726 of them added in the last 30 days. The latest stable release is 7.0.177, published Nov 18, 2026; there were 63 stable releases in the past 30 days. It was mentioned in 4 Hacker News posts and comments over the last 30 days.

Downloads per daynpm, 7-day average 6.7M/day
GitHub starsrunning total 28.1K
Hacker News mentionsposts and comments, rolling 7-day total 0 this week

Download the raw daily series: vercel-ai-sdk.csv

Gid Score breakdown

Adoption100
Community60
Attention0
Momentum69

Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.

How fresh these numbers are

NumberLatest readingLast checked
Package downloadsNov 17, 2026Nov 19, 06:23 UTC
GitHub starsNov 19, 2026Nov 19, 06:26 UTC
Hacker News mentionsNov 18, 2026Nov 19, 06:26 UTC

We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.

AI SDK FAQ

How much does AI SDK cost?

AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.

Is AI SDK open source?

Yes. AI SDK is open source, released under the Apache-2.0 license.

How popular is AI SDK?

AI SDK was downloaded 47.2M times from npm in the week ending Nov 17, 2026, up 3.9% on the week before and up 38.4% over the last 30 days compared with the 30 before. The GitHub repository has 28.1K stars, 726 of them added in the last 30 days. The latest stable release is 7.0.177, published Nov 18, 2026; there were 63 stable releases in the past 30 days.

What is the latest version of AI SDK?

The latest stable release we track is 7.0.177, published on Nov 18, 2026.

What are the alternatives to AI SDK?

The closest alternatives in the same category by Gid Score are LangChain, LangGraph, Claude Agent SDK, Mastra.

For the makers of AI SDK badges, corrections

Add a live badge to your README or site:

AgentGid: #3 in Frameworks Gid Score: 68/100 downloads: 47.2M/week ▲38% 30d

[![AgentGid: #3 in Frameworks](https://agentgid.com/badges/vercel-ai-sdk-rank.svg)](https://agentgid.com/agents/vercel-ai-sdk/)
[![Gid Score: 68/100](https://agentgid.com/badges/vercel-ai-sdk-score.svg)](https://agentgid.com/agents/vercel-ai-sdk/)
[![downloads: 47.2M/week ▲38% 30d](https://agentgid.com/badges/vercel-ai-sdk-downloads.svg)](https://agentgid.com/agents/vercel-ai-sdk/)

Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.

Where these numbers come from

npm: ai. GitHub: vercel/ai. See data sources for how each one is collected.