npm
Monthly npm download counts for AI SDKs, agent CLIs and model-vendor adapters — OpenAI, Anthropic, Google, the Vercel AI SDK — with vendor shares and the whole-registry total as a baseline. Data since 2015.
npm downloads
openai
149M +420.4% yr as of Sep 2026
@anthropic-ai/sdk
159M ×16 yr as of Sep 2026
langchain
11.5M +131.4% yr as of Sep 2026
@langchain/core
22.2M +210.8% yr as of Sep 2026
ai (Vercel AI SDK)
102M +736.8% yr as of Sep 2026
ollama
2.6M +101.9% yr as of Sep 2026
@huggingface/inference
1.5M +51.3% yr as of Sep 2026
@google/generative-ai
15.9M +209.4% yr as of Sep 2026
cohere-ai
1.8M +43.8% yr as of Sep 2026
@modelcontextprotocol/sdk
222M +610.4% yr as of Sep 2026
tiktoken
6.4M +153.7% yr as of Sep 2026
@google/genai
92.7M ×13 yr as of Sep 2026
@mistralai/mistralai
32.4M ×27 yr as of Sep 2026
@anthropic-ai/claude-agent-sdk
46.5M ×2185 yr as of Sep 2026
@openai/agents
7.2M ×20 yr as of Sep 2026
@huggingface/transformers (Transformers.js)
12.5M ×18 yr as of Sep 2026
groq-sdk
3.5M +117.3% yr as of Sep 2026
replicate
2.1M +175.6% yr as of Sep 2026
@openrouter/ai-sdk-provider
11.7M ×19 yr as of Sep 2026
lodash (non-AI control)
666M +108.0% yr as of Sep 2026
Agent CLIs
@anthropic-ai/claude-code
53.3M +134.6% yr as of Sep 2026
@openai/codex
86.3M ×99 yr as of Sep 2026
@google/gemini-cli
1.5M −39.4% yr as of Sep 2026
@github/copilot (Copilot CLI)
7.0M ×147 yr as of Sep 2026
opencode-ai
9.4M ×74 yr as of Sep 2026
@qwen-code/qwen-code
271k +11.3% yr as of Sep 2026
Amp CLI (Sourcegraph)
205k +308.2% yr as of Sep 2026
Model-vendor adapters (Vercel AI SDK)
Each package connects the Vercel AI SDK to one model vendor. The lines compare vendors, but only inside JavaScript projects that use this SDK.
@ai-sdk/openai
53.1M +690.8% yr as of Sep 2026
@ai-sdk/anthropic
51.1M ×14 yr as of Sep 2026
@ai-sdk/google
32.9M ×11 yr as of Sep 2026
@ai-sdk/xai
10.4M ×14 yr as of Sep 2026
@ai-sdk/mistral
8.0M ×12 yr as of Sep 2026
@ai-sdk/deepseek
10.2M ×20 yr as of Sep 2026
@ai-sdk/perplexity
5.5M +873.1% yr as of Sep 2026
@ai-sdk/cohere
3.6M ×29 yr as of Sep 2026
Model-vendor share (Vercel AI SDK)
A vendor's share is its downloads divided by the total of all eight adapters.
OpenAI share derived
30.4% −27.8% yr as of Sep 2026
Anthropic share derived
29.2% +27.1% yr as of Sep 2026
Google share derived
18.8% +0.5% yr as of Sep 2026
xAI share derived
6.0% +30.9% yr as of Sep 2026
Mistral share derived
4.6% +12.0% yr as of Sep 2026
DeepSeek share derived
5.9% +80.3% yr as of Sep 2026
Perplexity share derived
3.1% −11.3% yr as of Sep 2026
Cohere share derived
2.0% +164.9% yr as of Sep 2026
Figures
| Series | Latest | Change | Min | Max | Coverage |
|---|---|---|---|---|---|
| openai | 149M | +420.4% yr | 8 | 149M | Jul 2020 — Sep 2026 |
| @anthropic-ai/sdk | 159M | ×16 yr | 97 | 159M | Jan 2023 — Sep 2026 |
| @anthropic-ai/claude-code | 53.3M | +134.6% yr | 148k | 82.2M | Feb 2025 — Sep 2026 |
| langchain | 11.5M | +131.4% yr | 40.1k | 11.9M | Mar 2023 — Sep 2026 |
| @langchain/core | 22.2M | +210.8% yr | 18.8k | 22.3M | Nov 2023 — Sep 2026 |
| ai (Vercel AI SDK) | 102M | +736.8% yr | 201 | 102M | Jan 2023 — Sep 2026 |
| ollama | 2.6M | +101.9% yr | 61 | 2.8M | Sep 2023 — Sep 2026 |
| @huggingface/inference | 1.5M | +51.3% yr | 185 | 2.0M | Feb 2023 — Sep 2026 |
| @google/generative-ai | 15.9M | +209.4% yr | 36.6k | 17.5M | Dec 2023 — Sep 2026 |
| cohere-ai | 1.8M | +43.8% yr | 4 | 2.1M | Jan 2021 — Sep 2026 |
| @openai/codex | 86.3M | ×99 yr | 82.2k | 239M | Apr 2025 — Sep 2026 |
| @ai-sdk/openai | 53.1M | +690.8% yr | 8.3k | 53.1M | Apr 2024 — Sep 2026 |
| @modelcontextprotocol/sdk | 222M | +610.4% yr | 13.8k | 222M | Nov 2024 — Sep 2026 |
| tiktoken | 6.4M | +153.7% yr | 130 | 6.4M | Feb 2023 — Sep 2026 |
| @google/genai | 92.7M | ×13 yr | 23.9k | 92.7M | Mar 2025 — Sep 2026 |
| @mistralai/mistralai | 32.4M | ×27 yr | 9.3k | 32.4M | Dec 2023 — Sep 2026 |
| All of npm (total downloads) | 699B | +82.1% yr | 63.5M | 699B | Feb 2015 — Sep 2026 |
| @anthropic-ai/claude-agent-sdk | 46.5M | ×2185 yr | 21.3k | 46.5M | Sep 2025 — Sep 2026 |
| @openai/agents | 7.2M | ×20 yr | 45.7k | 7.2M | Jun 2025 — Sep 2026 |
| @huggingface/transformers (Transformers.js) | 12.5M | ×18 yr | 4.8k | 12.5M | Aug 2024 — Sep 2026 |
| groq-sdk | 3.5M | +117.3% yr | 2.5k | 3.8M | Feb 2024 — Sep 2026 |
| replicate | 2.1M | +175.6% yr | 538 | 2.4M | Feb 2023 — Sep 2026 |
| @openrouter/ai-sdk-provider | 11.7M | ×19 yr | 144 | 11.7M | Jul 2024 — Sep 2026 |
| @google/gemini-cli | 1.5M | −39.4% yr | 342k | 3.5M | Jun 2025 — Sep 2026 |
| @github/copilot (Copilot CLI) | 7.0M | ×147 yr | 48.0k | 10.4M | Sep 2025 — Sep 2026 |
| opencode-ai | 9.4M | ×74 yr | 1.2k | 10.5M | May 2025 — Sep 2026 |
| @qwen-code/qwen-code | 271k | +11.3% yr | 38.6k | 504k | Jul 2025 — Sep 2026 |
| Amp CLI (Sourcegraph) | 205k | +308.2% yr | 7.5k | 243k | Apr 2025 — Sep 2026 |
| @ai-sdk/anthropic | 51.1M | ×14 yr | 3.7k | 51.1M | Apr 2024 — Sep 2026 |
| @ai-sdk/google | 32.9M | ×11 yr | 3.2k | 32.9M | Apr 2024 — Sep 2026 |
| @ai-sdk/xai | 10.4M | ×14 yr | 2.5k | 10.4M | Nov 2024 — Sep 2026 |
| @ai-sdk/mistral | 8.0M | ×12 yr | 691 | 8.0M | Apr 2024 — Sep 2026 |
| @ai-sdk/deepseek | 10.2M | ×20 yr | 45.6k | 10.2M | Jan 2025 — Sep 2026 |
| @ai-sdk/perplexity | 5.5M | +873.1% yr | 1.5k | 5.5M | Jan 2025 — Sep 2026 |
| @ai-sdk/cohere | 3.6M | ×29 yr | 479 | 3.6M | Jun 2024 — Sep 2026 |
| OpenAI share | 30.4% | −27.8% yr | 28.9% | 67.7% | Jan 2025 — Sep 2026 |
| Anthropic share | 29.2% | +27.1% yr | 13.0% | 30.0% | Jan 2025 — Sep 2026 |
| Google share | 18.8% | +0.5% yr | 8.3% | 20.6% | Jan 2025 — Sep 2026 |
| xAI share | 6.0% | +30.9% yr | 0.72% | 8.3% | Jan 2025 — Sep 2026 |
| Mistral share | 4.6% | +12.0% yr | 3.7% | 6.2% | Jan 2025 — Sep 2026 |
| DeepSeek share | 5.9% | +80.3% yr | 2.5% | 5.9% | Jan 2025 — Sep 2026 |
| Perplexity share | 3.1% | −11.3% yr | 0.11% | 4.5% | Jan 2025 — Sep 2026 |
| Cohere share | 2.0% | +164.9% yr | 0.73% | 3.8% | Jan 2025 — Sep 2026 |
| lodash (non-AI control) | 666M | +108.0% yr | 497k | 712M | Feb 2015 — Sep 2026 |