- 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
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.
Use it in: API / SDK Works with: MCP Local models Multi-agent
On this page
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
| Maker | Vercel |
|---|---|
| Type | TypeScript AI toolkit |
| First released | May 2023 |
| License | Apache-2.0 |
| Interfaces | TypeScript library |
| Main language | TypeScript |
| Open issues and PRs | 1,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.
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
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.
- 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
How to Build an AI Agent: No-Code Builders, Frameworks and SDKs
A practical guide to building your first AI agent: choosing between no-code builders, open-source frameworks and model vendors' SDKs, the core agent loop, tools, guardrails and testing, with live usage data for each option.
Best AI Agent Frameworks in 2026: LangGraph, CrewAI, OpenAI Agents SDK and More
The AI agent frameworks developers actually use, ranked on live downloads and GitHub data, with a plain guide to which one fits Python, TypeScript, multi-agent or Microsoft-stack work.
What Is MCP (Model Context Protocol)? A Plain Guide and the Most Popular MCP Servers
What the Model Context Protocol is, how MCP servers and clients work, which AI agents support it, how to install a server safely, and the most-starred MCP servers by category.
Get started with AI SDK
| npm | npm 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
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
LiteLLM
One gateway for 100+ models with spend tracking, budgets, rate limits and fallbacks.
Langfuse
Traces every model and tool call with its cost and latency, and runs evaluations.
Firecrawl
Turns websites into clean Markdown or structured data the agent can read.
E2B
Runs agent-written code in isolated cloud sandboxes instead of on your machine.
Composio
Connects the agent to 1,000+ apps and APIs with managed sign-in.
Mem0
Adds long-term memory, so the agent remembers users and past work across sessions.
Listed because each tool documents support for AI SDK or for agent frameworks in general. Savings and results depend on your workload.
AI SDK alternatives
Best AI SDK alternatives compared · All agent frameworks and SDKs
| # | 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 |
Claude Agent SDKAnthropic |
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 |
OpenAI Agents SDKOpenAI |
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
What 1,545 public GitHub projects that depend on AI SDK use with it, from their dependency files.
- TypeScript95.1%
- Zod84.2%
- React75.2%
- Tailwind CSS69.6%
- ESLint60.9%
- Next.js60.5%
- Lucide React59.2%
- clsx56.1%
- Tailwind Merge55.8%
- Class Variance Authority53.3%
Used far more often here than in AI-built projects overall: what sets AI SDK projects apart.
- Firecrawl (JavaScript)10.3% · 107.3×
- @openrouter/ai-sdk-provider10.4% · 23.1×
- Mastra13.4% · 22.6×
- LangChain.js11.9% · 19.6×
- Convex11.6% · 19.6×
- Clerk10.9% · 11.7×
- Nanoid (JavaScript)13.5% · 8.1×
- 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
-
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]
-
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.
-
AI SDK 7.0.176 released
Updated dependencies [f886264]; Updated dependencies [d03d74a]; @ai-sdk/gateway@4.0.149 (+4 more releases that day)
-
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.
-
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.
-
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
- Updated dependencies [f886264]
- Updated dependencies [d03d74a]
- @ai-sdk/gateway@4.0.149
Earlier releases
- Updated dependencies [ed981f8]
- @ai-sdk/gateway@4.0.148
- 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
- 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.
- 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
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.
Download the raw daily series: vercel-ai-sdk.csv
Gid Score breakdown
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
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 17, 2026 | Nov 19, 06:23 UTC |
| GitHub stars | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Hacker News mentions | Nov 18, 2026 | Nov 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:
[](https://agentgid.com/agents/vercel-ai-sdk/)
[](https://agentgid.com/agents/vercel-ai-sdk/)
[](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.