What 157 Trillion tokens say about the adoption of code agents

We anonymized 37 million coding agent sessions from 146 organizations and 28,980 engineers. Here is where the spend goes, what agents work on and how engineers use them.

Chris Cooney3 min read

The State of Agentic Coding by Coralogix: a world map of the Coralogix regions with 157T tokens, 37M agent sessions, $70M token spend and 29K engineers

We anonymized 37 million coding agent sessions, comprising 157 trillion tokens and $70 million in token spend, from 146 organizations that run their observability on Coralogix, Coralogix included, and analyzed them with the DataPrime query engine. The State of Agentic Coding reports where coding agent spend goes, what agents work on and how engineers use them.

The scale of the analysis

World map of the seven Coralogix regions in the study, Oregon, Iowa, Ohio, Ireland, Stockholm, Mumbai and Singapore, above the figures: 146 global organizations, 28,980 engineers, 7 regions, 157T tokens a year, 37M agent sessions a year and $70M token spend
The study covers seven Coralogix regions across North America, Europe and Asia

Those sessions come from 28,980 engineers in seven Coralogix regions across North America, Europe and Asia. We anonymized the telemetry at source, so no names, companies or repositories left any customer account, and every figure in the report is pooled across organizations.

Spend per engineer and per organization

The median engineer spends $312 a year on coding agents, so half spend less. The tail above the median runs long, and the most expensive single agent session in the dataset cost $39,700.

Ten organizations account for 48% of all agent spend. With spend this uneven, an average says little about any one team. Engineering leaders get more from asking who sits in the tail, what they run, and whether that work is worth what it costs.

Cumulative share of agent spend by organization, ranked largest first: the top 25 of 133 organizations account for 79% of spend, far above an even split
Organizations ranked by agent spend, with the running total

What agents work on

Maintenance makes up 56% of what engineers ask agents to do, covering configuration, upgrades, refactoring, documentation and operations. Bug fixes take 29%. New features take 15%.

Agent requests by type of work: maintenance 56%, bug fixes 29%, new features 15%, with categories from bug fixing and debugging at 15% to UI and styling at 2%
What engineers ask agents to do, by type of work and category

Software starts 55% of agent sessions, from a script, a CI pipeline or another agent, with no engineer at the keyboard. Agents propose 45 million edits a year. Engineers accept 99.5% of them and reject about five in every thousand. Agents add 1.6 billion lines of code a year, and each pull request an agent opens costs $44 in agent spend.

Agent sessions by who started them: 55% started by software and 45% by an engineer, with 75 of 119 organizations running mostly automated
Sessions started by software and by engineers, one dot per organization

Markdown is the language agents edit most, twice as often as Python. The full report has the breakdown by language, by type of work, and the share of each organization's sessions that run automated.

Edit acceptance: 99.5% acceptance rate, 5 rejected per 1,000 edits, 45M edits proposed a year, shown as a grid of 1,000 edits with 5 rejected
Every 1,000 edits agents propose: 995 accepted, 5 rejected

Models, effort and tokens

Claude Opus 5.5 takes 63% of all agent spend. Only 16% of prompts are difficult, meaning the agent needs 11 or more turns to finish them. Each turn is a call to the model, so those prompts still use at least 47% of all calls. Most prompts are simple or moderate, yet most spend goes to a frontier model, which suggests organizations rely on Claude Opus 5.5 for a lot of everyday work.

A grid of 100 squares: 16 bright squares for the 16% of prompts that are difficult, inside 63 squares for the share of agent spend that goes to Claude Opus 5.5
Difficult prompts against Claude Opus 5.5 spend, each square 1%

83% of spend runs at medium or high reasoning effort. Subagents, the separate agents a coding agent starts to handle part of a task, account for a fifth of spend.

Cache reads

97% of all tokens are cache reads, where the agent rereads earlier context instead of sending it again, and those cache reads account for 50% of the spend. A cache read costs between 2.5% and 10% of a new input token, depending on the model. For any team trying to understand its own agent bill, the share of cache reads and cache writes is the first thing to look at.

Share of tokens and share of spend by token type: cache reads 97% of tokens and 50% of spend, cache writes 3% and 31%, output under 1% and 18%, input under 1% and 1%
Share of tokens and share of spend by token type

Read the full report

The State of Agentic Coding has interactive charts for spend per engineer, spend across organizations, automated sessions, models, effort and token types. Read The State of Agentic Coding and see how your coding agent usage compares.

Coralogix

One lake.
Every signal.

Logs, metrics, traces and security data in one queryable place, ready for your agents and your people.