LangChain vs AI SDK
LangChain (LangChain) and AI SDK (Vercel) side by side on public data, as of Nov 20, 2026.
LangChain and AI SDK are close on weekly package downloads (41.1M and 47.2M). LangChain has 5.3x the GitHub stars of AI SDK (150K against 28.1K). Over the last 30 days downloads moved -3% for LangChain and +38% for AI SDK. LangChain shipped 19 stable releases in the past 90 days.
Which should you choose?
Choose LangChain if
- you prefer the more widely used tool, with more docs and answers around (Gid Score 79 against 68)
Choose AI SDK if
- you want the one gaining users faster (downloads up 38% in 30 days, +4% in the last 7)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | LangChain | AI SDK |
|---|---|---|
| Gid Score | 79 | 68 |
| Usage data as of | Nov 19 | Nov 19 |
| Rank by Gid Score | #1 | #3 |
| Downloads, last 7 days | 41.1M | 47.2M |
| Downloads, 7-day change | up 5.7% | up 3.9% |
| Downloads, 30-day change | down 2.7% | up 38.4% |
| VS Code installs | — | — |
| Marketplace rating | — | — |
| GitHub stars | 150K | 28.1K |
| Homebrew installs, 30 days | — | — |
| Hacker News mentions, 30 days | 66 | 4 |
| Latest stable release | 1.5.2 · 2d ago | 7.0.177 · 2d ago |
| Stable releases, 90 days | 19 | — |
| Terminal-Bench (best run) | — | — |
| Price | Free (OSS) | Free (OSS) |
| License | MIT | Apache-2.0 |
| First released | October 2022 | May 2023 |
| Interfaces | Python library, JavaScript library | TypeScript library |
| Models | — | — |
A dash means there is no public data for that metric as of Nov 20, 2026.
Trends
LangChain
A framework for building LLM applications and agents from composable parts: model integrations, tools, retrievers and prebuilt agent abstractions. Available for Python and JavaScript.
Pricing: LangChain is open source and free to use; you pay only for the models and infrastructure it runs on.
Latest release 1.5.2:
- Changes since langchain==1.5.1
- release(langchain): 1.5.2 feat(langchain): tag synthetic HITL tool messages with source metadata
AI SDK
Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.
Pricing: AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.
Latest release 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
LangChain vs AI SDK: common questions
Which is more popular, LangChain or AI SDK?
LangChain has a Gid Score of 79 against 68 for AI SDK. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.