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)
176B +292.9% 5 mo as of Jun 2026
Model-vendor SDKs
openai
368M +472.3% 5 mo as of Jun 2026
anthropic
157M +704.8% 5 mo as of Jun 2026
google-generativeai
16.7M +155.6% 5 mo as of Jun 2026
mistralai
51.6M ×12 5 mo as of Jun 2026
cohere
43.2M +778.6% 5 mo as of Jun 2026
google-genai
284M +541.0% 5 mo as of Jun 2026
xai-sdk
7.1M ×15 5 mo as of Jun 2026
perplexityai
1.2M +650.4% 5 mo as of Jun 2026
dashscope
3.5M ×10 5 mo as of Jun 2026
Agent frameworks & SDKs
openai-agents
31.1M +670.5% 5 mo as of Jun 2026
langchain
328M +226.5% 5 mo as of Jun 2026
langchain-core
170M +370.4% 5 mo as of Jun 2026
langgraph
63.8M +376.8% 5 mo as of Jun 2026
llama-index
8.3M +173.2% 5 mo as of Jun 2026
instructor
15.8M +303.3% 5 mo as of Jun 2026
claude-agent-sdk
19.9M ×16 5 mo as of Jun 2026
crewai
11.9M +614.0% 5 mo as of Jun 2026
pydantic-ai
23.4M +567.8% 5 mo as of Jun 2026
dspy
6.2M +302.3% 5 mo as of Jun 2026
smolagents
646k +437.1% 5 mo as of Jun 2026
Inference & serving
litellm
633M ×27 5 mo as of Jun 2026
ollama
23.2M +753.8% 5 mo as of Jun 2026
vllm
5.8M +373.8% 5 mo as of Jun 2026
groq
28.0M +830.5% 5 mo as of Jun 2026
together
2.0M +94.1% 5 mo as of Jun 2026
Model tooling
transformers
169M +279.9% 5 mo as of Jun 2026
huggingface-hub
407M +433.7% 5 mo as of Jun 2026
sentence-transformers
30.2M +298.7% 5 mo as of Jun 2026
tiktoken
216M +521.5% 5 mo as of Jun 2026
chromadb
13.3M +174.8% 5 mo as of Jun 2026
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
fastmcp
96.2M ×12 5 mo as of Jun 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
39.7% −6.0% 5 mo as of Jun 2026
Anthropic share derived
16.9% +30.6% 5 mo as of Jun 2026
Google share derived
32.5% −15.5% 5 mo as of Jun 2026
xAI share derived
0.8% +108.1% 5 mo as of Jun 2026
Mistral share derived
5.6% +92.4% 5 mo as of Jun 2026
Cohere share derived
4.7% +45.3% 5 mo as of Jun 2026
Figures
| Series | Latest | Change | Min | Max | Coverage |
|---|---|---|---|---|---|
| openai | 368M | +472.3% 5 mo | 64.4M | 368M | Jan 2026 — Jun 2026 |
| anthropic | 157M | +704.8% 5 mo | 19.5M | 157M | Jan 2026 — Jun 2026 |
| openai-agents | 31.1M | +670.5% 5 mo | 4.0M | 32.3M | Jan 2026 — Jun 2026 |
| langchain | 328M | +226.5% 5 mo | 101M | 328M | Jan 2026 — Jun 2026 |
| langchain-core | 170M | +370.4% 5 mo | 36.1M | 170M | Jan 2026 — Jun 2026 |
| langgraph | 63.8M | +376.8% 5 mo | 13.4M | 63.8M | Jan 2026 — Jun 2026 |
| llama-index | 8.3M | +173.2% 5 mo | 3.0M | 12.6M | Jan 2026 — Jun 2026 |
| litellm | 633M | ×27 5 mo | 23.2M | 633M | Jan 2026 — Jun 2026 |
| instructor | 15.8M | +303.3% 5 mo | 3.9M | 15.8M | Jan 2026 — Jun 2026 |
| transformers | 169M | +279.9% 5 mo | 44.4M | 169M | Jan 2026 — Jun 2026 |
| huggingface-hub | 407M | +433.7% 5 mo | 76.2M | 407M | Jan 2026 — Jun 2026 |
| sentence-transformers | 30.2M | +298.7% 5 mo | 7.6M | 30.2M | Jan 2026 — Jun 2026 |
| tiktoken | 216M | +521.5% 5 mo | 34.7M | 216M | Jan 2026 — Jun 2026 |
| chromadb | 13.3M | +174.8% 5 mo | 4.8M | 14.8M | Jan 2026 — Jun 2026 |
| ollama | 23.2M | +753.8% 5 mo | 2.7M | 23.2M | Jan 2026 — Jun 2026 |
| google-generativeai | 16.7M | +155.6% 5 mo | 6.5M | 17.4M | Jan 2026 — Jun 2026 |
| mistralai | 51.6M | ×12 5 mo | 4.4M | 51.6M | Jan 2026 — Jun 2026 |
| cohere | 43.2M | +778.6% 5 mo | 4.9M | 46.4M | Jan 2026 — Jun 2026 |
| All of PyPI (total downloads) | 176B | +292.9% 5 mo | 44.7B | 176B | Jan 2026 — Jun 2026 |
| google-genai | 284M | +541.0% 5 mo | 44.4M | 284M | Jan 2026 — Jun 2026 |
| xai-sdk | 7.1M | ×15 5 mo | 474k | 9.1M | Jan 2026 — Jun 2026 |
| perplexityai | 1.2M | +650.4% 5 mo | 155k | 1.2M | Jan 2026 — Jun 2026 |
| dashscope | 3.5M | ×10 5 mo | 338k | 3.5M | Jan 2026 — Jun 2026 |
| claude-agent-sdk | 19.9M | ×16 5 mo | 1.2M | 19.9M | Jan 2026 — Jun 2026 |
| crewai | 11.9M | +614.0% 5 mo | 1.7M | 14.5M | Jan 2026 — Jun 2026 |
| pydantic-ai | 23.4M | +567.8% 5 mo | 3.5M | 42.8M | Jan 2026 — Jun 2026 |
| dspy | 6.2M | +302.3% 5 mo | 1.6M | 7.3M | Jan 2026 — Jun 2026 |
| smolagents | 646k | +437.1% 5 mo | 120k | 660k | Jan 2026 — Jun 2026 |
| mcp | 281M | +885.8% 5 mo | 28.5M | 285M | Jan 2026 — Jun 2026 |
| fastmcp | 96.2M | ×12 5 mo | 8.3M | 96.2M | Jan 2026 — Jun 2026 |
| vllm | 5.8M | +373.8% 5 mo | 1.2M | 10.1M | Jan 2026 — Jun 2026 |
| groq | 28.0M | +830.5% 5 mo | 3.0M | 28.0M | Jan 2026 — Jun 2026 |
| together | 2.0M | +94.1% 5 mo | 1.0M | 12.3M | Jan 2026 — Jun 2026 |
| OpenAI share | 39.7% | −6.0% 5 mo | 33.5% | 42.2% | Jan 2026 — Jun 2026 |
| Anthropic share | 16.9% | +30.6% 5 mo | 10.4% | 16.9% | Jan 2026 — Jun 2026 |
| Google share | 32.5% | −15.5% 5 mo | 32.5% | 50.5% | Jan 2026 — Jun 2026 |
| xAI share | 0.8% | +108.1% 5 mo | 0.4% | 1.1% | Jan 2026 — Jun 2026 |
| Mistral share | 5.6% | +92.4% 5 mo | 2.3% | 5.6% | Jan 2026 — Jun 2026 |
| Cohere share | 4.7% | +45.3% 5 mo | 2.8% | 5.7% | Jan 2026 — Jun 2026 |