AI agents generated 80% of all tokens on the OpenRouter platform in 2026, about seven times human-driven usage, according to Menlo Ventures’ State of Enterprise AI report. Gartner forecasts spending on AI agents and assistants will reach $29.2 billion in 2026 and $65.5 billion in 2027. This page covers AI agent statistics on spending, enterprise deployment, coding agents, usage volume and project failure rates, with every number taken from the organization that published it.
AI Agent Statistics
How big is the AI agent market?
Gartner tracks AI agents and assistants as a separate software line in its AI spending forecast. It is small next to infrastructure but is one of the fastest-growing segments.
| Measure | Figure | Source and date |
|---|---|---|
| AI agents and assistants spending, 2025 | $16.5 billion | Gartner, September 2026 |
| AI agents and assistants spending, 2026 | $29.2 billion (+77.3%) | Gartner, September 2026 |
| AI agents and assistants spending, 2027 | $65.5 billion | Gartner, September 2026 |
| Salesforce Agentforce ARR | More than $1.5 billion (+240%) | Salesforce, Q2 FY2027 |
| Agentic work units delivered by Agentforce and Slack | 7.0 billion to date | Salesforce, August 2026 |
Source: Gartner, AI spending forecast (September 16, 2026); Salesforce Q2 FY2027 results (August 26, 2026). Global.
Gartner’s line covers standalone agents and assistant software. Agent features built into larger products, such as CRM or office suites, mostly sit in its broader $461.6 billion AI software figure. Salesforce changed its Agentforce ARR definition in 2026 to include Slackbot and other AI offerings, so its growth rate partly reflects a wider scope.
Agents now drive most AI usage volume
Agents run long, automated sessions that consume far more tokens than a person typing questions. Menlo Ventures used data from OpenRouter, a service that routes requests to many model providers, to measure the shift.
| Measure | Figure |
|---|---|
| Weekly tokens generated by agents on OpenRouter | 130.9 trillion |
| Agent share of OpenRouter tokens | 80% |
| Agent tokens relative to human-driven tokens | About 7x |
| Growth in agent tokens since February 2026 | 37x |
| Growth in human-driven tokens since February 2026 | 5x |
Source: Menlo Ventures, 2026: The State of Enterprise AI (November 3, 2026), using OpenRouter data. Menlo is an investor in OpenRouter.
Agent traffic overtook human traffic on OpenRouter in February 2026. Menlo notes OpenRouter is one channel and may not represent all AI usage. Developer-heavy platforms likely show higher agent shares than consumer chat apps.
Google’s model APIs processed about 32 billion tokens a minute in Q3 2026, up from 7 billion a year earlier. Alphabet did not split agent from human use, but the jump tracks the rise in automated workloads.
Enterprise AI agent deployment statistics
Agent deployment inside companies is growing fast from a low base. Most data comes from vendors measuring their own platforms.
| Measure | Figure | Source and date |
|---|---|---|
| Growth in active agents on Microsoft 365 | 15x (18x in large enterprises) | Microsoft Work Trend Index, May 2026 |
| AI users classed as “Frontier Professionals” using agents for multi-step work | 16% globally | Microsoft, May 2026 |
| Organizations with significant agentic AI investment | 19% | Gartner poll of 3,412, January 2025 |
| Organizations with conservative agentic AI investment | 42% | Gartner poll, January 2025 |
| Customer support share of department AI spend | 13.3% (from 0.8% in June) | Ramp, October 2026 |
Source: Microsoft 2026 Work Trend Index (survey of 20,000 AI users, 10 countries); Gartner press release (June 25, 2025); Ramp AI Index, November 2026 report.
Customer support spending on AI jumped as agent products for tickets and chat matured. Engineering still accounted for 72% of classified business AI spend on Ramp in October 2026. Anthropic’s rise in business adoption was driven largely by coding and agent use, as reported by VentureBeat.
Gartner’s investment poll dates from January 2025, so the shares have likely moved since. It remains the most cited baseline for enterprise agent commitment.
Coding agents lead AI agent revenue
Software development is where agents earn the most money. Coding agents write, test and fix code with limited supervision, and enterprises pay for them by usage.
| Measure | Figure | Source and date |
|---|---|---|
| Enterprise AI coding spend | $34 billion | Menlo Ventures, 2026 |
| Claude Code and Codex share of coding spend | 70% ($24 billion) | Menlo Ventures, 2026 |
| AI-native vendors’ share of coding spend | 96% | Menlo Ventures, 2026 |
| Cursor annualized revenue | More than $2 billion | February 2026 |
| Cursor annualized revenue | More than $4 billion | June 2026 |
Source: Menlo Ventures (November 3, 2026); Bloomberg (March 2, 2026); Forbes (June 2026). US enterprises for Menlo; global run rates for Cursor.
Cursor’s run rate doubled in about three months, according to Bloomberg, before SpaceX agreed to acquire it. Anthropic’s Economic Index found coding tasks moving from Claude.ai chat into automated API workflows through Claude Code. Funded companies across coding, support and sales agents are ranked in the list of top AI agent startups, and the fastest-growing names appear in the hottest Silicon Valley AI startups.
Will AI agent projects succeed?
Forecasters expect wide adoption and a high failure rate at the same time. Gartner’s June 2025 outlook set out both.
| Gartner prediction | Figure | Target date |
|---|---|---|
| Agentic AI projects canceled | More than 40% | End of 2027 |
| Enterprise software applications including agentic AI | 33% (from under 1% in 2024) | 2028 |
| Day-to-day work decisions made autonomously by agents | At least 15% (from 0% in 2024) | 2028 |
| Agentic AI vendors that are genuine | About 130 of thousands | June 2025 estimate |
Source: Gartner, “Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027” (June 25, 2025). Global.
Gartner cited rising costs, unclear business value and weak risk controls as the causes. It also described “agent washing,” where vendors relabel chatbots and automation tools as agents. IDC projects more than one billion actively deployed AI agents worldwide by 2029, about 40 times the 2025 level.
What counts as an AI agent
Definitions vary, and that drives much of the spread in agent statistics. Gartner counts systems that act autonomously toward goals. Microsoft counts agents built and run on its platform.
OpenRouter traffic counts any automated client. Vendor-reported “agents” can include simple scripted bots. Compare figures only when the definitions match.
Conclusion
Three patterns stand out in AI agent statistics. Usage volume has shifted to agents, which now generate most tokens on at least one major platform and grew 37 times since February.
Revenue is concentrated in coding, where two products take 70% of enterprise spend. Forecasters expect many failures alongside growth, with Gartner predicting more than 40% of projects will be canceled by 2027.
For planning, agents are most proven where output can be checked automatically, such as code and support tickets. Elsewhere, projects need clear cost and value tests. The caveats: most deployment data comes from vendors measuring their own platforms, Menlo invests in OpenRouter and Anthropic, and Gartner’s investment poll predates the 2026 agent surge.
FAQ
How big is the AI agent market?
Gartner forecasts $29.2 billion in spending on AI agents and assistants in 2026, up 77.3%, rising to $65.5 billion in 2027. Agent features inside larger software products are counted separately.
How much AI usage comes from agents?
On OpenRouter, agents generated 80% of tokens in 2026, about 130.9 trillion per week, according to Menlo Ventures. Agent tokens grew 37 times since February 2026, versus 5 times for human use.
What percentage of AI agent projects fail?
Gartner predicts more than 40% of agentic AI projects will be canceled by the end of 2027 because of rising costs, unclear business value or weak risk controls.
Reddit threads keep saying AI agents are just rebranded chatbots. Is that true?
Often. Gartner estimated only about 130 of thousands of vendors selling agentic AI offer genuine agent capabilities, calling the relabeling “agent washing.” Coding agents are the clearest exception, with $24 billion in enterprise spend.
Reddit users often ask whether companies actually use AI agents yet. Do they?
Growing numbers do. Active agents on Microsoft 365 grew 15 times in a year, and customer support’s share of business AI spend on Ramp rose from 0.8% to 13.3% between June and October 2026.