y-axis

PyPI

Monthly PyPI download counts for AI Python packages: model-vendor SDKs, agent frameworks, inference and serving, model tooling, and Model Context Protocol libraries, with all-PyPI downloads as a baseline and a derived vendor share. pypistats serves about 180 days, so this history begins in January 2026 and grows forward.

cadence · monthly 39 series updated 10 Aug 2026 pypistats.org ↗
release markers

All of PyPI (total downloads)

184B +311.7% 6 mo as of Jul 2026
020.0B40.0B60.0B80.0B100B120B140B160B180B2026
This line counts every package on PyPI, not only AI packages. It is a control: the AI lines are a small part of it.
click a month to drill into daily

Model-vendor SDKs

openai

399M +519.4% 6 mo as of Jul 2026
0100M200M300M400M2026
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

185M +850.0% 6 mo as of Jul 2026
020.0M40.0M60.0M80.0M100M120M140M160M180M2026
click a month to drill into daily

google-generativeai

16.4M +151.2% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M16.0M18.0M2026
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

mistralai

49.7M ×11 6 mo as of Jul 2026
010.0M20.0M30.0M40.0M50.0M2026
click a month to drill into daily

cohere

40.9M +731.9% 6 mo as of Jul 2026
010.0M20.0M30.0M40.0M2026
click a month to drill into daily

google-genai

298M +571.5% 6 mo as of Jul 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

xai-sdk

4.8M ×10 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M2026
click a month to drill into daily

perplexityai

1.2M +653.1% 6 mo as of Jul 2026
0200k400k600k800k1.0M1.2M2026
click a month to drill into daily

dashscope

3.5M ×10 6 mo as of Jul 2026
0500k1.0M1.5M2.0M2.5M3.0M3.5M2026
Alibaba's DashScope SDK calls every model that Alibaba hosts, not only Qwen. The true Qwen number is lower.
click a month to drill into daily

Agent frameworks & SDKs

openai-agents

35.2M +772.3% 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M25.0M30.0M35.0M2026
click a month to drill into daily

langchain

316M +214.0% 6 mo as of Jul 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

langchain-core

176M +388.1% 6 mo as of Jul 2026
020.0M40.0M60.0M80.0M100M120M140M160M180M2026
click a month to drill into daily

langgraph

72.6M +443.0% 6 mo as of Jul 2026
010.0M20.0M30.0M40.0M50.0M60.0M70.0M2026
click a month to drill into daily

llama-index

7.3M +141.9% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M2026
click a month to drill into daily

instructor

19.9M +408.0% 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M2026
click a month to drill into daily

claude-agent-sdk

30.2M ×25 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M25.0M30.0M2026
click a month to drill into daily

crewai

12.4M +639.2% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M2026
click a month to drill into daily

pydantic-ai

16.4M +369.4% 6 mo as of Jul 2026
010.0M20.0M30.0M40.0M2026
click a month to drill into daily

dspy

6.5M +316.3% 6 mo as of Jul 2026
01.0M2.0M3.0M4.0M5.0M6.0M7.0M2026
click a month to drill into daily

smolagents

626k +420.0% 6 mo as of Jul 2026
0100k200k300k400k500k600k2026
click a month to drill into daily

Inference & serving

litellm

684M ×29 6 mo as of Jul 2026
0100M200M300M400M500M600M700M2026
click a month to drill into daily

ollama

19.9M +629.9% 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M2026
click a month to drill into daily

vllm

5.8M +368.9% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M2026
click a month to drill into daily

groq

27.6M +817.8% 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M25.0M2026
click a month to drill into daily

together

2.7M +160.3% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M2026
click a month to drill into daily

Model tooling

transformers

186M +319.8% 6 mo as of Jul 2026
020.0M40.0M60.0M80.0M100M120M140M160M180M2026
click a month to drill into daily

huggingface-hub

443M +481.2% 6 mo as of Jul 2026
0100M200M300M400M2026
click a month to drill into daily

sentence-transformers

30.6M +304.2% 6 mo as of Jul 2026
05.0M10.0M15.0M20.0M25.0M30.0M2026
click a month to drill into daily

tiktoken

233M +572.4% 6 mo as of Jul 2026
050.0M100M150M200M2026
click a month to drill into daily

chromadb

13.3M +174.0% 6 mo as of Jul 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M2026
click a month to drill into daily

Model Context Protocol

fastmcp needs mcp, so every fastmcp install also counts as an mcp install. Do not add the two charts together.

mcp

320M ×11 6 mo as of Jul 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

fastmcp

88.9M ×11 6 mo as of Jul 2026
020.0M40.0M60.0M80.0M100M2026
click a month to drill into daily

Model-vendor share (official Python SDKs)

A vendor's share is its downloads divided by the total of all six SDKs. ⚠ Developers also use `openai` with other vendors, so the true OpenAI share is lower.

OpenAI share derived

40.1% −5.0% 6 mo as of Jul 2026
0102030402026

Anthropic share derived

18.6% +44.0% 6 mo as of Jul 2026
0246810121416182026

Google share derived

31.6% −17.6% 6 mo as of Jul 2026
010203040502026

xAI share derived

0.5% +29.7% 6 mo as of Jul 2026
00.20.40.60.812026

Mistral share derived

5.0% +73.4% 6 mo as of Jul 2026
0123452026

Cohere share derived

4.1% +28.4% 6 mo as of Jul 2026
01234562026

Figures

SeriesLatestChangeMinMaxCoverage
openai399M+519.4% 6 mo64.4M399MJan 2026 — Jul 2026
anthropic185M+850.0% 6 mo19.5M185MJan 2026 — Jul 2026
openai-agents35.2M+772.3% 6 mo4.0M35.2MJan 2026 — Jul 2026
langchain316M+214.0% 6 mo101M328MJan 2026 — Jul 2026
langchain-core176M+388.1% 6 mo36.1M176MJan 2026 — Jul 2026
langgraph72.6M+443.0% 6 mo13.4M72.6MJan 2026 — Jul 2026
llama-index7.3M+141.9% 6 mo3.0M12.6MJan 2026 — Jul 2026
litellm684M×29 6 mo23.2M684MJan 2026 — Jul 2026
instructor19.9M+408.0% 6 mo3.9M19.9MJan 2026 — Jul 2026
transformers186M+319.8% 6 mo44.4M186MJan 2026 — Jul 2026
huggingface-hub443M+481.2% 6 mo76.2M443MJan 2026 — Jul 2026
sentence-transformers30.6M+304.2% 6 mo7.6M30.6MJan 2026 — Jul 2026
tiktoken233M+572.4% 6 mo34.7M233MJan 2026 — Jul 2026
chromadb13.3M+174.0% 6 mo4.8M14.8MJan 2026 — Jul 2026
ollama19.9M+629.9% 6 mo2.7M23.2MJan 2026 — Jul 2026
google-generativeai16.4M+151.2% 6 mo6.5M17.4MJan 2026 — Jul 2026
mistralai49.7M×11 6 mo4.4M51.6MJan 2026 — Jul 2026
cohere40.9M+731.9% 6 mo4.9M46.4MJan 2026 — Jul 2026
All of PyPI (total downloads)184B+311.7% 6 mo44.7B184BJan 2026 — Jul 2026
google-genai298M+571.5% 6 mo44.4M298MJan 2026 — Jul 2026
xai-sdk4.8M×10 6 mo474k9.1MJan 2026 — Jul 2026
perplexityai1.2M+653.1% 6 mo155k1.2MJan 2026 — Jul 2026
dashscope3.5M×10 6 mo338k3.5MJan 2026 — Jul 2026
claude-agent-sdk30.2M×25 6 mo1.2M30.2MJan 2026 — Jul 2026
crewai12.4M+639.2% 6 mo1.7M14.5MJan 2026 — Jul 2026
pydantic-ai16.4M+369.4% 6 mo3.5M42.8MJan 2026 — Jul 2026
dspy6.5M+316.3% 6 mo1.6M7.3MJan 2026 — Jul 2026
smolagents626k+420.0% 6 mo120k660kJan 2026 — Jul 2026
mcp320M×11 6 mo28.5M320MJan 2026 — Jul 2026
fastmcp88.9M×11 6 mo8.3M96.2MJan 2026 — Jul 2026
vllm5.8M+368.9% 6 mo1.2M10.1MJan 2026 — Jul 2026
groq27.6M+817.8% 6 mo3.0M28.0MJan 2026 — Jul 2026
together2.7M+160.3% 6 mo1.0M12.3MJan 2026 — Jul 2026
OpenAI share40.1%−5.0% 6 mo33.5%42.2%Jan 2026 — Jul 2026
Anthropic share18.6%+44.0% 6 mo10.4%18.6%Jan 2026 — Jul 2026
Google share31.6%−17.6% 6 mo31.6%50.5%Jan 2026 — Jul 2026
xAI share0.5%+29.7% 6 mo0.4%1.1%Jan 2026 — Jul 2026
Mistral share5.0%+73.4% 6 mo2.3%5.6%Jan 2026 — Jul 2026
Cohere share4.1%+28.4% 6 mo2.8%5.7%Jan 2026 — Jul 2026
← back to all sources