Claude Code Statistics

Last updated on July 4, 2026

Claude Code statistics cover — terminal-native, agentic, data-heavy coding tool

Claude Code is a useful case study in how quickly AI coding tools are moving from autocomplete-style assistance toward agentic workflows: terminal commands, file edits, repository navigation, pull-request comments, and longer execution sequences. But “Claude Code statistics” can mean several different things.

Some numbers describe adoption in developer surveys. Others describe usage behavior inside Claude Code sessions. Others measure technical capability on benchmarks such as SWE-bench Verified or Terminal-Bench. Still others are only ecosystem signals — GitHub stars, npm activity, or public-repository research. This article separates those categories, prioritizing official Anthropic materials, product documentation, developer surveys, GitHub/npm primary sources, academic papers, and independent benchmark organizations. It does not treat unsourced monthly-active-user, revenue, enterprise-customer, or universal-ROI claims as reliable statistics.

Top Statistics

The most detailed numbers come from Anthropic’s own research on Claude Code sessions. Each is direct telemetry or structured analysis — but produced by the vendor, and measured under a specific study design.

400 K Claude Code sessions analyzed in Anthropic’s expertise study (Oct 2025–Apr 2026) Anthropic
235 K people whose sessions were analyzed in that study Anthropic
20 h average active runtime per week per Claude Code user (not typing time) Anthropic
2,400 words an average Claude turn produces while reading files, editing code, and running commands Anthropic

Expertise & success rates (expertise study)

15% verified success for novice users — versus 28%–33% for intermediate and expert users Anthropic
77% partial success for novices — versus 91%–92% for intermediate and expert users Anthropic
2×+ expert sessions achieve verified success more than twice as often as novice sessions Anthropic
~25% increase in the median value of tasks attempted over the seven-month study Anthropic

Internal autonomy trends

25 → 45 min longest uninterrupted Claude Code work period grew from under 25 to over 45 minutes in three months Anthropic
5.4 → 3.3 average human interventions per session fell over the same period Anthropic
+116% increase in maximum consecutive Claude Code tool calls Anthropic
1 vs 13 median human prompts in a Claude Code blog-writing session versus rounds in a comparable chat workflow Anthropic

Developer surveys & benchmarks

10% of Stack Overflow 2025 respondents use Claude Code — versus 18% for Cursor and 5% for Windsurf Stack Overflow
84% of developers use or plan to use AI tools; 46% do not trust AI output accuracy Stack Overflow
72.5% / 72.7% Claude Opus 4 and Sonnet 4 on SWE-bench Verified, with a bash + file-editing agent scaffold Anthropic
$3 / $15 Claude Sonnet 4 API pricing per million input / output tokens Anthropic Docs

What Claude Code Is — and What Its Statistics Measure

Claude Code is an agentic coding tool usable from the terminal, IDE, desktop app, and browser, with access through Claude subscriptions or Anthropic Console accounts (Claude Code Docs). That definition matters because Claude Code statistics are not interchangeable with Claude model statistics.

Adoption

Developer surveys

Self-reported use — e.g. whether a respondent uses Claude Code as an AI-enabled development environment. A survey share, not telemetry.

Stack Overflow

Usage behavior

In-session telemetry

Sessions, turns, active runtime, autonomy, and task mix from privacy-preserving transcript analysis of real Claude Code use.

Anthropic

Capability

Benchmarks

SWE-bench Verified, Terminal-Bench and similar evaluate Claude models with a particular tool scaffold — constrained task performance, not adoption.

Anthropic

Ecosystem

Public signals

GitHub stars, npm activity, and agent-authored pull requests in public repos — attention and distribution, not confirmed active users.

GitHub

Anthropic’s getting-started documentation lists precise install requirements — Node.js 18+, 4 GB+ RAM, and supported systems including macOS 10.15+, Ubuntu 20.04+, Debian 10+, and Windows 10+ through WSL (Anthropic Docs). A practical consequence is that the “unit” of analysis varies: a session may include many tool calls and turns; a GitHub Action invocation is bounded by --max-turns (default 10); a benchmark run gives an agent a specific scaffold; and a survey answer represents self-reported use, not observed telemetry.

Adoption in Developer Surveys

The strongest explicit adoption percentage comes from Stack Overflow’s 2025 Developer Survey — 49,000+ respondents from 177 countries, with an AI-enabled IDE/tool question that explicitly names Cursor, Claude Code, and Windsurf (Stack Overflow).

AI-enabled IDE / tool usage — Stack Overflow 2025

Cursor 18%
Claude Code 10%
Windsurf 5%

Source: Stack Overflow 2025 Developer Survey. Read as a survey share among respondents, not a global market-share estimate. Bars are relative to Cursor.

84%

of developers use or plan to use AI tools

Stack Overflow 2025 — near-universal adoption intent

Stack Overflow
46%

do not trust the accuracy of AI output

…the trust gap sitting behind that adoption

Stack Overflow

That 10% should not be confused with the separate finding that Claude Sonnet models were used by 45% of professional developers in the LLM-usage question — “Claude model usage” and “Claude Code as an AI-enabled development environment” are different constructs (Stack Overflow). JetBrains adds strong context: its 2025 State of Developer Ecosystem survey (24,534 developers after cleaning, fielded April–June 2025) found 85% of developers use AI tools and 62% regularly use at least one coding assistant (JetBrains). GitHub’s Octoverse 2025 is different again — observed activity across 180M+ developers and 630M repositories, but it does not publish Claude Code market-share percentages (GitHub Blog).

Claude models vs Claude Code — two different Stack Overflow questions

Claude models (any) 45%
Claude Code (the tool) 10%

Source: Stack Overflow 2025. 'Claude models' counts any Claude LLM in the model-usage question; 'Claude Code' is the agentic tool as an AI-enabled development environment — a much smaller share. Bars are relative to model usage.

Usage Patterns: Sessions, Turns, Autonomy, and Task Mix

The most detailed usage statistics come from Anthropic’s “Agentic coding and persistent returns to expertise” study — about 400,000 sessions from 235,000 people over October 2025 to April 2026 (Anthropic). The most striking single number is average active runtime: 20 hours per week per user, measured as active runtime rather than typing time.

Claude Code session cadence and usage patterns
The 1-prompt vs 13-round cadence, and the division of labor: humans decide WHAT, Claude decides HOW.

Anthropic’s study states that humans primarily determine what should be done while Claude primarily determines how it is executed (Anthropic). The task mix also shifted: debugging’s share fell by nearly half over the study period, while deployment, data analysis, and non-code document generation grew, and the median value of tasks attempted rose by roughly 25% (Anthropic). The Economic Index series adds that Claude success decreases as task length grows, while multi-turn interaction partially offsets complexity (Anthropic).

Expertise, Success Rates, and the “Persistent Returns to Expertise”

One of the most important findings is that better AI tools do not erase human expertise.

Verified success by expertise level

Intermediate / expert 28–33%
Novice 15%

Source: Anthropic expertise study. Partial success shows the same gradient: 77% for novices versus 91%–92% for intermediate/expert users. Bars are relative to the top band.

Claude Code expertise and success rates
Verified and partial success rise with expertise — success depends on the human-AI system, not the model alone.

Success metrics depend on the human-AI system, not the model alone: experts are better at specifying tasks, spotting incorrect changes, narrowing scope, and deciding when to intervene. The abandonment finding points the same way — Anthropic reports that novices abandon failing sessions several times more frequently (Anthropic). These rates are measured under a specific study design and success definition; they are better read as evidence that expertise remains complementary to agentic coding than as universal success rates for every repository.

Anthropic publishes several statistics about its own internal use. Its Claude Code product page states that, at Anthropic, “the majority of code is now written by Claude Code” (Anthropic) — a strong statement about Anthropic’s own workflow, not a claim about all companies.

45 min+ longest uninterrupted Claude Code work period, up from under 25 minutes in three months Anthropic
3.3 average human interventions per session, down from 5.4 Anthropic
+ 116 % increase in maximum consecutive Claude Code tool calls Anthropic
Claude Code internal autonomy trends
Longer uninterrupted work, fewer interventions, more consecutive tool calls, and doubled success on the hardest internal tasks.

Those numbers suggest longer autonomous stretches and fewer interruptions, but humans did not disappear: for minimal-complexity tasks, 87% of tool calls involved humans, versus 67% for high-complexity tasks (Anthropic). Anthropic also reported that success on employees’ hardest tasks doubled during the observation period — best presented as a relative change, since the dossier does not give absolute start and end percentages. Internal Anthropic data is valuable because it comes from real work, but Anthropic is both the product maker and an unusually AI-native organization, so these figures show what is possible in Anthropic’s environment, not population-level adoption.

Tool calls that still involve a human, by task complexity

Minimal-complexity tasks 87%
High-complexity tasks 67%

Source: Anthropic autonomy research. Counterintuitively, humans stay more involved on the simplest tasks and step back as complexity rises. Bars are relative to the minimal-complexity share.

Product, Deployment, Security, and Pricing Statistics

Claude Code’s documentation provides concrete operational detail even though it discloses no public user counts, install totals, or revenue.

Operational & pricing facts

Node 18+ · 4 GB+ baseline requirements; supported on macOS 10.15+, Ubuntu 20.04+, Debian 10+, and Windows 10+ with WSL Anthropic Docs
Bedrock · Vertex enterprise auth also via Amazon Bedrock and Google Vertex AI, alongside Console and Claude subscriptions Anthropic Docs
2 KB MCP tool descriptions and server instructions are truncated after 2 KB; tool-reference search on Sonnet 4+ and Opus 4+ Claude Code Docs
$3 / $15 Claude Sonnet 4 pricing per million input / output tokens; cache reads are 0.1× the input price Anthropic Docs
Claude Code product deployment, security and pricing facts
Requirements, deployment routes, security posture, and pricing — the operational factsheet that no adoption dataset replaces.

Security documentation describes Claude Code as read-only by default, requiring explicit permission before editing files or running commands, with encrypted credentials, limited retention, and SOC 2 Type II / ISO 27001 referenced through Anthropic’s Trust Center (Anthropic Docs). Data-usage docs state that, by default, Anthropic does not train generative models on code or prompts sent through Claude Code (Anthropic Docs) — for organizations, often more decision-relevant than any benchmark score.

Public Ecosystem Signals: GitHub, npm, and Open-Source Detection

Public ecosystem data can track visibility and developer engagement, but it should not be mistaken for active-user measurement. The canonical repository is anthropics/claude-code, exposing stars, forks, watchers, issues, and releases (GitHub).

Claude Code public ecosystem signals
GitHub stars, npm downloads, and public agent-authored pull requests are useful but incomplete adoption signals.

GitHub’s own API semantics matter: in repository metadata watchers_count mirrors stargazers_count, while actual notification watchers are subscribers_count (GitHub Docs). Stars are best treated as attention, forks as experimentation — neither proves production usage. The canonical npm package is @anthropic-ai/claude-code, where download counts would represent package retrievals, not confirmed installs (npm). Academic work is beginning to study agents in public repositories — the AIDev dataset covers 932,791 agent-authored pull requests across five coding agents including Claude Code (arXiv) — but private repos, local-only workflows, and enterprise deployments are missing, so public detection is a lower-bound lens, not a comprehensive count.

Benchmarks and Capability Context

Claude Code statistics often get mixed with Claude model benchmark statistics. That is useful only if the distinction is explicit: benchmarks evaluate Claude models with particular tools, prompts, and execution environments.

SWE-bench Verified — reported Claude scores

Claude Sonnet 4 72.7%
Claude Opus 4 72.5%
Claude 3.5 Sonnet 49%

Source: Anthropic. Claude 4 used a bash + file-editing agent scaffold; the 3.5 Sonnet figure used a simpler prompt and two tools. Bars are relative to the top score.

Terminal-Bench — reported Claude scores

Claude Opus 4 43.2%
Claude Sonnet 4 35.5%

Source: Anthropic, under a comparable external-agent setup; Anthropic separately reported higher scores using Claude Code itself, illustrating that the scaffold matters. Bars are relative to the top score.

On Terminal-Bench, Anthropic reported Claude Opus 4 at 43.2% and Claude Sonnet 4 at 35.5% under a comparable external-agent setup — and separately reported higher scores using Claude Code rather than the identical external framework, illustrating that the surrounding agent software affects measured performance (Anthropic). The safest conclusion: benchmarks measure constrained technical capability, not adoption, productivity, revenue, or market share. A high SWE-bench score does not tell us how many developers use Claude Code every day.

Unsupported or Commonly Misread Claude Code Claims

Several attractive statistics are not supported by the dossier and should not be treated as facts.

Unsupported Claude Code statistics claims
What the evidence does not support — set up before the item-by-item corrections.
01

No official monthly-active-user number.

The documentation explains how to install and use Claude Code, but the dossier found no official DAU, MAU, user-count, or install-count disclosures.

02

No audited revenue figure.

Pricing docs give API token prices ($3 / $15 per million for Sonnet 4), but pricing is not revenue.

03

npm and enterprise routes are not user counts.

Package retrievals do not equal active users, and support for Bedrock or Vertex AI is a deployment option, not a customer count.

04

"Majority of code" is an internal statement.

Anthropic says the majority of its own code is written by Claude Code — not a global software-development statistic.

05

No fixed ROI or "#1" ranking.

The 81,000-user survey found gains often came from expanding scope, not a single multiplier; Stack Overflow’s 10% is one survey share, not a definitive global ranking.

Source Quality Note

The strongest Claude Code-specific evidence comes from Anthropic’s official research on sessions, autonomy, internal work patterns, the Economic Index, and software-development interactions — direct telemetry or structured analysis, but produced by the vendor (Anthropic).

Claude Code statistics source quality hierarchy
The evidence hierarchy: vendor research and docs, then surveys, then ecosystem signals and benchmarks — each with different limits.

Frequently Asked Questions

How many people use Claude Code?

Anthropic has not disclosed an official monthly- or daily-active-user count. Its largest expertise study analyzed about 400,000 Claude Code sessions from about 235,000 people between October 2025 and April 2026, but that is a study sample, not a total user base.

What share of developers use Claude Code?

In Stack Overflow’s 2025 Developer Survey, 10% of respondents reported using Claude Code as an AI-enabled development environment, compared with 18% for Cursor and 5% for Windsurf. It is a survey share among respondents, not a global market share.

How much time do people spend in Claude Code?

Anthropic’s expertise study found Claude Code users spent an average of 20 hours per week using the tool, measured as active runtime rather than typing time — agentic coding includes long stretches where the model reads files, edits code, and runs commands.

Does expertise still matter when using Claude Code?

Yes. Anthropic found novice users had 15% verified success versus 28%–33% for intermediate and expert users, and expert sessions succeeded more than twice as often as novice sessions — evidence that expertise remains complementary to agentic coding.

How does Claude Code score on coding benchmarks?

Anthropic reported Claude Opus 4 at 72.5% and Claude Sonnet 4 at 72.7% on SWE-bench Verified using a bash and file-editing agent scaffold, and 43.2% / 35.5% on Terminal-Bench under a comparable external-agent setup. These measure constrained capability, not adoption or productivity.

How much does Claude Code cost?

It is available through Claude subscriptions and Anthropic Console. When it uses Anthropic APIs, Claude Sonnet 4 is priced at $3 per million input tokens and $15 per million output tokens, with cache reads at 0.1× the input price. Pricing is not the same as Anthropic’s revenue.

Does Anthropic train on my Claude Code code?

Anthropic’s data-usage documentation states that, by default, it does not train generative models using code or prompts sent through Claude Code, with encrypted credentials and limited retention, and references SOC 2 Type II and ISO 27001 through its Trust Center.

Sources and Further Reading