Skip to main content
gradually.ai logogradually.ai
  • Blog
  • About Us
AI Newsletter
AI Newsletter
  1. Home
  2. AI Blog

OpenAI Codex Statistics 2026: Key Numbers, Data & Facts

Current OpenAI Codex CLI statistics on GitHub stars, downloads, users, benchmarks, and more.

FHFinn Hillebrandt
April 10, 2026
Auf Deutsch lesen
AI Programming
OpenAI Codex Statistics 2026: Key Numbers, Data & Facts
𝕏XShare on XFacebookShare on FacebookLinkedInShare on LinkedInPinterestShare on PinterestThreadsShare on ThreadsFlipboardShare on Flipboard
Links marked with * are affiliate links. If a purchase is made through such links, we receive a commission.

OpenAI Codex CLI launched in April 2025 as an open-source terminal agent for coding. Since then, it has grown into one of the most popular AI coding tools on the market, reaching 3 million weekly active users and 74,000+ GitHub stars in under a year.

In this article, you'll find the latest numbers, data, and facts about Codex CLI. From GitHub stars and npm downloads to benchmarks and pricing to technical specifications and enterprise adoption.

TL;DRKey Takeaways
  • 74,468 GitHub stars, 14.0M npm downloads (last 30 days), 3M weekly active users (April 8, 2026)
  • Rewritten from TypeScript to Rust in June 2025. 696 total releases, Apache 2.0 license
  • GPT-5.3-Codex scores 77.3% on Terminal-Bench and 56.8% on SWE-bench Pro
  • OpenAI valued at $852B (March 2026), $24-25B ARR, $122B latest funding round
Note
This article covers Codex CLI as an AI coding tool exclusively. For a direct comparison with competing tools, check out our article on Claude Code vs. Gemini CLI vs. Codex. All figures are as of April 2026 unless noted otherwise.

1. What Is OpenAI Codex CLI?

Codex CLI is OpenAI's open-source AI coding agent for the terminal. You describe what you want in natural language. Codex writes code, creates files, runs commands, and handles version control. It runs directly in your terminal, sandboxed for safety.

The project launched on April 16, 2025, and has evolved rapidly. Here are the key milestones:

Date
Milestone
Details
Apr. 13, 2025Repository createdGitHub repo initialized
Apr. 16, 2025Open-sourcedPublic release under Apache 2.0
May 16, 2025Codex Web agentCloud-based agent preview (formerly Codex)
Jun. 2025Rust rewriteRewritten from TypeScript to Rust for performance
Jun. 2025$1M Open Source FundOpenAI commits $1M to open-source tooling
Jan. 14, 2026GPT-5.2-CodexNew specialized coding model
Feb. 5, 2026GPT-5.3-Codex77.3% on Terminal-Bench
Feb. 2026Desktop appDesktop application, 1M+ downloads
Mar. 5, 2026GPT-5.41M token context, computer use capabilities
Apr. 2, 2026Token-based pricingShift to token-based billing model
Apr. 8, 20263M weekly usersConfirmed by Sam Altman

From launch to 3 million weekly users in under a year. That is aggressive growth, even by AI standards. The Rust rewrite in June 2025 was a pivotal moment, significantly improving startup time and resource usage.

2. GitHub Stars and npm Downloads

Codex CLI is fully open source under the Apache 2.0 license. Here are the key repository metrics:

  • 74,468 GitHub stars (as of April 10, 2026)
  • 10,507 forks
  • 696 total releases
  • ~4.4 million GitHub release downloads
  • Language: 95.6% Rust (since June 2025 rewrite)

2.1. npm Download Growth

The npm download numbers tell a clear growth story. From 82,000 downloads in the launch month to 14.53 million in March 2026, a 177x increase:

Sources: npm, GitHub
|
CC BY 4.0
gradually.ai

The jump from February to March 2026 stands out. Downloads nearly tripled in a single month (2.5x). That spike coincides with the GPT-5.4 release and the desktop app launch. Total npm downloads over the past 12 months: 32.8 million.

2.2. GitHub Stars Comparison

Codex CLI has strong numbers, but the competition has moved fast. Here is how the three major open-source AI coding CLIs compare:

Source: GitHub, April 10, 2026
|
CC BY 4.0
gradually.ai

Claude Code leads with 112,297 stars. Gemini CLI is close behind at 100,857. Codex CLI sits in third place with 74,468. The gap is notable, but Codex has a different distribution strategy: it is deeply tied into ChatGPT subscriptions, which means many users never interact with the GitHub repo directly.

3. Weekly Active Users

On April 8, 2026, Sam Altman confirmed that Codex CLI had reached 3 million weekly active users. The growth trajectory since the beginning of 2026 has been steep:

Source: Sam Altman (April 8, 2026), OpenAI
|
CC BY 4.0
gradually.ai

From 600,000 weekly users at the start of 2026 to 3 million in just over three months. That is a 5x increase. The desktop app release in February 2026 was a major accelerator, making Codex accessible to developers who prefer graphical interfaces over pure terminal workflows.

For context: ChatGPT has 900 million weekly active users overall and 50 million paying subscribers. Codex CLI targets a much narrower audience (developers), but 3 million weekly active users is a significant number for a command-line tool.

4. npm Downloads Comparison

Monthly npm downloads are a useful proxy for developer adoption. Here is how the three CLI tools compare over the last 30 days:

Source: npm, April 2026
|
CC BY 4.0
gradually.ai

Claude Code dominates with 46.3 million downloads. Codex CLI is in second place at 14.0 million. Gemini CLI trails at 3.2 million. The gap between first and second is roughly 3.3x.

That said, npm downloads don't capture the full picture for Codex. Many users access Codex through the desktop app or through ChatGPT's web interface (the Codex Web agent), neither of which shows up in npm stats.

5. VS Code Extension

Both Codex and Claude Code offer VS Code extensions. The install numbers as of February 2026:

Extension
Installs
Rating
Claude Code5.2M4.0/5
Codex4.9M3.4/5

Claude Code leads in both installs and user satisfaction. The rating gap is significant: 4.0 vs. 3.4 out of 5. That matches what the Pragmatic Engineer Survey found: developers generally prefer Claude Code's output quality, even if they use Codex for its integration with OpenAI's ecosystem.

6. Coding Benchmarks

OpenAI has released several specialized models for Codex. The benchmark progression shows steady improvement:

Model
Release
SWE-bench
Terminal-Bench
Context
codex-1May 202572.1% (Verified)N/A~256K
GPT-5.2-CodexJan. 202656.4% (Pro)64.0%~256K
GPT-5.3-CodexFeb. 202656.8% (Pro)77.3%~256K
GPT-5.4Mar. 2026N/A75.1%1M

A few things stand out. GPT-5.3-Codex holds the best Terminal-Bench score at 77.3%. Terminal-Bench tests how well an AI agent handles real-world terminal tasks, end to end. That is a strong result.

GPT-5.4 trades a small amount of Terminal-Bench performance (75.1% vs. 77.3%) for a massive context window increase to 1 million tokens. For large codebase navigation, that trade-off makes sense.

Note
SWE-bench has two variants: Verified (easier) and Pro (harder). The codex-1 score of 72.1% is on Verified, while the GPT-5.2/5.3-Codex scores of 56.4%/56.8% are on Pro. These are not directly comparable. Pro represents significantly more difficult software engineering tasks.

7. Pricing and Costs

Codex CLI is included in all ChatGPT subscription plans. Unlike Claude Code (which requires a separate Claude subscription), Codex comes bundled with ChatGPT:

Plan
Price
Message Limits (per 5 hours)
ChatGPT Plus$20/month30-150 messages
ChatGPT Pro$200/month300-1,500 messages
ChatGPT Business$30/user/monthTeam-managed limits

7.1. API Pricing

For API access, OpenAI offers two options:

Model
Input (per 1M tokens)
Output (per 1M tokens)
codex-mini-latest$1.50$6.00
GPT-5$1.25$10.00

GPT-5 has a lower input price ($1.25 vs. $1.50) but a higher output price ($10.00 vs. $6.00). For code generation tasks where output tends to be longer than input, codex-mini-latest may be the more economical choice.

7.2. Price Comparison with Competitors

Sources: OpenAI, Anthropic
|
CC BY 4.0
gradually.ai

At the entry level, both Codex (via ChatGPT Plus) and Claude Code (via Claude Pro) cost $20/month. The value proposition differs: ChatGPT Plus includes Codex as one feature among many (DALL-E, browsing, file uploads). Claude Pro is more focused on coding and long-form tasks.

8. Technical Specifications

The technical overview:

Property
Value
Context window (CLI)~256K tokens
Context window (GPT-5.4)1M tokens
Sandbox (macOS)Seatbelt
Sandbox (Linux)Landlock + seccomp
PlatformsmacOS, Linux, Windows (WSL)
Installationnpm i -g @openai/codex or brew install --cask codex
Language95.6% Rust
LicenseApache 2.0
Supported modelsGPT-5.4, GPT-5.3-Codex, codex-mini-latest, o3, o4-mini
Total releases692

The sandbox architecture is worth highlighting. Codex uses Seatbelt on macOS and Landlock + seccomp on Linux to isolate executed code. That means Codex can run commands in your terminal without risking damage to your system. It is a design choice that prioritizes safety over convenience, and it is one of the areas where Codex genuinely differentiates itself.

The Rust rewrite is another notable decision. Moving from TypeScript to Rust in June 2025 significantly reduced startup time and memory usage. At 95.6% Rust, Codex is one of the few AI tools built primarily in a systems language.

9. OpenAI Financials

Codex doesn't exist in isolation. It is part of OpenAI's broader ecosystem. Understanding the parent company's financials provides context for where Codex fits:

Sources: Bloomberg, Crunchbase, OpenAI
|
CC BY 4.0
gradually.ai

$852 billion valuation. $168 billion in total funding. $24-25 billion in annualized revenue. These are staggering numbers, even in the context of the AI industry.

9.1. Latest Funding Round

OpenAI's $122 billion round in March 2026 was the largest venture capital deal in history. The investor breakdown:

Sources: Bloomberg, Crunchbase
|
CC BY 4.0
gradually.ai

Amazon alone invested $50 billion. Nvidia and SoftBank contributed $30 billion each. For comparison, Anthropic's largest round was $30 billion total. OpenAI raised 4x that in a single deal.

9.2. Revenue Comparison

Where does OpenAI stand relative to the competition?

Sources: Bloomberg, SaaStr, Epoch AI
|
CC BY 4.0
gradually.ai

OpenAI leads with roughly $25 billion ARR, but Anthropic at $19 billion is closing the gap fast. The AI coding segment is a key driver for both companies. Codex and Claude Code are competing not just for developer mindshare, but for billions in revenue.

10. Enterprise Adoption

The enterprise numbers are OpenAI's strongest argument for Codex:

  • 90% of Fortune 100 companies use OpenAI products (including Codex)
  • 6x enterprise growth since January 2026
  • 900M weekly active users across ChatGPT (50M paying)
  • ~4,000 employees (end of 2025), targeting 8,000 by end of 2026

10.1. Named Enterprise Customers

Customer
Industry
Details
GitHubDeveloper ToolsCodex powering Copilot's agentic features
NotionProductivityAI assistant integration
CiscoNetworkingEnterprise deployment
NvidiaSemiconductorsDevelopment workflow integration
Goldman SachsFinanceInternal coding assistance
RampFintechEngineering team adoption
DoorDashDeliveryDevelopment acceleration

10.2. Codex Security

In March 2026, OpenAI launched Codex Security in preview. The early numbers are significant:

  • 1.2 million commits scanned
  • 10,561 high-severity findings

That is roughly 1 high-severity security issue per 114 commits. Codex Security automates vulnerability detection in the CI/CD pipeline, a direct competitor to Snyk and SonarQube but powered by LLMs. Enterprise customers care deeply about this. Security tooling is often the deciding factor for large organizations choosing an AI coding platform.

11. Survey Data and Market Position

Two major surveys provide context for Codex's market position:

11.1. Pragmatic Engineer Survey (February 2026)

The most comprehensive AI coding survey to date (~900 developers):

  • Claude Code ranked #1 most-used and #1 most-loved AI coding tool
  • 95% of developers use AI tools weekly
  • Codex ranked behind Claude Code and GitHub Copilot in overall usage

11.2. JetBrains Survey (January 2026)

Metric
Value
Context
Heard of Codex27%Awareness among surveyed developers
Currently using Codex3%Pre-desktop app launch
AI coding market size (2026)$9.5-12.8BEstimated market value
Market CAGR22-28%Annual growth rate

The JetBrains numbers (3% usage) look low, but they were collected in January 2026, before the desktop app launch and the GPT-5.3-Codex/GPT-5.4 releases. The 3 million weekly active users reported in April 2026 suggest that adoption has accelerated dramatically since then.

Source: Pragmatic Engineer Survey, February 2026 (~900 developers)
|
CC BY 4.0
gradually.ai

For complex coding tasks (multi-file refactoring, architecture decisions, large-scale debugging), Claude Code leads at 44%. Codex / ChatGPT sits at 19%. This is the segment where terminal agents have the most impact, and where Codex has the most room to grow.

12. Competitor Overview

The AI coding CLI market has three major open-source players. Here is a direct comparison:

Feature
Codex CLI
Claude Code
Gemini CLI
GitHub Stars74,468112,297100,857
npm Downloads (30d)14.0M46.3M3.2M
LicenseApache 2.0Open SourceApache 2.0
LanguageRustTypeScriptTypeScript
Context (max)1M (GPT-5.4)1M (beta)1M (standard)
Terminal-Bench77.3%65.4%N/A
SWE-bench Pro56.8%N/AN/A
SandboxSeatbelt/LandlockSeatbelt/LandlockDocker
Included inChatGPT plansClaude plansFree (API)
VS Code Extension4.9M installs5.2M installsN/A

Each tool has clear strengths. Codex leads on Terminal-Bench (77.3%) and benefits from the ChatGPT ecosystem with 900 million weekly users. Claude Code leads in overall developer adoption and satisfaction. Gemini CLI offers the largest free context window at 1 million tokens standard.

For a much deeper comparison, read our article on Claude Code vs. Gemini CLI vs. Codex.

13. Interesting Facts and Records

To close out, here are the most notable facts about Codex CLI:

  1. Rust rewrite in 2 months: Codex was rewritten from TypeScript to Rust in June 2025, just two months after the initial open-source release. 95.6% of the codebase is now Rust.
  2. 696 releases in 12 months: That averages out to nearly two releases per day. Few open-source projects maintain this pace.
  3. 177x download growth: From 82,000 npm downloads in April 2025 to 14.53 million in March 2026.
  4. 3 million weekly users in under a year: Confirmed by Sam Altman on April 8, 2026.
  5. 77.3% Terminal-Bench: GPT-5.3-Codex holds the highest Terminal-Bench score among all AI coding models tested.
  6. $122 billion funding round: OpenAI's March 2026 round was the largest VC deal in history. Amazon invested $50 billion alone.
  7. Codex Security scanned 1.2 million commits: Found 10,561 high-severity findings in the preview period.
  8. 90% of Fortune 100: Nearly all Fortune 100 companies use OpenAI products, giving Codex a built-in enterprise distribution channel.

The bottom line: Codex CLI has established itself as a serious contender in the AI coding market. It trails Claude Code in developer adoption and satisfaction, but OpenAI's ecosystem advantages (ChatGPT integration, enterprise relationships, and massive funding) give it a strong foundation for growth.

If you want to compare all three CLI tools in detail, check out our Claude Code vs. Gemini CLI vs. Codex comparison.

Frequently Asked Questions About OpenAI Codex

𝕏XShare on XFacebookShare on FacebookLinkedInShare on LinkedInPinterestShare on PinterestThreadsShare on ThreadsFlipboardShare on Flipboard
FH

Finn Hillebrandt

AI Expert & Blogger

Finn Hillebrandt is the founder of Gradually AI, an SEO and AI expert. He helps online entrepreneurs simplify and automate their processes and marketing with AI. Finn shares his knowledge here on the blog in 50+ articles as well as through his ChatGPT Course and the AI Business Club.

Learn more about Finn and the team, follow Finn on LinkedIn, join his Facebook group for ChatGPT, OpenAI & AI Tools or do like 17,500+ others and subscribe to his AI Newsletter with tips, news and offers about AI tools and online business. Also visit his other blog, Blogmojo, which is about WordPress, blogging and SEO.

Similar Articles

How to Use Claude Code for Free (And What the Limits Are)
AI Programming

How to Use Claude Code for Free (And What the Limits Are)

March 19, 2026
FHFinn Hillebrandt
Claude Code Pricing: How Much Does Claude Code Really Cost?
AI Programming

Claude Code Pricing: How Much Does Claude Code Really Cost?

March 19, 2026
FHFinn Hillebrandt
How to Install and Use Claude Code on Windows (2026 Guide)
AI Programming

How to Install and Use Claude Code on Windows (2026 Guide)

March 19, 2026
FHFinn Hillebrandt
Claude Code Commands: The Ultimate Reference
AI Programming

Claude Code Commands: The Ultimate Reference

March 15, 2026
FHFinn Hillebrandt
Claude Code Statistics 2026: Key Numbers, Data & Facts
AI Programming

Claude Code Statistics 2026: Key Numbers, Data & Facts

March 15, 2026
FHFinn Hillebrandt
How to Create the Perfect AGENTS.md (incl. Template)
AI Programming

How to Create the Perfect AGENTS.md (incl. Template)

March 13, 2026
FHFinn Hillebrandt

Stay Updated with the AI Newsletter

Get the latest AI tools, tutorials, and exclusive tips delivered to your inbox weekly

Unsubscribe anytime. About 4 to 8 emails per month. Consent includes notes on revocation, service provider, and statistics according to our Privacy Policy.

gradually.ai logogradually.ai

Germany's leading platform for AI tools and knowledge for online entrepreneurs.

AI Tools

  • AI Chat
  • ChatGPT in German
  • Text Generator
  • Prompt Enhancer
  • Prompt Link Generator
  • FLUX AI Image Generator
  • AI Art Generator
  • Midjourney Prompt Generator
  • Veo 3 Prompt Generator
  • AI Humanizer
  • AI Text Detector
  • Gemini Watermark Remover
  • All Tools →

Creative Tools

  • Blog Name Generator
  • AI Book Title Generator
  • Song Lyrics Generator
  • Artist Name Generator
  • Team Name Generator
  • AI Mindmap Generator
  • Headline Generator
  • Company Name Generator
  • AI Slogan Generator
  • Brand Name Generator
  • Newsletter Name Generator
  • YouTube Channel Name Generator

Business Tools

  • API Cost Calculator
  • Token Counter
  • AI Ad Generator
  • AI Copy Generator
  • Essay Generator
  • Story Generator
  • AI Rewrite Generator
  • Blog Post Generator
  • Meta Description Generator
  • AI Email Generator
  • Email Subject Line Generator
  • Instagram Bio Generator
  • AI Hashtag Generator

Resources

  • Claude Code MCP Servers
  • Claude Code Skills
  • n8n Hosting Comparison
  • OpenClaw Hosting Comparison
  • Claude Code Plugins
  • Claude Code Use Cases
  • Claude Cowork Use Cases
  • OpenClaw Use Cases
  • Changelogs

© 2025 Gradually AI. All rights reserved.

  • Blog
  • About Us
  • Legal Notice
  • Privacy Policy