AI economy

30+ AI & Machine Learning Statistics (2026)

$581.7B Global corporate AI investment in 2025 (Stanford HAI)
88% Organizations using AI in at least one function (McKinsey)
$2.59T Worldwide AI spending forecast for 2026 (Gartner)
1.1M+ Public GitHub repos using an LLM SDK (Octoverse 2025)

2026 is the year AI stopped being a demo and started being a line item. Agentic systems are booking meetings, writing pull requests, and triaging support tickets at scale. Generative AI has reached a faster population adoption curve than the personal computer or the internet did. And the underlying machine-learning stack — the models, the platforms, the MLOps pipelines that keep them shipping safely — has matured into a multi-trillion-dollar slice of global IT spend. The hype cycle has given way to a procurement cycle, and the numbers behind it are now too large to ignore.

Stanford's 2026 AI Index Report pegs global corporate AI investment at $581.7 billion in 2025, up roughly 130% year over year, with private investment alone reaching $344.7 billion. McKinsey's State of AI 2025 finds 88% of organisations now using AI in at least one business function, up from 78% the year prior. Gartner forecasts $2.59 trillion in worldwide AI spending in 2026 — a 47% jump — driven by hyperscalers and agentic workflows. On the machine-learning side, GitHub's 2025 Octoverse counted more than 1.1 million public repositories using an LLM SDK, with 693,867 of those created in the last twelve months. Below are 30+ statistics we verified against primary sources, split evenly between the AI economy and the machine-learning engineering reality that sits underneath it.

Editor's Choice

  • Global corporate AI investment hit $581.7 billion in 2025, up roughly 130% year over year. (Stanford HAI AI Index 2026)
  • Private AI investment alone reached $344.7 billion, a 127.5% jump, with generative AI capturing $170.9 billion. (Stanford HAI)
  • 88% of organisations now use AI in at least one business function, up from 78% a year ago. (McKinsey State of AI 2025)
  • Worldwide AI spending will reach $2.59 trillion in 2026, a 47% YoY increase. (Gartner)
  • ChatGPT crossed 800 million weekly active users by October 2025, nearly 10% of the world's adult population. (OpenAI)
  • Anthropic crossed a $30 billion annualised revenue run rate in April 2026, up from $1 billion fifteen months earlier. (Anthropic)
  • More than 1.1 million public GitHub repos now use an LLM SDK; 693,867 were created in the past year. (GitHub Octoverse 2025)
  • Industry produced 90% of notable frontier AI models in 2025, and SWE-bench Verified coding scores rose from 60% to near 100% in a single year. (Stanford HAI)
  • 85% of ML projects fail to reach production, and fewer than 40% of those that do sustain business value past 12 months. (Industry MLOps benchmarks)
  • Python contributors on GitHub grew 48% YoY to ~2.6 million, with nearly half of new AI projects built primarily in Python. (GitHub Octoverse 2025)

AI Market and Investment

1. Global corporate AI investment reached $581.7 billion in 2025.

Stanford HAI's 2026 AI Index Report places total global corporate AI investment at $581.7 billion in 2025, up roughly 130% year over year. The figure aggregates private funding rounds, mergers and acquisitions, public offerings, and minority stakes — and is the largest annual total the Index has ever recorded. (Stanford HAI AI Index 2026)

2. Private AI investment hit $344.7 billion, up 127.5%.

The same Stanford report shows private AI investment alone reached $344.7 billion in 2025, a 127.5% increase from 2024. Generative AI companies captured $170.9 billion of that total — nearly half of all private AI funding — confirming that GenAI is no longer a sub-segment but the centre of gravity for venture capital. (Stanford HAI AI Index 2026)

3. The United States accounts for $285.9 billion of private AI investment.

US private AI investment of $285.9 billion in 2025 was 23.1 times greater than China's $12.4 billion, per Stanford HAI. The gap is partly an artefact of how each country funds AI — China relies more heavily on state-directed capital, with an estimated $184 billion deployed via government guidance funds between 2000 and 2023 — but the headline private-market lead remains lopsided. (Stanford HAI AI Index 2026)

4. Worldwide AI spending will reach $2.59 trillion in 2026.

Gartner forecasts worldwide AI spending of $2.59 trillion in 2026, a 47% year-over-year jump. AI infrastructure — IaaS, AI servers, network fabrics, semiconductors, and AI-enabled devices — will account for more than 45% of the total, rising from $975.6 billion in 2025 to roughly $1.43 trillion in 2026. (Gartner)

5. IDC pegs 2026 worldwide AI spending at $2.02 trillion.

IDC's parallel forecast puts worldwide AI spending at $2.022 trillion in 2026, up from $1.478 trillion in 2025 — a 37% YoY increase covering hardware, software, services, generative models, chips, and AI devices. The $500-billion gap between the IDC and Gartner numbers reflects different inclusion rules for hyperscaler capex, but both agree AI is now driving the strongest IT-spending growth since 1996. (IDC)

6. AI infrastructure software spending will reach $230 billion in 2026.

IDC also forecasts AI infrastructure software spending of $230 billion in 2026 — nearly 4x the $60 billion it tracked in 2024. Financial services alone will spend roughly $73 billion on AI in 2026, more than 20% of the global total, and is on track for $97 billion by 2027. (IDC)

7. Stargate is a $500 billion, 10 GW US AI cluster.

The 2025 State of AI Report from Air Street Capital chronicled the launch of Stargate, a $500 billion, 10 GW US mega-cluster targeting roughly 4 million AI chips, backed by OpenAI's Sam Altman, SoftBank's Masayoshi Son, Oracle's Larry Ellison, and the US administration. Sovereign funds, including China's $5 billion Big Fund and the UAE's MGX, are writing comparable cheques. (Air Street Capital, State of AI Report 2025)

Enterprise GenAI Adoption and Reach

8. 88% of organisations use AI in at least one business function.

McKinsey's State of AI 2025 survey — 1,993 respondents across 105 nations, fielded June to July 2025 — found 88% of organisations now use AI in at least one business function, up from 78% a year earlier. Two-thirds report use in multiple functions, and half deploy AI across three or more. (McKinsey)

9. 70% of organisations use generative AI in at least one function.

Stanford HAI's 2026 AI Index puts generative AI in active use at 70% of organisations across at least one business function, with China and Europe posting the largest year-over-year jumps. Organisational AI adoption overall sits at 88% on the same dataset, mirroring McKinsey's headline. (Stanford HAI AI Index 2026)

10. Only 6% of organisations are AI high performers.

McKinsey's same survey finds just 6% of respondents qualify as AI high performers — reporting both significant value from AI and 5% or more of EBIT attributable to AI use. Only 39% of organisations attribute any EBIT impact to AI at all, and most of those report less than 5%. Adoption has run far ahead of measurable financial return. (McKinsey)

11. 21% of GenAI adopters have redesigned workflows.

Among McKinsey respondents reporting gen AI use, 21% say their organisations have fundamentally redesigned at least some workflows because of it. Workflow redesign is the single strongest correlate McKinsey identifies for moving from "we use AI" to "AI changed our P&L." (McKinsey)

12. 23% of organisations are scaling an agentic AI system.

McKinsey reports 23% of respondents say their organisations are scaling at least one agentic AI system in production, with an additional 39% experimenting with agents. Agents — autonomous LLM-powered workflows that take multi-step actions — are the fastest-growing AI deployment pattern McKinsey has tracked. (McKinsey)

13. ChatGPT hit 800 million weekly active users.

OpenAI CEO Sam Altman announced at DevDay in October 2025 that ChatGPT had reached 800 million weekly active users, up from 500 million at the end of March and 700 million in July. At 800 million WAUs, ChatGPT now reaches roughly 10% of the world's adult population three years after launch. (OpenAI / TechCrunch)

14. Generative AI hit 53% global population adoption in three years.

Stanford HAI's 2026 AI Index reports generative AI reached 53% population adoption within three years of public release — faster than the PC or the internet at the equivalent point in their diffusion curves. The pace varies sharply by country and correlates with GDP per capita. (Stanford HAI AI Index 2026)

15. Anthropic crossed a $30 billion annualised revenue run rate.

Anthropic disclosed that Claude's annualised revenue run rate crossed $30 billion in April 2026, up from $9 billion at the end of 2025 and just $1 billion in December 2024. Anthropic now has 300,000+ business customers — roughly 80% of revenue — and more than 1,000 customers spending over $1 million per year on Claude. (Anthropic)

16. 44% of US businesses pay for AI, up from 5% in 2023.

The 2025 State of AI Report from Air Street Capital, citing Ramp's corporate-card spending data, shows 44% of US businesses now pay for AI subscriptions or APIs, up from just 5% in 2023. Average annual contract value for AI products reached $530,000 in 2025 and is on track to pass $1 million in 2026. (Air Street Capital, State of AI Report 2025)

ML in Production and MLOps

17. Industry produced 90% of notable frontier models in 2025.

Stanford HAI's 2026 AI Index reports that industry — not academia — produced over 90% of notable frontier AI models released in 2025. The cost and compute requirements of training a state-of-the-art foundation model have effectively priced universities out of the research frontier; the canonical AI lab is now a corporate one. (Stanford HAI AI Index 2026)

18. SWE-bench Verified scores jumped from 60% to near 100% in one year.

The same Stanford report shows top models on SWE-bench Verified — a benchmark of real-world software-engineering tasks drawn from open-source repositories — climbed from roughly 60% to near 100% pass rate in a single year. Several 2025 models now meet or exceed human baselines on PhD-level science questions, multimodal reasoning, and competition mathematics. (Stanford HAI AI Index 2026)

19. 80 of 95 notable 2025 models shipped with no published training code.

Stanford HAI's transparency tracking shows 80 of the 95 notable AI models released in 2025 shipped with no published training code. On a 100-point Foundation Model Transparency Index, the leading labs scored an average of just 40 points — a measurable decline as commercial pressure has outpaced open-research norms. (Stanford HAI AI Index 2026)

20. Frontier model training runs now cost $50-200 million each.

Empirical analyses of frontier training costs put a single GPT-4-class run at $50 million to $200 million in 2025, with most estimates clustered around $150 million. Per-run frontier training cost has grown roughly 2.4x per year since 2016, even as hardware and algorithmic efficiency gains have shaved an estimated 40% off comparable runs versus 2023. (Cottier and Rahman, arXiv 2024)

21. More than 85% of ML projects fail to reach production.

Industry MLOps benchmarks repeatedly find that more than 85% of machine-learning projects never make it to production, and of those that do, fewer than 40% sustain business value past 12 months. The most-cited blocker is the lack of mature MLOps practices: 55% of companies surveyed cite it as the primary obstacle to deploying models. (MLOps industry benchmarks)

22. 70% of enterprises will operationalise AI architectures using MLOps.

Across MLOps adoption surveys for 2025, roughly 70% of enterprises now report operationalising their AI architectures through MLOps tooling, and 87% of large enterprises have a formal MLOps practice. The MLOps software and services market itself was valued at $3.13 billion in 2025, on a trajectory toward roughly $39 billion by 2034. (MLOps industry benchmarks)

23. 16% of breaches involved attackers using AI tools.

IBM's Cost of a Data Breach Report 2025 found 16% of breaches in its dataset involved attackers using AI tools — most often for phishing automation or deepfake impersonation. 20% of breached organisations also experienced a "shadow AI" incident from unsanctioned employee GenAI use, costing an extra $670,000 per breach on average. ML in production is now a security-team concern, not just a data-science one. (IBM)

ML Platform and Talent Landscape

24. 1.1 million+ public GitHub repos now use an LLM SDK.

GitHub's 2025 Octoverse counted more than 1.1 million public repositories using an LLM SDK — calling OpenAI, Anthropic, Google, or open-source model APIs as a first-class dependency. Of those, 693,867 repositories were created in just the last twelve months, a 178% year-over-year increase that puts LLM tooling among the fastest-growing layers of the open-source stack. (GitHub Octoverse 2025)

25. Python contributors on GitHub grew 48% to roughly 2.6 million.

The same Octoverse counted approximately 2.6 million Python contributors on GitHub, a 48.78% YoY increase, with about 850,000 contributors added in a single year. Nearly half of all new AI projects on GitHub were built primarily in Python as of August 2025, cementing the language's role as the default machine-learning runtime. (GitHub Octoverse 2025)

26. Six of the ten fastest-growing OSS projects in 2025 are AI-focused.

GitHub also reports that six of the ten fastest-growing open-source projects by contributor count in 2025 are directly focused on AI infrastructure or tooling. Jupyter Notebook usage in AI-tagged repositories grew more than 17% year over year, a proxy for how much of the world's ML experimentation now happens in public. (GitHub Octoverse 2025)

27. More than 36 million new developers joined GitHub in a year.

GitHub gained more than 36 million new developer accounts in the past year — roughly one new developer per second — bringing the total platform population past 180 million. Developers created more than 230 new repositories per minute, a baseline that frames just how much of the AI/ML stack is being assembled in public. (GitHub Octoverse 2025)

28. PyTorch leads research with 60-70% primary-framework usage.

Cross-sectional analysis of the 2024 Stack Overflow and Kaggle ML surveys finds PyTorch at 60-70% primary-framework usage among ML practitioners, with 71% reporting it easier to use than TensorFlow. TensorFlow retains a footprint in large-scale production systems and Google-internal workloads, while Keras 3.0 — backend-agnostic across TensorFlow, PyTorch, and JAX — has emerged as the framework abstraction layer. (Stack Overflow, Kaggle)

29. Google Vertex AI mindshare fell from 17% to 8.1%.

Independent platform-mindshare tracking shows Google Vertex AI's share of AI Development Platforms mentions dropped from 17.0% in early 2025 to 8.1% in January 2026, while AWS SageMaker's share fell from 6.3% to 4.0% over the same window. The drops reflect market fragmentation rather than absolute decline — Databricks ML, Snowflake ML, and a long tail of specialist ML environments are now splitting the pie. (Industry mindshare trackers)

30. 87% of data-science practitioners now spend more time on AI.

Anaconda's 8th annual State of Data Science and AI Report found 87% of data-science practitioners are spending the same or more time on AI techniques year over year, and 66% of IT administrators report that their companies are leveraging open-source tools. Only 22% of practitioners now fear AI will take their jobs, down from previous years as roles shift toward AI-augmented workflows. (Anaconda)

31. Workers with advanced AI skills earn 56% more than peers.

Labour-market analyses cited alongside Stanford's 2026 AI Index find workers with advanced AI skills earn roughly 56% more than peers in the same roles without those skills. 35.9% of US workers were using generative AI by December 2025, employees in the most AI-exposed roles posted 27% revenue growth per employee — more than 3x the least-exposed group — and overall employment in AI-exposed occupations has held up with small positive wage effects so far. (Stanford HAI AI Index 2026)

Frequently Asked Questions

How big is the AI market in 2026?

Gartner forecasts worldwide AI spending of $2.59 trillion in 2026, a 47% YoY jump, while IDC's parallel forecast lands at $2.022 trillion (up 37% from 2025). Both include hardware, software, services, generative models, chips, and AI-enabled devices. AI infrastructure alone — IaaS, AI servers, network fabrics, semiconductors — will exceed $1.4 trillion in 2026 on Gartner's numbers.

How many companies actually use AI?

McKinsey's State of AI 2025 reports 88% of organisations now use AI in at least one business function, up from 78% the prior year. Two-thirds use it in multiple functions. However, only 6% qualify as AI high performers — capturing 5% or more of EBIT impact from AI — and just 21% of GenAI adopters have fundamentally redesigned workflows around the technology.

How fast is generative AI being adopted?

Stanford HAI's 2026 AI Index reports generative AI reached 53% global population adoption within three years of public release — faster than the PC or the internet at the equivalent point in their diffusion curves. ChatGPT alone hit 800 million weekly active users by October 2025, reaching roughly 10% of the world's adult population.

How much does it cost to train a frontier AI model?

Empirical analyses put a single GPT-4-class training run at $50-200 million in 2025, with most estimates clustering around $150 million. Per-run frontier training cost has grown roughly 2.4x per year since 2016. Hardware and algorithmic efficiency gains have offset some of that — comparable runs are about 40% cheaper than in 2023 — but the absolute frontier keeps moving up.

How widely deployed is machine learning in production?

Roughly 70% of enterprises now operationalise their AI architectures through MLOps tooling, and 87% of large enterprises have a formal MLOps practice. The challenge is success rate: more than 85% of ML projects fail to reach production, and fewer than 40% of those that ship sustain measurable business value past 12 months. The MLOps software market itself was valued at $3.13 billion in 2025.

Which ML framework do practitioners actually use?

Cross-sectional analysis of the 2024 Stack Overflow and Kaggle ML surveys puts PyTorch at 60-70% primary-framework usage, with 71% of developers reporting it easier than TensorFlow. PyTorch dominates research and new model development; TensorFlow retains a footprint in large-scale production systems. Keras 3.0 now runs backend-agnostic across TensorFlow, PyTorch, and JAX.

How fast is the AI tools market growing?

Anthropic's annualised revenue run rate jumped from $1 billion in December 2024 to $30 billion in April 2026 — roughly 30x in fifteen months — with more than 1,000 customers spending over $1 million per year. On the buy side, Air Street Capital's State of AI 2025 cites Ramp data showing 44% of US businesses now pay for AI subscriptions, up from 5% in 2023, with average annual contract value of $530,000 in 2025 and a trajectory past $1 million in 2026.

The 2026 picture is a market that has crossed from experimentation into infrastructure. AI is now a multi-trillion-dollar slice of global IT spend, and machine learning is no longer a discipline tucked inside data-science teams — it is the production stack underneath search, ads, support, fraud, code review, and the agentic workflows that will define the next decade of software. For shoppers, the same wave has produced a new category of tools worth paying for: ChatGPT Plus, Claude Pro, Cursor, GitHub Copilot, Perplexity Pro, Midjourney, ElevenLabs. At 99coupons.ai, we surface verified discounts on those AI subscriptions and on the developer tooling that powers them — so the productivity dividend in every report above does not come entirely out of your card.

Sources

  1. Stanford HAI - The 2026 AI Index Report
  2. Stanford HAI - 2026 AI Index Report (PDF)
  3. Stanford HAI - Inside the AI Index: 12 Takeaways from the 2026 Report
  4. McKinsey - The State of AI: Global Survey 2025
  5. Gartner - Worldwide AI Spending to Grow 47% in 2026
  6. IDC - Worldwide AI and Generative AI Spending Guide
  7. IDC - AI Infrastructure Spending to Reach $758Bn by 2029
  8. OpenAI / TechCrunch - Sam Altman says ChatGPT has hit 800M weekly active users
  9. Anthropic - Series G funding announcement
  10. GitHub - Octoverse 2025: TypeScript, AI and the state of open source
  11. Air Street Capital - State of AI Report 2025
  12. Cottier and Rahman - The Rising Costs of Training Frontier AI Models (arXiv)
  13. Anaconda - 8th Annual State of Data Science and AI Report
  14. IBM - Cost of a Data Breach Report 2025
More reading

Keep going.