Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

OpenAI vs Anthropic SDK

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, OpenAI is a dependency in 287 (5.9%) and Anthropic SDK in 239 (4.9%): OpenAI is 1.2× as common. Among repos created in the last 90 days that use a model sdks tool, OpenAI is in 13.8% and Anthropic SDK in 27.6%, against 35.5% and 29.0% of older ones. 89 projects list both, often a sign of a migration or of a monorepo with several apps.

Model SDKs npm Updated Nov 17, 2026

OpenAI5.9%
Anthropic SDK4.9%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

OpenAIAnthropic SDK
Agent projects that use it287239
Rank in model sdks#1#4
In new repos with a model sdks tool (last 90 days)13.8%27.6%
In older repos with one35.5%29.0%
Downloads, last 7 days58.8M70.7M
GitHub stars11.3K2,179
Last push to its repoNov 16, 2026Nov 16, 2026
LicenseApache-2.0Apache-2.0
Funding——
Projects that list both89

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposOpenAIAnthropic SDK
Claude Code2,6175.8%7.2%
GitHub Copilot2,3504.6%3.4%
Cursor1,9907.2%4.1%
Gemini CLI4225.7%4.7%
OpenAI Codex4092.4%4.4%
OpenCode3042.6%3.3%
OpenClaw24111.2%12.4%
Devin Desktop23112.6%8.2%
Kiro1255.6%6.4%
Roo-Code908.9%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

OpenAI

Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.

Most often used with it:

dotenv57.8% of its projects
Zod61.0% of its projects
TypeScript88.9% of its projects
tsx45.3% of its projects
React65.2% of its projects

npm install openai

Anthropic SDK

Official TypeScript SDK for calling Claude API and building agent applications.

Most often used with it:

OpenAI37.2% of its projects
Zod60.3% of its projects
Express33.5% of its projects
tsx43.9% of its projects
TypeScript84.1% of its projects

npm install @anthropic-ai/sdk

More matchups

Anthropic SDK vs Google Generative AIOpenAI vs Google Generative AIOpenAI Python Library vs Anthropic Python SDKAnthropic Python SDK vs Google GenAI Python SDKOpenAI Python Library vs Google GenAI Python SDK

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.