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

$29.2BAI agents and assistants spending forecast, 2026, up 77.3% (Gartner)
80%Share of OpenRouter tokens generated by agents, 2026 (Menlo Ventures)
15xYear-over-year growth in active agents on Microsoft 365, May 2026
$24BEnterprise spend on Claude Code and Codex coding agents, 2026 (Menlo)
40%+Agentic AI projects Gartner expects to be canceled by end of 2027
~130Vendors Gartner considers genuinely agentic, out of thousands

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.

Gartner spending on AI agents and assistants ($ billions) Gartner spending on AI agents and assistants ($ billions) Gartner spending on AI agents and assistants ($ billions) $0B $20B $40B $60B $80B $16.5B 2025 $29.2B 2026 $65.5B 2027 Gartner spending on AI agents and assistants ($ billions) Gartner spending on AI agents and assistants ($ billions) Gartner spending on AI agents and assistants ($ billions) $0B $20B $40B $60B $80B $16.5B 2025 $29.2B 2026 $65.5B 2027
Gartner spending on AI agents and assistants ($ billions)
MeasureFigureSource and date
AI agents and assistants spending, 2025$16.5 billionGartner, September 2026
AI agents and assistants spending, 2026$29.2 billion (+77.3%)Gartner, September 2026
AI agents and assistants spending, 2027$65.5 billionGartner, September 2026
Salesforce Agentforce ARRMore than $1.5 billion (+240%)Salesforce, Q2 FY2027
Agentic work units delivered by Agentforce and Slack7.0 billion to dateSalesforce, 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.

MeasureFigure
Weekly tokens generated by agents on OpenRouter130.9 trillion
Agent share of OpenRouter tokens80%
Agent tokens relative to human-driven tokensAbout 7x
Growth in agent tokens since February 202637x
Growth in human-driven tokens since February 20265x

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.

MeasureFigureSource and date
Growth in active agents on Microsoft 36515x (18x in large enterprises)Microsoft Work Trend Index, May 2026
AI users classed as “Frontier Professionals” using agents for multi-step work16% globallyMicrosoft, May 2026
Organizations with significant agentic AI investment19%Gartner poll of 3,412, January 2025
Organizations with conservative agentic AI investment42%Gartner poll, January 2025
Customer support share of department AI spend13.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.

MeasureFigureSource and date
Enterprise AI coding spend$34 billionMenlo Ventures, 2026
Claude Code and Codex share of coding spend70% ($24 billion)Menlo Ventures, 2026
AI-native vendors’ share of coding spend96%Menlo Ventures, 2026
Cursor annualized revenueMore than $2 billionFebruary 2026
Cursor annualized revenueMore than $4 billionJune 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 predictionFigureTarget date
Agentic AI projects canceledMore than 40%End of 2027
Enterprise software applications including agentic AI33% (from under 1% in 2024)2028
Day-to-day work decisions made autonomously by agentsAt least 15% (from 0% in 2024)2028
Agentic AI vendors that are genuineAbout 130 of thousandsJune 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.

Sheldon researches company ownership and business models for AIFundingtracker.com, covering who controls tech and AI companies and how they make money. He also writes plain-language guides to online platforms and what readers should know before using them.

Leave A Reply