Gartner forecasts AI spending to reach $4.05 trillion by 2027

Global spending on artificial intelligence (AI) in 2027 could increase by 47.5% and reach $4.05 trillion compared to $2.746 trillion expected in 2026. This forecast was presented by the analytical company Gartner on November 12. According to its analyst John-David Lovelock, the growth is associated with an increase in the number of AI application users and the need for computing resources to train new models.
AI infrastructure spending will reach $2.4 trillion
The largest portion of expenses, according to Gartner's forecast, will go to AI infrastructure, including data center computing power. Spending in this segment could grow by more than 53% over the year and amount to about $2.4 trillion – approximately 59% of all global AI spending.
Lovelock explains the increase in costs by the expansion of using ready-made models, while training new ones requires ever-greater computing power. This supports the demand for server equipment and data processing infrastructure.
Nearly $1.4 trillion will be spent on services and software
In the AI-related services sector, Gartner expects growth of nearly 30%, to $746 billion. Spending on software with AI functions, according to the company's forecast, will increase by approximately 42%, to $649 billion.
Services include data preparation, technology integration, and support for implemented systems. Software spending covers products that incorporate AI capabilities and new platforms for managing such technologies.
AI spending in cybersecurity will grow by nearly 69%
Gartner forecasts significant cost increases in the field of AI-based cybersecurity: nearly 69%, to $86 billion in 2027. For comparison, the company estimates this segment at about $51 billion for 2026.
Lovelock associates the forecast with the fact that AI allows for the acceleration of both cyberattacks and actions to detect and prevent them. Therefore, the demand for corresponding technologies may increase simultaneously from information security specialists and organizations expanding the use of AI.
All the amounts provided are Gartner's forecast estimates, not already incurred expenses.
This material is prepared solely for informational purposes and does not constitute financial advice or a recommendation.





