# AI Coding Statistics 2026: The Numbers That Are Actually Sourced

> How much code AI writes, who uses the tools, and what it does to quality — every statistic dated and traced to its primary source, updated on a cadence.

The sourced numbers, June 2026: Google says 75% of its new code is AI-generated; 84% of developers use or plan AI tools and 51% use them daily (Stack Overflow); Claude Code passed $2.5B run-rate, Copilot 20M users; and the METR RCT found experienced devs 19% slower — adoption runs ahead of measured productivity. Every figure dated and traced to a primary source.

AI-coding statistics are mostly laundered guesses — numbers that trace to an SEO listicle citing another listicle. This page is the opposite: **every figure below is dated, sourced, and labeled** (primary / survey / reported), verified June 12, 2026, and refreshed on a cadence. Numbers we couldn't trace are omitted.

## How much code does AI write?

- **75% of new code at Google** is AI-generated and engineer-approved — Sundar Pichai, Cloud Next, **April 2026** *(primary)*. The trajectory: >25% (Oct 2024) → "well over 30%" (Apr 2025) → ~50% (fall 2025) → 75%.
- **20–30% of code in Microsoft's repos** "written by software" — Satya Nadella, **April 2025** *(reported)*.
- **~4% of all public GitHub commits** authored by Claude Code, per an external analysis cited in Anthropic's Series G announcement, **February 2026** *(primary, second-hand analysis)*.
- Context for scale: GitHub logged **nearly 1 billion commits in 2025** (+25% YoY), with **1.13M+ public repos importing an LLM SDK** (+178% YoY) — Octoverse, **October 2025** *(primary)*.

## Who's using the tools

- **84%** of developers use or plan to use AI tools (76% in 2024); **51%** of professional developers use them **daily** — Stack Overflow Developer Survey, 49,000+ respondents, **July 2025** *(survey)*.
- **90%** of tech professionals use AI at work (+14 pts YoY), median **2 hours/day** with AI — DORA, ~5,000 surveyed, **September 2025** *(survey)*.
- **85%** regularly use AI tools; 68% expect AI proficiency to become a job requirement — JetBrains State of the Developer Ecosystem, 24,534 devs, **October 2025** *(survey)*.
- **Agents specifically:** 31% of developers used AI agents in 2025 (SO); by early 2026, **55%** of engineers used agents regularly — 63.5% among staff+ — Pragmatic Engineer survey, 906 respondents, *(survey; self-selected, senior-skewed sample)*.
- **Trust lags:** 46% distrust AI output accuracy (31% in 2024); the #1 frustration — for 45% — is time spent **debugging AI-generated code** (SO 2025). The [verification stack](/guides/testing/testing-ai-generated-code) exists for a reason.

## The tool race, by sourced metric

- **Preference:** Claude Code ranked **most-used and most-loved** (46% most-loved, vs Cursor 19%, Copilot 9%) — Pragmatic Engineer, **February 2026** *(survey)*.
- **Scale:** GitHub Copilot crossed **20M all-time users** (July 2025) and **4.7M paid subscribers**, +75% YoY (January 2026) *(reported, Microsoft earnings)*; ~80% of new GitHub users adopt Copilot in week one (Octoverse, *primary*).
- **Revenue:** Claude Code hit **$1B run-rate six months after GA** (December 2025) and **>$2.5B by February 2026**, with enterprise over half of it — Anthropic *(primary)*. Cursor's annualized revenue climbed from **$2B (February)** to **$3B (late April)** to **~$4B (early June 2026)** — Bloomberg/TechCrunch/Dealroom *(reported)*; on **June 16, 2026** SpaceX announced a definitive agreement to acquire Cursor (Anysphere) in a **$60B all-stock** deal, expected to close Q3 2026 *(reported, deal announced)*. OpenAI's Codex claimed **4M+ weekly developers** (April 2026, *primary*).
- **The builders:** Lovable confirmed **$400M ARR with 146 employees** (February 2026, after $100M added in a single month) *(reported, company-confirmed)*; Bolt went **$0→$20M ARR in two months** post-launch *(reported, founder on record)*.

## What it does to productivity and quality

The honest section. **For:** DORA 2025 found AI adoption *positively associated with delivery throughput* for the first time (a reversal from 2024), and >80% of practitioners perceive productivity gains *(survey)*. **Against:** the METR randomized controlled trial — the only RCT on experienced developers and real tasks — measured them **19% slower** with early-2025 tools, while they believed they were ~20% faster (**July 2025**, *primary*; a redesigned follow-up is underway). **Quality:** GitClear's analysis of 211M changed lines found code duplication rising sharply in the AI era (copy/paste up, refactoring down through 2024) *(primary, vendor research — affiliation disclosed)*; DORA still finds AI adoption *negatively* associated with delivery stability.

The synthesis this page stands behind: **adoption is real and enormous; measured productivity is conditional** — on task, skill, and above all on the [verification practices](/guides/workflow/ai-code-review-workflow) that separate speed from [slop](/glossary/ai-slop).

---

_Source: https://agentscamp.com/guides/concepts/ai-coding-statistics-2026 — Guide on AgentsCamp._
