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
173M +428.0% yr as of Oct 2026
@anthropic-ai/sdk
193M ×18 yr as of Oct 2026
langchain
12.5M +134.0% yr as of Oct 2026
@langchain/core
25.3M +221.4% yr as of Oct 2026
ai (Vercel AI SDK)
126M +630.6% yr as of Oct 2026
ollama
3.2M +138.7% yr as of Oct 2026
@huggingface/inference
1.6M +45.4% yr as of Oct 2026
@google/generative-ai
15.7M +189.5% yr as of Oct 2026
cohere-ai
2.1M +56.3% yr as of Oct 2026
@modelcontextprotocol/sdk
267M +739.1% yr as of Oct 2026
tiktoken
6.2M +87.0% yr as of Oct 2026
@google/genai
97.9M ×12 yr as of Oct 2026
@mistralai/mistralai
26.9M ×21 yr as of Oct 2026
@anthropic-ai/claude-agent-sdk
50.8M ×56 yr as of Oct 2026
@openai/agents
8.2M ×16 yr as of Oct 2026
@huggingface/transformers (Transformers.js)
15.6M ×23 yr as of Oct 2026
groq-sdk
3.7M +114.5% yr as of Oct 2026
replicate
2.4M +198.1% yr as of Oct 2026
@openrouter/ai-sdk-provider
12.7M ×13 yr as of Oct 2026
lodash (non-AI control)
648M +95.2% yr as of Oct 2026
Agent CLIs
@anthropic-ai/claude-code
44.0M +83.5% yr as of Oct 2026
@openai/codex
89.4M ×82 yr as of Oct 2026
@google/gemini-cli
1.5M +29.1% yr as of Oct 2026
@github/copilot (Copilot CLI)
6.2M ×22 yr as of Oct 2026
opencode-ai
13.7M ×57 yr as of Oct 2026
@qwen-code/qwen-code
345k +70.3% yr as of Oct 2026
Amp CLI (Sourcegraph)
207k +123.9% yr as of Oct 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
64.0M +701.9% yr as of Oct 2026
@ai-sdk/anthropic
61.8M ×14 yr as of Oct 2026
@ai-sdk/google
38.3M +870.4% yr as of Oct 2026
@ai-sdk/xai
11.7M +875.7% yr as of Oct 2026
@ai-sdk/mistral
8.3M ×10 yr as of Oct 2026
@ai-sdk/deepseek
11.3M ×18 yr as of Oct 2026
@ai-sdk/perplexity
5.8M +707.9% yr as of Oct 2026
@ai-sdk/cohere
3.8M ×26 yr as of Oct 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
31.3% −21.9% yr as of Oct 2026
Anthropic share derived
30.1% +32.8% yr as of Oct 2026
Google share derived
18.7% −5.5% yr as of Oct 2026
xAI share derived
5.7% −5.0% yr as of Oct 2026
Mistral share derived
4.0% −0.5% yr as of Oct 2026
DeepSeek share derived
5.5% +77.7% yr as of Oct 2026
Perplexity share derived
2.8% −21.3% yr as of Oct 2026
Cohere share derived
1.8% +152.1% yr as of Oct 2026
Figures
| Series | Latest | Change | Min | Max | Coverage |
|---|---|---|---|---|---|
| openai | 173M | +428.0% yr | 8 | 173M | Jul 2020 — Oct 2026 |
| @anthropic-ai/sdk | 193M | ×18 yr | 97 | 193M | Jan 2023 — Oct 2026 |
| @anthropic-ai/claude-code | 44.0M | +83.5% yr | 148k | 82.2M | Feb 2025 — Oct 2026 |
| langchain | 12.5M | +134.0% yr | 40.1k | 12.5M | Mar 2023 — Oct 2026 |
| @langchain/core | 25.3M | +221.4% yr | 18.8k | 25.3M | Nov 2023 — Oct 2026 |
| ai (Vercel AI SDK) | 126M | +630.6% yr | 201 | 126M | Jan 2023 — Oct 2026 |
| ollama | 3.2M | +138.7% yr | 61 | 3.2M | Sep 2023 — Oct 2026 |
| @huggingface/inference | 1.6M | +45.4% yr | 185 | 2.0M | Feb 2023 — Oct 2026 |
| @google/generative-ai | 15.7M | +189.5% yr | 36.6k | 17.5M | Dec 2023 — Oct 2026 |
| cohere-ai | 2.1M | +56.3% yr | 4 | 2.1M | Jan 2021 — Oct 2026 |
| @openai/codex | 89.4M | ×82 yr | 82.2k | 239M | Apr 2025 — Oct 2026 |
| @ai-sdk/openai | 64.0M | +701.9% yr | 8.3k | 64.0M | Apr 2024 — Oct 2026 |
| @modelcontextprotocol/sdk | 267M | +739.1% yr | 13.8k | 267M | Nov 2024 — Oct 2026 |
| tiktoken | 6.2M | +87.0% yr | 130 | 6.4M | Feb 2023 — Oct 2026 |
| @google/genai | 97.9M | ×12 yr | 23.9k | 97.9M | Mar 2025 — Oct 2026 |
| @mistralai/mistralai | 26.9M | ×21 yr | 9.3k | 32.4M | Dec 2023 — Oct 2026 |
| All of npm (total downloads) | 847B | +124.9% yr | 63.5M | 847B | Feb 2015 — Oct 2026 |
| @anthropic-ai/claude-agent-sdk | 50.8M | ×56 yr | 21.3k | 50.8M | Sep 2025 — Oct 2026 |
| @openai/agents | 8.2M | ×16 yr | 45.7k | 8.2M | Jun 2025 — Oct 2026 |
| @huggingface/transformers (Transformers.js) | 15.6M | ×23 yr | 4.8k | 15.6M | Aug 2024 — Oct 2026 |
| groq-sdk | 3.7M | +114.5% yr | 2.5k | 3.8M | Feb 2024 — Oct 2026 |
| replicate | 2.4M | +198.1% yr | 538 | 2.4M | Feb 2023 — Oct 2026 |
| @openrouter/ai-sdk-provider | 12.7M | ×13 yr | 144 | 12.7M | Jul 2024 — Oct 2026 |
| @google/gemini-cli | 1.5M | +29.1% yr | 342k | 3.5M | Jun 2025 — Oct 2026 |
| @github/copilot (Copilot CLI) | 6.2M | ×22 yr | 48.0k | 10.4M | Sep 2025 — Oct 2026 |
| opencode-ai | 13.7M | ×57 yr | 1.2k | 13.7M | May 2025 — Oct 2026 |
| @qwen-code/qwen-code | 345k | +70.3% yr | 38.6k | 504k | Jul 2025 — Oct 2026 |
| Amp CLI (Sourcegraph) | 207k | +123.9% yr | 7.5k | 243k | Apr 2025 — Oct 2026 |
| @ai-sdk/anthropic | 61.8M | ×14 yr | 3.7k | 61.8M | Apr 2024 — Oct 2026 |
| @ai-sdk/google | 38.3M | +870.4% yr | 3.2k | 38.3M | Apr 2024 — Oct 2026 |
| @ai-sdk/xai | 11.7M | +875.7% yr | 2.5k | 11.7M | Nov 2024 — Oct 2026 |
| @ai-sdk/mistral | 8.3M | ×10 yr | 691 | 8.3M | Apr 2024 — Oct 2026 |
| @ai-sdk/deepseek | 11.3M | ×18 yr | 45.6k | 11.3M | Jan 2025 — Oct 2026 |
| @ai-sdk/perplexity | 5.8M | +707.9% yr | 1.5k | 5.8M | Jan 2025 — Oct 2026 |
| @ai-sdk/cohere | 3.8M | ×26 yr | 479 | 3.8M | Jun 2024 — Oct 2026 |
| OpenAI share | 31.3% | −21.9% yr | 28.9% | 67.7% | Jan 2025 — Oct 2026 |
| Anthropic share | 30.1% | +32.8% yr | 13.0% | 30.1% | Jan 2025 — Oct 2026 |
| Google share | 18.7% | −5.5% yr | 8.3% | 20.6% | Jan 2025 — Oct 2026 |
| xAI share | 5.7% | −5.0% yr | 0.72% | 8.3% | Jan 2025 — Oct 2026 |
| Mistral share | 4.0% | −0.5% yr | 3.7% | 6.2% | Jan 2025 — Oct 2026 |
| DeepSeek share | 5.5% | +77.7% yr | 2.5% | 5.9% | Jan 2025 — Oct 2026 |
| Perplexity share | 2.8% | −21.3% yr | 0.11% | 4.5% | Jan 2025 — Oct 2026 |
| Cohere share | 1.8% | +152.1% yr | 0.73% | 3.8% | Jan 2025 — Oct 2026 |
| lodash (non-AI control) | 648M | +95.2% yr | 497k | 712M | Feb 2015 — Oct 2026 |