Research

AI SDK Download Rankings May 2026

Live PyPI and npm monthly download counts for the major LLM vendor SDKs in May 2026. OpenAI, Anthropic, Google, Mistral, Cohere, Groq, xAI, Vercel AI SDK, and LangChain integrations compared.

By Ramanath, CTO & Co-Founder at Presenc AI · Last updated: May 2026

What Developers Are Actually Installing in May 2026

Stars on GitHub measure interest; package downloads measure use. This page pulls live monthly download counts from PyPI Stats and the npm registry download API for the major LLM vendor SDKs and the prominent multi-vendor abstraction layers. The picture is sharply different from the GitHub-star ranking, because download counts are a flow metric that updates monthly with actual deployment activity.

PyPI Monthly Downloads (Past 30 Days, May 14, 2026)

PackageVendor / SourceMonthly DownloadsWeekly Downloads
litellmBerriAI (multi-vendor proxy)417,813,970114,389,012
openaiOpenAI295,890,96871,743,491
langchainLangChain (framework)241,178,72458,699,944
google-genaiGoogle216,729,048(rate-limited)
anthropicAnthropic119,776,56528,829,540
langchain-openaiLangChain (OpenAI binding)68,382,27316,678,913
cohereCohere41,094,28910,365,083
langchain-anthropicLangChain (Anthropic binding)17,798,3284,257,127
groqGroq17,438,8174,036,538
ollamaOllama (local-LLM client)12,014,4613,112,588
xai-sdkxAI (Grok)8,368,8482,230,344
replicateReplicate1,351,206291,015

Mistral (mistralai), Google's legacy google-generativeai, and Together AI's python SDK were rate-limited during this collection window and are omitted from the PyPI table.

npm Monthly Downloads (Past 30 Days, May 14, 2026)

PackageVendor / SourceMonthly Downloads
openaiOpenAI84,426,658
@anthropic-ai/sdkAnthropic71,587,111
aiVercel AI SDK (toolkit)52,671,522
@google/genaiGoogle45,811,559
@ai-sdk/openaiVercel AI SDK (OpenAI provider)25,552,001
@ai-sdk/anthropicVercel AI SDK (Anthropic provider)23,122,504
@langchain/coreLangChain (JS core)17,194,686
@ai-sdk/googleVercel AI SDK (Google provider)16,840,727
@google/generative-aiGoogle (legacy SDK)12,223,790
@mistralai/mistralaiMistral11,311,551
@langchain/anthropicLangChain (Anthropic binding)3,221,928
groq-sdkGroq2,999,759
ollamaOllama JS client2,183,406
replicateReplicate1,905,228
cohere-aiCohere1,786,801

Eight Things the Downloads Tell You

  1. LiteLLM downloads exceed OpenAI Python SDK downloads by ~40 percent. 418M vs 296M monthly. Multi-vendor routing has gone mainstream; most production agent stacks now sit behind a vendor abstraction layer rather than calling OpenAI directly.
  2. Google's rebranded SDK (google-genai) at 217M/month overtook the Anthropic Python SDK. The migration from the legacy google-generativeai package to google-genai is mostly complete, and Google's Python adoption is now solidly in second place behind OpenAI on raw downloads.
  3. OpenAI vs Anthropic gap is much tighter on npm than on PyPI. PyPI: 296M vs 120M (a ~2.5x gap). npm: 84M vs 72M (a ~1.2x gap). JavaScript/TypeScript developers are far more vendor-balanced than Python developers, possibly reflecting where the early-2026 agent applications are being built.
  4. Vercel AI SDK provider packages add up to 66M/month. @ai-sdk/openai (26M) + @ai-sdk/anthropic (23M) + @ai-sdk/google (17M) = 66M scoped-package installs, on top of the 53M downloads of the toolkit-level ai package. The Vercel SDK is the dominant abstraction layer in the JavaScript ecosystem; the equivalent role on Python is split between LiteLLM and LangChain.
  5. LangChain still dominates Python AI tooling. langchain itself does 241M/month, langchain-openai another 68M, langchain-anthropic 18M. Including the JS @langchain/core at 17M, the LangChain ecosystem moves roughly 345M monthly downloads, a comparable footprint to OpenAI direct.
  6. Cohere is Python-heavy. Cohere PyPI: 41M/month. Cohere npm: 1.8M/month. The 23x Python:JS ratio reflects Cohere's enterprise-RAG positioning, which skews Python. By comparison, OpenAI Python:JS is roughly 3.5x.
  7. xAI is small but real. xai-sdk at 8.4M/month on PyPI is roughly 5 percent of Anthropic's footprint and 3 percent of OpenAI's, but it is materially larger than Replicate, Cohere npm, or Ollama JS. Grok has a developer ecosystem; it is just smaller than the leading three.
  8. Ollama JS lags Ollama Python by 5.5x. 12M PyPI vs 2.2M npm. Local-LLM deployment is still heavily Python-coded.

Adoption Rankings (Combined Python + npm Estimate)

For brand-visibility teams who care about "which vendor SDK do developers actually use," here is a combined Python + npm direct-SDK ranking in May 2026:

RankVendorCombined Monthly Downloads (M)
1OpenAI~380
2Google~275
3Anthropic~191
4Cohere~43
5Groq~20
6Mistral~11
7xAI~8
8Replicate~3

Mistral and Replicate Python figures excluded (collection rate-limited); the Mistral total is conservative.

What This Means for AI Visibility

SDK downloads predict which vendor APIs are most often inside the recommendation pipeline that surfaces a brand to an end user. The 4-to-1 ratio between OpenAI Python downloads and the next-largest Anthropic Python downloads means that most production agent stacks talk to OpenAI by default. But the LiteLLM and Vercel AI SDK numbers suggest a structural shift: a growing share of agent traffic is vendor-abstracted at install time, which means the developer chose multi-provider routing rather than a single vendor. For brands optimising visibility, the implication is that single-platform tracking (ChatGPT-only or Claude-only) increasingly underestimates the actual surface where recommendations happen because the deployment may swap providers per call.

Methodology

Monthly download counts pulled from the PyPI Stats public API and the npm registry download endpoint on May 14, 2026. PyPI Stats reports a 30-day rolling window; npm reports calendar-bounded last-month. Both are subject to bot-installation noise (CI/CD pipelines, mirroring caches), which inflates absolute counts but does not meaningfully change relative rankings between similar-shape packages. A small number of Python packages (google-generativeai legacy, mistralai, together) were rate-limited at collection time and are noted as omitted in the source tables. Refreshed quarterly. Treat figures as accurate at time of capture.

How Presenc AI Helps

Presenc AI tracks brand-mention rates across the major AI platforms whose SDKs are ranked above. When a brand's mention rate on OpenAI rises while its mention rate on the abstracted multi-vendor stack (LiteLLM, Vercel AI SDK) stays flat, that gap is the signal that the brand is winning on the consumer-facing platform but losing on the developer-facing distribution. SDK adoption data closes the loop between "who runs my brand through which model" and "does my brand surface in the answer."

Frequently Asked Questions

On PyPI, BerriAI's LiteLLM (a multi-vendor proxy) is the largest single package at roughly 418 million monthly downloads, exceeding the direct OpenAI Python SDK at 296 million. Among direct-vendor SDKs, OpenAI Python leads, followed by Google google-genai (217M), then Anthropic (120M). On npm, OpenAI leads at 84M with Anthropic close behind at 72M.
LiteLLM is the most-installed dependency of agent frameworks (LangChain, CrewAI, LlamaIndex, custom stacks) that want OpenAI-compatible calling conventions across multiple vendors. Every agent framework that depends on LiteLLM contributes to its install count, which compounds. The 418M monthly figure reflects deployment frequency, not unique applications.
Directionally yes, absolutely no. Both PyPI and npm download counts include CI/CD pipeline installs, mirror caches, and bot-driven re-installs, which inflate absolute counts. Relative rankings between similar-shape packages are reliable; absolute installs-per-developer ratios are not. Treat the numbers as proxy for deployment intensity, not exact deployment count.
Python users skew toward direct-vendor SDKs and to multi-vendor proxies (LiteLLM). JavaScript users skew toward toolkit-level abstractions (Vercel AI SDK) plus direct-vendor SDKs in roughly equal measure. The OpenAI-to-Anthropic ratio is 2.5x on Python but only 1.2x on npm, suggesting JS developers have adopted Anthropic more evenly than Python developers.
Mistral npm at 11.3M/month puts it ahead of Groq npm but well below the leaders. Replicate is small in both ecosystems (1.4M PyPI, 1.9M npm). Together AI's PyPI package was rate-limited at collection time. Smaller hosted-model providers consistently sit in the 1-15M monthly download band, which separates the long tail from the top 5 vendors.

Track Your AI Visibility

See how your brand appears across ChatGPT, Claude, Perplexity, and other AI platforms. Start monitoring today.