ANALYSIS

Claude Code Now Writes 4% of Every Public GitHub Commit on Earth

M Marcus Rivera Jun 4, 2026 2 min read
Engine Score 8/10 — Important

This story provides a highly concrete and significant measure of AI's penetration into software development, showing rapid adoption and substantial industry impact. The specific statistic (4% of GitHub commits, doubling in a month) is novel and actionable for industry stakeholders.

Editorial illustration for: Claude Code Now Writes 4% of Every Public GitHub Commit on Earth

Anthropic disclosed that Claude Code now authors 4% of all public GitHub commits worldwide, double the roughly 2% figure from just one month earlier. More than half of Claude Code revenue comes from enterprise customers.

This single statistic may be the most concrete measure of AI’s penetration into software development to date โ€” more telling than any benchmark.

What 4% actually represents

GitHub hosts roughly 100 million developers. Four percent of all public commits means Claude Code is producing more code than most mid-size software companies combined. A benchmark score is a lab result; commit share is real-world adoption.

The doubling rate is the real story

The figure doubled from about 2% to 4% in a single month. If that growth rate holds, the trajectory is steep.

Month Share of public commits (at 2x/month)
One month ago ~2%
Now 4%
Projected next month ~8%
Projected September ~16%

Doubling cannot continue indefinitely, but even a slowing curve points to AI authoring a double-digit share of the world’s public code within months.

How it compares to Copilot, Codex, and Cursor

GitHub Copilot, with more than 40 million users, has not disclosed equivalent commit-share data. Neither have Codex or Cursor. That makes Anthropic’s 4% the only hard, public number on actual code output โ€” competitors report users, not commits.

Why one metric beats every benchmark

Benchmarks measure capability in controlled conditions. Commit share measures whether developers actually ship the model’s output. The 4% figure helps explain the release cadence behind Claude Opus 4.8 and the economics behind Anthropic’s $965 billion valuation.

For engineering leaders, the takeaway is measurement: track the share of your own team’s merged commits that originate from AI assistance. If the global figure is 4% and doubling, your internal number is the metric that predicts your tooling budget.

Share

Enjoyed this story?

Get articles like this delivered daily. The Engine Room — free AI intelligence newsletter.

Join 500+ AI professionals · No spam · Unsubscribe anytime