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 22 Jul 2026 pypistats.org ↗
release markers

All of PyPI (total downloads)

176B +292.9% 5 mo as of Jun 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

368M +472.3% 5 mo as of Jun 2026
050.0M100M150M200M250M300M350M2026
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

157M +704.8% 5 mo as of Jun 2026
020.0M40.0M60.0M80.0M100M120M140M160M2026
click a month to drill into daily

google-generativeai

16.7M +155.6% 5 mo as of Jun 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

51.6M ×12 5 mo as of Jun 2026
010.0M20.0M30.0M40.0M50.0M2026
click a month to drill into daily

cohere

43.2M +778.6% 5 mo as of Jun 2026
010.0M20.0M30.0M40.0M2026
click a month to drill into daily

google-genai

284M +541.0% 5 mo as of Jun 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

xai-sdk

7.1M ×15 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M2026
click a month to drill into daily

perplexityai

1.2M +650.4% 5 mo as of Jun 2026
0200k400k600k800k1.0M1.2M2026
click a month to drill into daily

dashscope

3.5M ×10 5 mo as of Jun 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

31.1M +670.5% 5 mo as of Jun 2026
05.0M10.0M15.0M20.0M25.0M30.0M2026
click a month to drill into daily

langchain

328M +226.5% 5 mo as of Jun 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

langchain-core

170M +370.4% 5 mo as of Jun 2026
020.0M40.0M60.0M80.0M100M120M140M160M2026
click a month to drill into daily

langgraph

63.8M +376.8% 5 mo as of Jun 2026
010.0M20.0M30.0M40.0M50.0M60.0M2026
click a month to drill into daily

llama-index

8.3M +173.2% 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M10.0M12.0M2026
click a month to drill into daily

instructor

15.8M +303.3% 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M16.0M2026
click a month to drill into daily

claude-agent-sdk

19.9M ×16 5 mo as of Jun 2026
05.0M10.0M15.0M20.0M2026
click a month to drill into daily

crewai

11.9M +614.0% 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M10.0M12.0M14.0M2026
click a month to drill into daily

pydantic-ai

23.4M +567.8% 5 mo as of Jun 2026
010.0M20.0M30.0M40.0M2026
click a month to drill into daily

dspy

6.2M +302.3% 5 mo as of Jun 2026
01.0M2.0M3.0M4.0M5.0M6.0M7.0M2026
click a month to drill into daily

smolagents

646k +437.1% 5 mo as of Jun 2026
0100k200k300k400k500k600k2026
click a month to drill into daily

Inference & serving

litellm

633M ×27 5 mo as of Jun 2026
0100M200M300M400M500M600M2026
click a month to drill into daily

ollama

23.2M +753.8% 5 mo as of Jun 2026
05.0M10.0M15.0M20.0M2026
click a month to drill into daily

vllm

5.8M +373.8% 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M10.0M2026
click a month to drill into daily

groq

28.0M +830.5% 5 mo as of Jun 2026
05.0M10.0M15.0M20.0M25.0M2026
click a month to drill into daily

together

2.0M +94.1% 5 mo as of Jun 2026
02.0M4.0M6.0M8.0M10.0M12.0M2026
click a month to drill into daily

Model tooling

transformers

169M +279.9% 5 mo as of Jun 2026
020.0M40.0M60.0M80.0M100M120M140M160M2026
click a month to drill into daily

huggingface-hub

407M +433.7% 5 mo as of Jun 2026
0100M200M300M400M2026
click a month to drill into daily

sentence-transformers

30.2M +298.7% 5 mo as of Jun 2026
05.0M10.0M15.0M20.0M25.0M30.0M2026
click a month to drill into daily

tiktoken

216M +521.5% 5 mo as of Jun 2026
050.0M100M150M200M2026
click a month to drill into daily

chromadb

13.3M +174.8% 5 mo as of Jun 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 lines together.

mcp

281M +885.8% 5 mo as of Jun 2026
050.0M100M150M200M250M300M2026
click a month to drill into daily

fastmcp

96.2M ×12 5 mo as of Jun 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

39.7% −6.0% 5 mo as of Jun 2026
0102030402026

Anthropic share derived

16.9% +30.6% 5 mo as of Jun 2026
0246810121416182026

Google share derived

32.5% −15.5% 5 mo as of Jun 2026
010203040502026

xAI share derived

0.8% +108.1% 5 mo as of Jun 2026
00.20.40.60.812026

Mistral share derived

5.6% +92.4% 5 mo as of Jun 2026
0123452026

Cohere share derived

4.7% +45.3% 5 mo as of Jun 2026
01234562026

Figures

SeriesLatestChangeMinMaxCoverage
openai368M+472.3% 5 mo64.4M368MJan 2026 — Jun 2026
anthropic157M+704.8% 5 mo19.5M157MJan 2026 — Jun 2026
openai-agents31.1M+670.5% 5 mo4.0M32.3MJan 2026 — Jun 2026
langchain328M+226.5% 5 mo101M328MJan 2026 — Jun 2026
langchain-core170M+370.4% 5 mo36.1M170MJan 2026 — Jun 2026
langgraph63.8M+376.8% 5 mo13.4M63.8MJan 2026 — Jun 2026
llama-index8.3M+173.2% 5 mo3.0M12.6MJan 2026 — Jun 2026
litellm633M×27 5 mo23.2M633MJan 2026 — Jun 2026
instructor15.8M+303.3% 5 mo3.9M15.8MJan 2026 — Jun 2026
transformers169M+279.9% 5 mo44.4M169MJan 2026 — Jun 2026
huggingface-hub407M+433.7% 5 mo76.2M407MJan 2026 — Jun 2026
sentence-transformers30.2M+298.7% 5 mo7.6M30.2MJan 2026 — Jun 2026
tiktoken216M+521.5% 5 mo34.7M216MJan 2026 — Jun 2026
chromadb13.3M+174.8% 5 mo4.8M14.8MJan 2026 — Jun 2026
ollama23.2M+753.8% 5 mo2.7M23.2MJan 2026 — Jun 2026
google-generativeai16.7M+155.6% 5 mo6.5M17.4MJan 2026 — Jun 2026
mistralai51.6M×12 5 mo4.4M51.6MJan 2026 — Jun 2026
cohere43.2M+778.6% 5 mo4.9M46.4MJan 2026 — Jun 2026
All of PyPI (total downloads)176B+292.9% 5 mo44.7B176BJan 2026 — Jun 2026
google-genai284M+541.0% 5 mo44.4M284MJan 2026 — Jun 2026
xai-sdk7.1M×15 5 mo474k9.1MJan 2026 — Jun 2026
perplexityai1.2M+650.4% 5 mo155k1.2MJan 2026 — Jun 2026
dashscope3.5M×10 5 mo338k3.5MJan 2026 — Jun 2026
claude-agent-sdk19.9M×16 5 mo1.2M19.9MJan 2026 — Jun 2026
crewai11.9M+614.0% 5 mo1.7M14.5MJan 2026 — Jun 2026
pydantic-ai23.4M+567.8% 5 mo3.5M42.8MJan 2026 — Jun 2026
dspy6.2M+302.3% 5 mo1.6M7.3MJan 2026 — Jun 2026
smolagents646k+437.1% 5 mo120k660kJan 2026 — Jun 2026
mcp281M+885.8% 5 mo28.5M285MJan 2026 — Jun 2026
fastmcp96.2M×12 5 mo8.3M96.2MJan 2026 — Jun 2026
vllm5.8M+373.8% 5 mo1.2M10.1MJan 2026 — Jun 2026
groq28.0M+830.5% 5 mo3.0M28.0MJan 2026 — Jun 2026
together2.0M+94.1% 5 mo1.0M12.3MJan 2026 — Jun 2026
OpenAI share39.7%−6.0% 5 mo33.5%42.2%Jan 2026 — Jun 2026
Anthropic share16.9%+30.6% 5 mo10.4%16.9%Jan 2026 — Jun 2026
Google share32.5%−15.5% 5 mo32.5%50.5%Jan 2026 — Jun 2026
xAI share0.8%+108.1% 5 mo0.4%1.1%Jan 2026 — Jun 2026
Mistral share5.6%+92.4% 5 mo2.3%5.6%Jan 2026 — Jun 2026
Cohere share4.7%+45.3% 5 mo2.8%5.7%Jan 2026 — Jun 2026
← back to all sources