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.
All of PyPI (total downloads)
184B +311.7% 6 mo as of Jul 2026
Model-vendor SDKs
openai
399M +519.4% 6 mo as of Jul 2026
anthropic
185M +850.0% 6 mo as of Jul 2026
google-generativeai
16.4M +151.2% 6 mo as of Jul 2026
mistralai
49.7M ×11 6 mo as of Jul 2026
cohere
40.9M +731.9% 6 mo as of Jul 2026
google-genai
298M +571.5% 6 mo as of Jul 2026
xai-sdk
4.8M ×10 6 mo as of Jul 2026
perplexityai
1.2M +653.1% 6 mo as of Jul 2026
dashscope
3.5M ×10 6 mo as of Jul 2026
Agent frameworks & SDKs
openai-agents
35.2M +772.3% 6 mo as of Jul 2026
langchain
316M +214.0% 6 mo as of Jul 2026
langchain-core
176M +388.1% 6 mo as of Jul 2026
langgraph
72.6M +443.0% 6 mo as of Jul 2026
llama-index
7.3M +141.9% 6 mo as of Jul 2026
instructor
19.9M +408.0% 6 mo as of Jul 2026
claude-agent-sdk
30.2M ×25 6 mo as of Jul 2026
crewai
12.4M +639.2% 6 mo as of Jul 2026
pydantic-ai
16.4M +369.4% 6 mo as of Jul 2026
dspy
6.5M +316.3% 6 mo as of Jul 2026
smolagents
626k +420.0% 6 mo as of Jul 2026
Inference & serving
litellm
684M ×29 6 mo as of Jul 2026
ollama
19.9M +629.9% 6 mo as of Jul 2026
vllm
5.8M +368.9% 6 mo as of Jul 2026
groq
27.6M +817.8% 6 mo as of Jul 2026
together
2.7M +160.3% 6 mo as of Jul 2026
Model tooling
transformers
186M +319.8% 6 mo as of Jul 2026
huggingface-hub
443M +481.2% 6 mo as of Jul 2026
sentence-transformers
30.6M +304.2% 6 mo as of Jul 2026
tiktoken
233M +572.4% 6 mo as of Jul 2026
chromadb
13.3M +174.0% 6 mo as of Jul 2026
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
fastmcp
88.9M ×11 6 mo as of Jul 2026
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
Anthropic share derived
18.6% +44.0% 6 mo as of Jul 2026
Google share derived
31.6% −17.6% 6 mo as of Jul 2026
xAI share derived
0.5% +29.7% 6 mo as of Jul 2026
Mistral share derived
5.0% +73.4% 6 mo as of Jul 2026
Cohere share derived
4.1% +28.4% 6 mo as of Jul 2026
Figures
| Series | Latest | Change | Min | Max | Coverage |
|---|---|---|---|---|---|
| openai | 399M | +519.4% 6 mo | 64.4M | 399M | Jan 2026 — Jul 2026 |
| anthropic | 185M | +850.0% 6 mo | 19.5M | 185M | Jan 2026 — Jul 2026 |
| openai-agents | 35.2M | +772.3% 6 mo | 4.0M | 35.2M | Jan 2026 — Jul 2026 |
| langchain | 316M | +214.0% 6 mo | 101M | 328M | Jan 2026 — Jul 2026 |
| langchain-core | 176M | +388.1% 6 mo | 36.1M | 176M | Jan 2026 — Jul 2026 |
| langgraph | 72.6M | +443.0% 6 mo | 13.4M | 72.6M | Jan 2026 — Jul 2026 |
| llama-index | 7.3M | +141.9% 6 mo | 3.0M | 12.6M | Jan 2026 — Jul 2026 |
| litellm | 684M | ×29 6 mo | 23.2M | 684M | Jan 2026 — Jul 2026 |
| instructor | 19.9M | +408.0% 6 mo | 3.9M | 19.9M | Jan 2026 — Jul 2026 |
| transformers | 186M | +319.8% 6 mo | 44.4M | 186M | Jan 2026 — Jul 2026 |
| huggingface-hub | 443M | +481.2% 6 mo | 76.2M | 443M | Jan 2026 — Jul 2026 |
| sentence-transformers | 30.6M | +304.2% 6 mo | 7.6M | 30.6M | Jan 2026 — Jul 2026 |
| tiktoken | 233M | +572.4% 6 mo | 34.7M | 233M | Jan 2026 — Jul 2026 |
| chromadb | 13.3M | +174.0% 6 mo | 4.8M | 14.8M | Jan 2026 — Jul 2026 |
| ollama | 19.9M | +629.9% 6 mo | 2.7M | 23.2M | Jan 2026 — Jul 2026 |
| google-generativeai | 16.4M | +151.2% 6 mo | 6.5M | 17.4M | Jan 2026 — Jul 2026 |
| mistralai | 49.7M | ×11 6 mo | 4.4M | 51.6M | Jan 2026 — Jul 2026 |
| cohere | 40.9M | +731.9% 6 mo | 4.9M | 46.4M | Jan 2026 — Jul 2026 |
| All of PyPI (total downloads) | 184B | +311.7% 6 mo | 44.7B | 184B | Jan 2026 — Jul 2026 |
| google-genai | 298M | +571.5% 6 mo | 44.4M | 298M | Jan 2026 — Jul 2026 |
| xai-sdk | 4.8M | ×10 6 mo | 474k | 9.1M | Jan 2026 — Jul 2026 |
| perplexityai | 1.2M | +653.1% 6 mo | 155k | 1.2M | Jan 2026 — Jul 2026 |
| dashscope | 3.5M | ×10 6 mo | 338k | 3.5M | Jan 2026 — Jul 2026 |
| claude-agent-sdk | 30.2M | ×25 6 mo | 1.2M | 30.2M | Jan 2026 — Jul 2026 |
| crewai | 12.4M | +639.2% 6 mo | 1.7M | 14.5M | Jan 2026 — Jul 2026 |
| pydantic-ai | 16.4M | +369.4% 6 mo | 3.5M | 42.8M | Jan 2026 — Jul 2026 |
| dspy | 6.5M | +316.3% 6 mo | 1.6M | 7.3M | Jan 2026 — Jul 2026 |
| smolagents | 626k | +420.0% 6 mo | 120k | 660k | Jan 2026 — Jul 2026 |
| mcp | 320M | ×11 6 mo | 28.5M | 320M | Jan 2026 — Jul 2026 |
| fastmcp | 88.9M | ×11 6 mo | 8.3M | 96.2M | Jan 2026 — Jul 2026 |
| vllm | 5.8M | +368.9% 6 mo | 1.2M | 10.1M | Jan 2026 — Jul 2026 |
| groq | 27.6M | +817.8% 6 mo | 3.0M | 28.0M | Jan 2026 — Jul 2026 |
| together | 2.7M | +160.3% 6 mo | 1.0M | 12.3M | Jan 2026 — Jul 2026 |
| OpenAI share | 40.1% | −5.0% 6 mo | 33.5% | 42.2% | Jan 2026 — Jul 2026 |
| Anthropic share | 18.6% | +44.0% 6 mo | 10.4% | 18.6% | Jan 2026 — Jul 2026 |
| Google share | 31.6% | −17.6% 6 mo | 31.6% | 50.5% | Jan 2026 — Jul 2026 |
| xAI share | 0.5% | +29.7% 6 mo | 0.4% | 1.1% | Jan 2026 — Jul 2026 |
| Mistral share | 5.0% | +73.4% 6 mo | 2.3% | 5.6% | Jan 2026 — Jul 2026 |
| Cohere share | 4.1% | +28.4% 6 mo | 2.8% | 5.7% | Jan 2026 — Jul 2026 |