Anthropic SDK vs OpenAI SDK: the lead depends on the metric

Anthropic SDK leads npm with 75M 7-day downloads; OpenAI SDK leads with 11,276 GitHub stars. Google Gen AI SDK grew fastest, +12.7% from 7 days earlier.

The AI and developer tools dataset compares 3 tools: OpenAI SDK, Anthropic SDK and Google Gen AI SDK. A different tool leads on each metric. Anthropic SDK has the most npm downloads over the last 7 days. OpenAI SDK has the most GitHub stars. Google Gen AI SDK has the highest growth rate over the last 7 days, at +12.7%. Scale, accumulated interest and recent momentum each have a different leader.

npm downloads: Anthropic SDK leads on scale

Comparison: Downloads, last 7 daysnpm downloads for AI and developer toolsSource: npm download counts API · as of 2026-11-22
Anthropic SDK: 75MAnthropic SDK75MOpenAI SDK: 62.5MOpenAI SDK62.5MGoogle Gen AI SDK: 34.2MGoogle Gen AI SDK34.2M
Anthropic SDK: 75MAnthropic SDK75MOpenAI SDK: 62.5MOpenAI SDK62.5MGoogle Gen AI SDK: 34.2MGoogle Gen AI SDK34.2M
Anthropic SDK: 75MAnthropic SDK75MOpenAI SDK: 62.5MOpenAI SDK62.5MGoogle Gen AI SDK: 34.2MGoogle Gen AI SDK34.2M
View as table
Comparison: Downloads, last 7 days
RankItemValue
1Anthropic SDK75M
2OpenAI SDK62.5M
3Google Gen AI SDK34.2M

Anthropic SDK recorded 75M downloads in the last 7 days. That puts it at No. 17 among all 59 items. OpenAI SDK had 62.5M downloads (No. 19), and Google Gen AI SDK had 34.2M downloads (No. 24). Within the LLM SDKs category, they rank No. 1, No. 2 and No. 3 respectively.

The gap between Anthropic SDK and OpenAI SDK is 12.4M downloads. Anthropic SDK has about 1.2 times as many downloads as OpenAI SDK. The gap to Google Gen AI SDK is 40.8M downloads, and Anthropic SDK has about 2.2 times as many downloads.

The order changes over the last 7 days. Growth from 7 days earlier is highest for Google Gen AI SDK. OpenAI SDK follows at +6.3%, and Anthropic SDK at +6.1%. In absolute terms, Anthropic SDK added the most, +4.3M downloads. Google Gen AI SDK added +3.8M and OpenAI SDK +3.7M. Because the tools differ in scale, the order by growth rate and by absolute growth is not the same.

Trend: the order changed within the period

Trend: Downloads, last 7 daysnpm downloads for AI and developer tools, last 359 days, weeklySource: npm download counts API · as of 2026-11-22
020M40M60M80MJan2026AprJulOctAnthropic SDKOpenAI SDKGoogle Gen AISDK
020M40M60M80MJan2026MarMayJulSepNovAnthropic SDKOpenAI SDKGoogle Gen AI SDK
020M40M60M80MDec2025Jan2026FebMarAprMayJunJulAugSepOctNovAnthropic SDK 75MOpenAI SDK 62.5MGoogle Gen AI SDK 34.2M
View as table
Trend: Downloads, last 7 days
DateAnthropic SDKOpenAI SDKGoogle Gen AI SDK
2026-11-2275M62.5M34.2M
2026-11-1570.7M58.8M30.3M
2026-11-0867.7M57.3M31.6M
2026-11-0163.6M55.4M29.7M
2026-10-2561.6M54.9M30.3M
2026-10-1857.9M52.7M29.5M
2026-10-1155.7M52M29.5M
2026-10-0453.7M50.9M29.5M
2026-09-2746.4M44.9M26.7M
2026-09-2042.3M42.4M25.1M
2026-09-1342.3M42.2M25.6M
2026-09-0642.3M42.2M25.2M
2026-08-3038.7M39.7M23.4M
2026-08-2333.9M34.5M21.2M
2026-08-1633.5M34.6M20M
2026-08-0929.8M32M17.5M
2026-08-0229.7M32.7M17.8M
2026-07-2627.6M30.6M16.4M
2026-07-1927.1M29.5M16.2M
2026-07-1225.5M28.9M15.1M
2026-07-0523.1M25.4M15.3M
2026-06-2822.7M26.1M15.6M
2026-06-2124.4M27.4M17M
2026-06-1423.5M25.8M15.9M
2026-06-0723.1M24.5M14.2M
2026-05-3124.4M24M13.5M
2026-05-2419.5M22.5M11.9M
2026-05-1717.9M21.6M10.9M
2026-05-1017.1M20.5M10.4M
2026-05-0318.4M21.1M11.2M
2026-04-2615.4M19.3M10.6M
2026-04-1914.8M17.9M10.2M
2026-04-1213.4M17.1M9.6M
2026-04-0512.4M15.7M9.1M
2026-03-2910.4M16.4M9.1M
2026-03-229.1M16.4M9.3M
2026-03-158.8M16.8M9.8M
2026-03-087.7M14.9M8.8M
2026-03-016.9M13.8M8.1M
2026-02-225.8M11.9M5.8M
2026-02-155.8M12.4M5.7M
2026-02-085.7M12.2M4.9M
2026-02-015.2M11.9M4.6M
2026-01-254.1M10.4M3.7M
2026-01-183.7M9.6M3.4M
2026-01-113.5M8.8M3.3M
2026-01-042.2M5.3M2.1M
2025-12-282.2M5.3M2M
2025-12-213.3M8.5M2.6M
2025-12-143.4M8.7M2.4M
2025-12-073.4M8.8M2.3M
2025-11-302.8M7.3M2M

The trend chart plots 7-day downloads weekly over 359 days. On the first day of the series, OpenAI SDK had 7.3M downloads. That was more than Anthropic SDK at 2.8M and Google Gen AI SDK at 2.1M. Anthropic SDK now leads OpenAI SDK, so the download lead changed hands within the period. On the last day, Anthropic SDK stood at about 27 times its first-day value (+2589.1%). Google Gen AI SDK stood at about 17 times (+1564.9%), and OpenAI SDK at about 8.6 times (+758.3%).

Growth from 30 days earlier is also highest for Anthropic SDK, at +23.8%. OpenAI SDK follows at +15.2%, and Google Gen AI SDK at +14.9%. Over the same period, Anthropic SDK added +14.4M downloads, OpenAI SDK +8.3M and Google Gen AI SDK +4.4M. This data alone cannot explain why downloads grew.

GitHub stars: OpenAI SDK leads on accumulated interest

Comparison: StarsGitHub stars for AI and developer toolsSource: GitHub API · as of 2026-11-23
OpenAI SDK: 11,276OpenAI SDK11,276Anthropic SDK: 2,185Anthropic SDK2,185Google Gen AI SDK: 1,717Google Gen AI SDK1,717
OpenAI SDK: 11,276OpenAI SDK11,276Anthropic SDK: 2,185Anthropic SDK2,185Google Gen AI SDK: 1,717Google Gen AI SDK1,717
OpenAI SDK: 11,276OpenAI SDK11,276Anthropic SDK: 2,185Anthropic SDK2,185Google Gen AI SDK: 1,717Google Gen AI SDK1,717
View as table
Comparison: Stars
RankItemValue
1OpenAI SDK11,276
2Anthropic SDK2,185
3Google Gen AI SDK1,717

OpenAI SDK has 11,276 stars. It ranks No. 99 among all 132 items and No. 3 within the LLM SDKs category. Anthropic SDK has 2,185 stars (No. 119; No. 6 in the category). Google Gen AI SDK has 1,717 stars (No. 124; No. 7 in the category).

OpenAI SDK has about 5.2 times as many stars as Anthropic SDK. It has about 6.6 times as many as Google Gen AI SDK. Forks follow the same order as stars: OpenAI SDK has 1,638 forks, Anthropic SDK 436 and Google Gen AI SDK 299. Anthropic SDK leads in npm downloads but trails OpenAI SDK in stars.

Data and methodology

The sources are the npm download statistics API and the GitHub API. The npm download data is as of November 22, 2026, and the GitHub star data is as of November 23, 2026. The scope is the AI and developer tools listed in this site’s registry. It does not represent npm or GitHub as a whole. Downloads and stars are separate datasets, so their values are not compared with each other.

npm downloads are daily download counts summed over 7 days. The as-of date is the last day the API has finished counting. Changes compare the latest 7-day total with the 7-day totals from 7 days and 30 days earlier. On days when several packages were recorded as 0 at the same time because of gaps in npm’s counting, values were filled with the average of the same weekday in the weeks before and after. Values that drop or jump sharply day over day are flagged as anomalies and are not used as a basis for commentary. Downloads include automated installs from CI and mirrors, so they count installs, not users.

GitHub stars are collected daily through the REST API for each tool’s main repository, along with fork counts. Stars are cumulative as of collection time. Changes compare today’s value with the values from 7 days and 30 days earlier, and are left blank when no record exists. Anomalies are handled the same way as for npm. When a tool is split across several repositories, each language is counted separately. Stars reflect accumulated interest, not usage. Projects whose development has stopped can still score high, so the last push date and archive status are listed alongside.

See the full rankings and daily trends on the npm downloads for AI and developer tools, GitHub stars for AI and developer tools pages.