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 10 Aug 2026 api.npmjs.org ↗
release markers

All of npm (total downloads)

629B +62.7% yr as of Jul 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

130M +457.3% yr as of Jul 2026
020.0M40.0M60.0M80.0M100M120M20162017201820192020202120222023202420252026Copilot 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

117M ×14 yr as of Jul 2026
020.0M40.0M60.0M80.0M100M120M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

langchain

11.9M +165.9% yr as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@langchain/core

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

ai (Vercel AI SDK)

78.7M +809.9% yr as of Jul 2026
020.0M40.0M60.0M80.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.6M +128.7% yr as of Jul 2026
0500k1.0M1.5M2.0M2.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@huggingface/inference

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

@google/generative-ai

16.4M +250.7% yr as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M16.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 +38.6% yr as of Jul 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@modelcontextprotocol/sdk

192M +788.3% yr as of Jul 2026
050.0M100M150M200M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

tiktoken

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

@google/genai

68.2M ×19 yr as of Jul 2026
010.0M20.0M30.0M40.0M50.0M60.0M70.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@mistralai/mistralai

23.9M ×19 yr as of Jul 2026
05.0M10.0M15.0M20.0M25.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@anthropic-ai/claude-agent-sdk

33.7M ×1587 10 mo as of Jul 2026
05.0M10.0M15.0M20.0M25.0M30.0M35.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@openai/agents

5.9M ×46 yr as of Jul 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@huggingface/transformers (Transformers.js)

7.2M ×14 yr as of Jul 2026
01.0M2.0M3.0M4.0M5.0M6.0M7.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.8M +169.2% yr as of Jul 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

replicate

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

@openrouter/ai-sdk-provider

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

lodash (non-AI control)

685M +87.9% yr as of Jul 2026
0100M200M300M400M500M600M700M20162017201820192020202120222023202420252026Copilot 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

46.2M +170.9% yr as of Jul 2026
010.0M20.0M30.0M40.0M50.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@openai/codex

60.2M ×490 yr as of Jul 2026
050.0M100M150M200M250M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@google/gemini-cli

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

@github/copilot (Copilot CLI)

5.8M ×121 10 mo as of Jul 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

opencode-ai

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

@qwen-code/qwen-code

419k ×11 yr as of Jul 2026
0100k200k300k400k500k20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

Amp CLI (Sourcegraph)

172k +268.5% yr as of Jul 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

38.9M +683.7% yr as of Jul 2026
010.0M20.0M30.0M40.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/anthropic

39.6M ×17 yr as of Jul 2026
010.0M20.0M30.0M40.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/google

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

@ai-sdk/xai

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

@ai-sdk/mistral

6.3M ×11 yr as of Jul 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/deepseek

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

@ai-sdk/perplexity

4.3M +789.1% yr as of Jul 2026
01.0M2.0M3.0M4.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro
click a month to drill into daily

@ai-sdk/cohere

2.4M ×21 yr as of Jul 2026
0500k1.0M1.5M2.0M2.5M20162017201820192020202120222023202420252026Copilot 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

29.2% −32.2% yr as of Jul 2026
01020304050607020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Anthropic share derived

29.7% +49.6% yr as of Jul 2026
05101520253020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Google share derived

20.1% +9.8% yr as of Jul 2026
0510152020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

xAI share derived

6.2% +28.4% yr as of Jul 2026
0246820162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Mistral share derived

4.7% −7.9% yr as of Jul 2026
012345620162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

DeepSeek share derived

5.1% +39.2% yr as of Jul 2026
01234520162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Perplexity share derived

3.3% −23.2% yr as of Jul 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Cohere share derived

1.8% +80.8% yr as of Jul 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 Pro

Figures

SeriesLatestChangeMinMaxCoverage
openai130M+457.3% yr8130MJul 2020 — Jul 2026
@anthropic-ai/sdk117M×14 yr97117MJan 2023 — Jul 2026
@anthropic-ai/claude-code46.2M+170.9% yr148k49.4MFeb 2025 — Jul 2026
langchain11.9M+165.9% yr40.1k11.9MMar 2023 — Jul 2026
@langchain/core22.3M+249.9% yr18.8k22.3MNov 2023 — Jul 2026
ai (Vercel AI SDK)78.7M+809.9% yr20178.7MJan 2023 — Jul 2026
ollama2.6M+128.7% yr612.6MSep 2023 — Jul 2026
@huggingface/inference1.7M+94.9% yr1851.7MFeb 2023 — Jul 2026
@google/generative-ai16.4M+250.7% yr36.6k16.4MDec 2023 — Jul 2026
cohere-ai2.0M+38.6% yr42.0MJan 2021 — Jul 2026
@openai/codex60.2M×490 yr82.2k239MApr 2025 — Jul 2026
@ai-sdk/openai38.9M+683.7% yr8.3k38.9MApr 2024 — Jul 2026
@modelcontextprotocol/sdk192M+788.3% yr13.8k192MNov 2024 — Jul 2026
tiktoken6.4M+203.5% yr1306.4MFeb 2023 — Jul 2026
@google/genai68.2M×19 yr23.9k68.2MMar 2025 — Jul 2026
@mistralai/mistralai23.9M×19 yr9.3k23.9MDec 2023 — Jul 2026
All of npm (total downloads)629B+62.7% yr63.5M661BFeb 2015 — Jul 2026
@anthropic-ai/claude-agent-sdk33.7M×1587 10 mo21.3k33.7MSep 2025 — Jul 2026
@openai/agents5.9M×46 yr45.7k5.9MJun 2025 — Jul 2026
@huggingface/transformers (Transformers.js)7.2M×14 yr4.8k7.2MAug 2024 — Jul 2026
groq-sdk3.8M+169.2% yr2.5k3.8MFeb 2024 — Jul 2026
replicate2.2M+186.2% yr5382.2MFeb 2023 — Jul 2026
@openrouter/ai-sdk-provider6.8M×15 yr1446.8MJul 2024 — Jul 2026
@google/gemini-cli2.0M+145.3% yr342k3.5MJun 2025 — Jul 2026
@github/copilot (Copilot CLI)5.8M×121 10 mo48.0k6.4MSep 2025 — Jul 2026
opencode-ai8.6M×83 yr1.2k9.0MMay 2025 — Jul 2026
@qwen-code/qwen-code419k×11 yr38.6k504kJul 2025 — Jul 2026
Amp CLI (Sourcegraph)172k+268.5% yr7.5k208kApr 2025 — Jul 2026
@ai-sdk/anthropic39.6M×17 yr3.7k39.6MApr 2024 — Jul 2026
@ai-sdk/google26.7M×13 yr3.2k26.7MApr 2024 — Jul 2026
@ai-sdk/xai8.3M×15 yr2.5k8.3MNov 2024 — Jul 2026
@ai-sdk/mistral6.3M×11 yr6916.3MApr 2024 — Jul 2026
@ai-sdk/deepseek6.8M×16 yr45.6k6.8MJan 2025 — Jul 2026
@ai-sdk/perplexity4.3M+789.1% yr1.5k4.3MJan 2025 — Jul 2026
@ai-sdk/cohere2.4M×21 yr4792.4MJun 2024 — Jul 2026
OpenAI share29.2%−32.2% yr29.2%67.7%Jan 2025 — Jul 2026
Anthropic share29.7%+49.6% yr13.0%29.7%Jan 2025 — Jul 2026
Google share20.1%+9.8% yr8.3%20.6%Jan 2025 — Jul 2026
xAI share6.2%+28.4% yr0.7%8.3%Jan 2025 — Jul 2026
Mistral share4.7%−7.9% yr3.7%6.2%Jan 2025 — Jul 2026
DeepSeek share5.1%+39.2% yr2.5%5.1%Jan 2025 — Jul 2026
Perplexity share3.3%−23.2% yr0.1%4.5%Jan 2025 — Jul 2026
Cohere share1.8%+80.8% yr0.7%3.8%Jan 2025 — Jul 2026
lodash (non-AI control)685M+87.9% yr497k685MFeb 2015 — Jul 2026
← back to all sources