Worldwide spending on artificial intelligence is projected to reach $4 trillion in 2027, marking a 47.5 per cent increase from 2026, according to forecasts by Gartner.
Global spending on AI infrastructure is expected to total $2.4 trillion in 2027, representing a 53 per cent increase from the previous year. Consequently, AI infrastructure is forecast to account for 59 per cent of total global AI spending in 2027. Expenditure in this category is projected to rise from $1.5 trillion in 2026 to $2.3 trillion in 2027.
According to Gartner, spending on AI-optimized servers—the largest segment of AI infrastructure spending—is expected to increase from $527.6 billion in 2026 to $957.2 billion in 2027. This growth is being driven by the ongoing build-out of AI infrastructure by hyperscalers and neocloud providers, alongside price increases for AI-optimized servers.
John-David Lovelock, Distinguished VP Analyst and Chief of Research at Gartner, noted that faster-than-anticipated expansion of user requirements into scaling up inference workloads, combined with increasingly compute-intensive training workloads, continues to drive global AI infrastructure spending.
Beyond hardware, other sectors of the AI economy are also seeing substantial growth projections. AI services spending is projected to grow from $576 billion in 2026 to $746 billion in 2027. Meanwhile, AI software spending is expected to increase from $458 billion to $649 billion. Investment in AI agents and assistants is forecast to more than double, moving from $30 billion to $67 billion. Spending on AI cybersecurity is expected to rise from $51 billion to $86 billion.
In addition, spending on AI platforms for data science and machine learning is forecast to rise from $26 billion to $35 billion, while AI application development platforms are expected to grow from $10 billion to $12 billion. Spending on AI data is projected to double, moving from $3 billion in 2026 to $6 billion in 2027.
Lovelock stated that services vendors are actively helping organizations scale AI initiatives through strategy, data preparation, integration, and ongoing deployment. Simultaneously, organizations are boosting software spending as vendors add AI capabilities to existing products and invest in new platforms that manage and govern AI across business operations.
The generative AI model market is also entering a period of sustained expansion. Total spending is projected to reach $51 billion in 2027, an increase of 82 per cent from 2026. This spending is propelled by rising demand for agentic AI, multimodal applications, and industry-specific intelligence to support complex business workflows.
While spending on domain-specific and specialized AI models is projected to grow by 99 per cent in 2027, foundation generative AI models will continue to capture the largest share of model spending at 81 per cent in 2027. Organizations are increasingly turning to domain-specific models to improve accuracy and contextual relevance in targeted use cases, but foundation models remain the backbone of broader adoption by powering the wider ecosystem of AI agents and enterprise applications.
"The massive capital allocation toward AI infrastructure highlights a fundamental shift in enterprise technology priorities. With infrastructure consuming over half of the projected $4 trillion global AI spend by 2027, businesses and startups must recognize that foundational compute power and server investments are currently dictating the pace of the entire AI ecosystem. For entrepreneurs and technology builders, understanding this heavy tilt toward infrastructure and specialized servers is critical for long-term strategic planning and resource allocation." — Dr. Shishir Gupta, Founder & CEO, StartupLanes
Recent StartupLanes Articles
Browse through our 30 latest publications on venture capital, startups, and angel investing.