Worldwide spending on artificial intelligence (AI) is projected to reach $4.05 trillion in 2027, registering a year-on-year increase of 47.5 per cent, according to the latest forecast by technology research and advisory firm Gartner. AI infrastructure is expected to account for 59 per cent of the total expenditure, reflecting growing demand for computing capacity, AI-optimised servers and cloud infrastructure.
According to the forecast released on November 12, global expenditure on AI infrastructure is expected to increase by 53 per cent, from $1.56 trillion in 2026 to nearly $2.4 trillion in 2027. The growth is being driven by expanding requirements for AI inference and increasingly resource-intensive model training.
John-David Lovelock, Distinguished VP Analyst and Chief of Research at Gartner, attributed the increase in infrastructure spending to faster-than-anticipated demand for inference workloads alongside growing computational requirements for training AI models.
AI-optimised servers are expected to remain the largest segment within AI infrastructure spending. Expenditure in this category is projected to rise from $527.6 billion in 2026 to $957.2 billion in 2027. Gartner attributed this growth to continued capacity expansion by hyperscalers and specialised cloud service providers, alongside rising memory prices that are increasing server costs.
Beyond infrastructure, enterprises are also expected to increase investments in AI software and services as organisations integrate artificial intelligence into existing business operations.
Global spending on AI services is forecast to grow by 29.5 per cent to $746 billion in 2027, while AI software expenditure is projected to increase by 42 per cent to $649 billion. Service providers are supporting enterprise AI deployment through strategic consulting, data preparation, systems integration and implementation.
Spending on AI agents and assistants is expected to more than double, rising from $30 billion in 2026 to $67 billion in 2027. For enterprise functions such as marketing, sales and customer experience, these technologies have applications across workflow automation, customer engagement and business intelligence.
Gartner also projects significant growth in the generative AI model market, with expenditure expected to increase by 82 per cent to $51 billion in 2027. Demand for agentic AI, multimodal applications and industry-specific intelligence is contributing to the expansion of this segment.
While expenditure on specialised and domain-specific AI models is forecast to grow by 99 per cent in 2027, foundation models are expected to retain an 81 per cent share of overall generative AI model spending.
The forecast also estimates that AI cybersecurity expenditure will reach $86 billion in 2027, compared with $51 billion in 2026. Spending on data science and machine learning platforms is projected to reach $35 billion, while AI application development platforms are expected to account for $12 billion.
Gartner's projections indicate that infrastructure will continue to lead global AI expenditure in 2027, even as enterprises expand investments across software, autonomous agents, specialised models and AI governance capabilities.
Disclaimer: This article may include information derived from interviews, press releases, public statements, research, company communications and other publicly available or third-party sources. Such material may be summarised, paraphrased or contextualised for journalistic and editorial purposes. All rights in third-party content remain with their respective owners.