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

All of npm (total downloads)

847B +124.9% yr as of Oct 2026
0200B400B600B800B20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
This line counts every package on npm, not only AI packages. It is a control: the AI lines are a small part of it.

npm downloads

openai

173M +428.0% yr as of Oct 2026
020.0M40.0M60.0M80.0M100M120M140M160M180M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
Developers also use this package with other vendors, because those vendors copy OpenAI's API. The true OpenAI number is lower.

@anthropic-ai/sdk

193M ×18 yr as of Oct 2026
050.0M100M150M200M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

langchain

12.5M +134.0% yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@langchain/core

25.3M +221.4% yr as of Oct 2026
05.0M10.0M15.0M20.0M25.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

ai (Vercel AI SDK)

126M +630.6% yr as of Oct 2026
020.0M40.0M60.0M80.0M100M120M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
A different package used the npm name `ai` before Vercel took it over, so this line starts in January 2023.

ollama

3.2M +138.7% yr as of Oct 2026
0500k1.0M1.5M2.0M2.5M3.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@huggingface/inference

1.6M +45.4% yr as of Oct 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@google/generative-ai

15.7M +189.5% yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M16.0M18.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
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.

cohere-ai

2.1M +56.3% yr as of Oct 2026
0500k1.0M1.5M2.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@modelcontextprotocol/sdk

267M +739.1% yr as of Oct 2026
050.0M100M150M200M250M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

tiktoken

6.2M +87.0% yr as of Oct 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@google/genai

97.9M ×12 yr as of Oct 2026
020.0M40.0M60.0M80.0M100M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@mistralai/mistralai

26.9M ×21 yr as of Oct 2026
05.0M10.0M15.0M20.0M25.0M30.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@anthropic-ai/claude-agent-sdk

50.8M ×56 yr as of Oct 2026
010.0M20.0M30.0M40.0M50.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@openai/agents

8.2M ×16 yr as of Oct 2026
02.0M4.0M6.0M8.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@huggingface/transformers (Transformers.js)

15.6M ×23 yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M16.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
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.

groq-sdk

3.7M +114.5% yr as of Oct 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

replicate

2.4M +198.1% yr as of Oct 2026
0500k1.0M1.5M2.0M2.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@openrouter/ai-sdk-provider

12.7M ×13 yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

lodash (non-AI control)

648M +95.2% yr as of Oct 2026
0100M200M300M400M500M600M700M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
lodash is not an AI package. It is a control for normal npm growth. Always compare the AI lines with this control.

Agent CLIs

@anthropic-ai/claude-code

44.0M +83.5% yr as of Oct 2026
020.0M40.0M60.0M80.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@openai/codex

89.4M ×82 yr as of Oct 2026
050.0M100M150M200M250M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@google/gemini-cli

1.5M +29.1% yr as of Oct 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@github/copilot (Copilot CLI)

6.2M ×22 yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

opencode-ai

13.7M ×57 yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@qwen-code/qwen-code

345k +70.3% yr as of Oct 2026
0100k200k300k400k500k20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

Amp CLI (Sourcegraph)

207k +123.9% yr as of Oct 2026
050.0k100k150k200k250k20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv
Sourcegraph renamed this package in May 2026. This line adds @sourcegraph/amp and @ampcode/cli together, so it stays continuous.

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
010.0M20.0M30.0M40.0M50.0M60.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/anthropic

61.8M ×14 yr as of Oct 2026
010.0M20.0M30.0M40.0M50.0M60.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/google

38.3M +870.4% yr as of Oct 2026
010.0M20.0M30.0M40.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/xai

11.7M +875.7% yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M12.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/mistral

8.3M ×10 yr as of Oct 2026
02.0M4.0M6.0M8.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/deepseek

11.3M ×18 yr as of Oct 2026
02.0M4.0M6.0M8.0M10.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/perplexity

5.8M +707.9% yr as of Oct 2026
01.0M2.0M3.0M4.0M5.0M6.0M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

@ai-sdk/cohere

3.8M ×26 yr as of Oct 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M20162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
click a month to drill into daily png csv

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
01020304050607020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Anthropic share derived

30.1% +32.8% yr as of Oct 2026
05101520253020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Google share derived

18.7% −5.5% yr as of Oct 2026
0510152020162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

xAI share derived

5.7% −5.0% yr as of Oct 2026
0246820162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Mistral share derived

4.0% −0.5% yr as of Oct 2026
012345620162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

DeepSeek share derived

5.5% +77.7% yr as of Oct 2026
012345620162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Perplexity share derived

2.8% −21.3% yr as of Oct 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Cohere share derived

1.8% +152.1% yr as of Oct 2026
0123420162017201820192020202120222023202420252026Copilot GAClaude 3Gemini 2.5 ProGPT-6 Astra
png csv

Figures

npm: latest figure, change, range and coverage of each series
SeriesLatestChangeMinMaxCoverage
openai173M+428.0% yr8173MJul 2020 — Oct 2026
@anthropic-ai/sdk193M×18 yr97193MJan 2023 — Oct 2026
@anthropic-ai/claude-code44.0M+83.5% yr148k82.2MFeb 2025 — Oct 2026
langchain12.5M+134.0% yr40.1k12.5MMar 2023 — Oct 2026
@langchain/core25.3M+221.4% yr18.8k25.3MNov 2023 — Oct 2026
ai (Vercel AI SDK)126M+630.6% yr201126MJan 2023 — Oct 2026
ollama3.2M+138.7% yr613.2MSep 2023 — Oct 2026
@huggingface/inference1.6M+45.4% yr1852.0MFeb 2023 — Oct 2026
@google/generative-ai15.7M+189.5% yr36.6k17.5MDec 2023 — Oct 2026
cohere-ai2.1M+56.3% yr42.1MJan 2021 — Oct 2026
@openai/codex89.4M×82 yr82.2k239MApr 2025 — Oct 2026
@ai-sdk/openai64.0M+701.9% yr8.3k64.0MApr 2024 — Oct 2026
@modelcontextprotocol/sdk267M+739.1% yr13.8k267MNov 2024 — Oct 2026
tiktoken6.2M+87.0% yr1306.4MFeb 2023 — Oct 2026
@google/genai97.9M×12 yr23.9k97.9MMar 2025 — Oct 2026
@mistralai/mistralai26.9M×21 yr9.3k32.4MDec 2023 — Oct 2026
All of npm (total downloads)847B+124.9% yr63.5M847BFeb 2015 — Oct 2026
@anthropic-ai/claude-agent-sdk50.8M×56 yr21.3k50.8MSep 2025 — Oct 2026
@openai/agents8.2M×16 yr45.7k8.2MJun 2025 — Oct 2026
@huggingface/transformers (Transformers.js)15.6M×23 yr4.8k15.6MAug 2024 — Oct 2026
groq-sdk3.7M+114.5% yr2.5k3.8MFeb 2024 — Oct 2026
replicate2.4M+198.1% yr5382.4MFeb 2023 — Oct 2026
@openrouter/ai-sdk-provider12.7M×13 yr14412.7MJul 2024 — Oct 2026
@google/gemini-cli1.5M+29.1% yr342k3.5MJun 2025 — Oct 2026
@github/copilot (Copilot CLI)6.2M×22 yr48.0k10.4MSep 2025 — Oct 2026
opencode-ai13.7M×57 yr1.2k13.7MMay 2025 — Oct 2026
@qwen-code/qwen-code345k+70.3% yr38.6k504kJul 2025 — Oct 2026
Amp CLI (Sourcegraph)207k+123.9% yr7.5k243kApr 2025 — Oct 2026
@ai-sdk/anthropic61.8M×14 yr3.7k61.8MApr 2024 — Oct 2026
@ai-sdk/google38.3M+870.4% yr3.2k38.3MApr 2024 — Oct 2026
@ai-sdk/xai11.7M+875.7% yr2.5k11.7MNov 2024 — Oct 2026
@ai-sdk/mistral8.3M×10 yr6918.3MApr 2024 — Oct 2026
@ai-sdk/deepseek11.3M×18 yr45.6k11.3MJan 2025 — Oct 2026
@ai-sdk/perplexity5.8M+707.9% yr1.5k5.8MJan 2025 — Oct 2026
@ai-sdk/cohere3.8M×26 yr4793.8MJun 2024 — Oct 2026
OpenAI share31.3%−21.9% yr28.9%67.7%Jan 2025 — Oct 2026
Anthropic share30.1%+32.8% yr13.0%30.1%Jan 2025 — Oct 2026
Google share18.7%−5.5% yr8.3%20.6%Jan 2025 — Oct 2026
xAI share5.7%−5.0% yr0.72%8.3%Jan 2025 — Oct 2026
Mistral share4.0%−0.5% yr3.7%6.2%Jan 2025 — Oct 2026
DeepSeek share5.5%+77.7% yr2.5%5.9%Jan 2025 — Oct 2026
Perplexity share2.8%−21.3% yr0.11%4.5%Jan 2025 — Oct 2026
Cohere share1.8%+152.1% yr0.73%3.8%Jan 2025 — Oct 2026
lodash (non-AI control)648M+95.2% yr497k712MFeb 2015 — Oct 2026
← back to all sources