y-axis

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.

cadence · monthly 44 series updated 22 Jul 2026 api.npmjs.org ↗
release markers

All of npm (total downloads)

458B +25.7% yr as of Jun 2026
0100B200B300B400B500B600B700B20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
This line counts every package on npm, not only AI packages. It is a control: the AI lines are a small part of it.
click a month to drill into daily

npm downloads

openai

108M +428.2% yr as of Jun 2026
020.0M40.0M60.0M80.0M100M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
Developers also use this package with other vendors, because those vendors copy OpenAI's API. The true OpenAI number is lower.
click a month to drill into daily

@anthropic-ai/sdk

97.5M ×13 yr as of Jun 2026
020.0M40.0M60.0M80.0M100M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

langchain

10.2M +165.8% yr as of Jun 2026
02.0M4.0M6.0M8.0M10.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@langchain/core

19.8M +238.5% yr as of Jun 2026
05.0M10.0M15.0M20.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

ai (Vercel AI SDK)

63.9M +784.8% yr as of Jun 2026
010.0M20.0M30.0M40.0M50.0M60.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
A different package used the npm name `ai` before Vercel took it over, so this line starts in January 2023.
click a month to drill into daily

ollama

2.1M +105.2% yr as of Jun 2026
0500k1.0M1.5M2.0M2.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@huggingface/inference

1.6M +99.7% yr as of Jun 2026
0200k400k600k800k1.0M1.2M1.4M1.6M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@google/generative-ai

14.1M +264.5% yr as of Jun 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
This is Google's old Gemini SDK. Developers moved to the new @google/genai, so the fall here shows a move, not less use of Google.
click a month to drill into daily

cohere-ai

2.0M +47.3% yr as of Jun 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@modelcontextprotocol/sdk

165M +881.0% yr as of Jun 2026
020.0M40.0M60.0M80.0M100M120M140M160M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

tiktoken

5.7M +211.2% yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@google/genai

65.1M ×34 yr as of Jun 2026
010.0M20.0M30.0M40.0M50.0M60.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@mistralai/mistralai

19.9M ×18 yr as of Jun 2026
05.0M10.0M15.0M20.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@anthropic-ai/claude-agent-sdk

28.1M ×1323 9 mo as of Jun 2026
05.0M10.0M15.0M20.0M25.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@openai/agents

4.8M ×104 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@huggingface/transformers (Transformers.js)

5.3M ×15 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
This line counts only the new name. The old name @xenova/transformers still gets about 2.3M downloads a month, so the true total is higher.
click a month to drill into daily

groq-sdk

3.7M +213.1% yr as of Jun 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

replicate

2.0M +162.0% yr as of Jun 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@openrouter/ai-sdk-provider

5.1M ×15 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

lodash (non-AI control)

634M +77.8% yr as of Jun 2026
0100M200M300M400M500M600M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
lodash is not an AI package. It is a control for normal npm growth. Always compare the AI lines with this control.
click a month to drill into daily

Agent CLIs

@anthropic-ai/claude-code

44.0M ×10 yr as of Jun 2026
010.0M20.0M30.0M40.0M50.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@openai/codex

46.2M ×441 yr as of Jun 2026
050.0M100M150M200M250M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@google/gemini-cli

2.5M +636.5% yr as of Jun 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@github/copilot (Copilot CLI)

3.8M ×78 9 mo as of Jun 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

opencode-ai

9.0M ×212 yr as of Jun 2026
02.0M4.0M6.0M8.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@qwen-code/qwen-code

463k ×12 yr as of Jun 2026
0100k200k300k400k500k20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

Amp CLI (Sourcegraph)

152k +501.2% yr as of Jun 2026
050.0k100k150k200k20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
Sourcegraph renamed this package in May 2026. This line adds @sourcegraph/amp and @ampcode/cli together, so it stays continuous.
click a month to drill into daily

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

32.1M +711.6% yr as of Jun 2026
05.0M10.0M15.0M20.0M25.0M30.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/anthropic

30.0M ×18 yr as of Jun 2026
05.0M10.0M15.0M20.0M25.0M30.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/google

22.0M ×13 yr as of Jun 2026
05.0M10.0M15.0M20.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/xai

7.2M ×20 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M6.0M7.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/mistral

5.3M ×14 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/deepseek

4.7M ×19 yr as of Jun 2026
01.0M2.0M3.0M4.0M5.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/perplexity

3.6M ×11 yr as of Jun 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/cohere

2.0M ×21 yr as of Jun 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

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.0% −33.8% yr as of Jun 2026
01020304050607020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Anthropic share derived

28.1% +43.0% yr as of Jun 2026
05101520253020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Google share derived

20.6% +9.7% yr as of Jun 2026
0510152020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

xAI share derived

6.7% +64.4% yr as of Jun 2026
0246820162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Mistral share derived

5.0% +10.2% yr as of Jun 2026
012345620162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

DeepSeek share derived

4.4% +54.5% yr as of Jun 2026
01234520162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Perplexity share derived

3.4% −10.8% yr as of Jun 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Cohere share derived

1.9% +69.0% yr as of Jun 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Figures

SeriesLatestChangeMinMaxCoverage
openai108M+428.2% yr8108MJul 2020 — Jun 2026
@anthropic-ai/sdk97.5M×13 yr9797.5MJan 2023 — Jun 2026
@anthropic-ai/claude-code44.0M×10 yr148k49.4MFeb 2025 — Jun 2026
langchain10.2M+165.8% yr40.1k10.2MMar 2023 — Jun 2026
@langchain/core19.8M+238.5% yr18.8k19.8MNov 2023 — Jun 2026
ai (Vercel AI SDK)63.9M+784.8% yr20163.9MJan 2023 — Jun 2026
ollama2.1M+105.2% yr612.4MSep 2023 — Jun 2026
@huggingface/inference1.6M+99.7% yr1851.7MFeb 2023 — Jun 2026
@google/generative-ai14.1M+264.5% yr36.6k14.1MDec 2023 — Jun 2026
cohere-ai2.0M+47.3% yr42.0MJan 2021 — Jun 2026
@openai/codex46.2M×441 yr82.2k239MApr 2025 — Jun 2026
@ai-sdk/openai32.1M+711.6% yr8.3k32.1MApr 2024 — Jun 2026
@modelcontextprotocol/sdk165M+881.0% yr13.8k165MNov 2024 — Jun 2026
tiktoken5.7M+211.2% yr1305.7MFeb 2023 — Jun 2026
@google/genai65.1M×34 yr23.9k65.1MMar 2025 — Jun 2026
@mistralai/mistralai19.9M×18 yr9.3k19.9MDec 2023 — Jun 2026
All of npm (total downloads)458B+25.7% yr63.5M661BFeb 2015 — Jun 2026
@anthropic-ai/claude-agent-sdk28.1M×1323 9 mo21.3k28.1MSep 2025 — Jun 2026
@openai/agents4.8M×104 yr45.7k4.8MJun 2025 — Jun 2026
@huggingface/transformers (Transformers.js)5.3M×15 yr4.8k5.3MAug 2024 — Jun 2026
groq-sdk3.7M+213.1% yr2.5k3.7MFeb 2024 — Jun 2026
replicate2.0M+162.0% yr5382.0MFeb 2023 — Jun 2026
@openrouter/ai-sdk-provider5.1M×15 yr1445.1MJul 2024 — Jun 2026
@google/gemini-cli2.5M+636.5% yr342k3.5MJun 2025 — Jun 2026
@github/copilot (Copilot CLI)3.8M×78 9 mo48.0k6.4MSep 2025 — Jun 2026
opencode-ai9.0M×212 yr1.2k9.0MMay 2025 — Jun 2026
@qwen-code/qwen-code463k×12 yr38.6k504kJul 2025 — Jun 2026
Amp CLI (Sourcegraph)152k+501.2% yr7.5k208kApr 2025 — Jun 2026
@ai-sdk/anthropic30.0M×18 yr3.7k30.0MApr 2024 — Jun 2026
@ai-sdk/google22.0M×13 yr3.2k22.0MApr 2024 — Jun 2026
@ai-sdk/xai7.2M×20 yr2.5k7.2MNov 2024 — Jun 2026
@ai-sdk/mistral5.3M×14 yr6915.3MApr 2024 — Jun 2026
@ai-sdk/deepseek4.7M×19 yr45.6k4.7MJan 2025 — Jun 2026
@ai-sdk/perplexity3.6M×11 yr1.5k3.6MJan 2025 — Jun 2026
@ai-sdk/cohere2.0M×21 yr4792.0MJun 2024 — Jun 2026
OpenAI share30.0%−33.8% yr30.0%67.7%Jan 2025 — Jun 2026
Anthropic share28.1%+43.0% yr13.0%28.1%Jan 2025 — Jun 2026
Google share20.6%+9.7% yr8.3%20.6%Jan 2025 — Jun 2026
xAI share6.7%+64.4% yr0.7%8.3%Jan 2025 — Jun 2026
Mistral share5.0%+10.2% yr3.7%6.2%Jan 2025 — Jun 2026
DeepSeek share4.4%+54.5% yr2.5%5.1%Jan 2025 — Jun 2026
Perplexity share3.4%−10.8% yr0.1%4.5%Jan 2025 — Jun 2026
Cohere share1.9%+69.0% yr0.7%3.8%Jan 2025 — Jun 2026
lodash (non-AI control)634M+77.8% yr497k650MFeb 2015 — Jun 2026
← back to all sources