McKinsey & Company warns companies that AI spending may rise even further as agents become more common.

Compared to text-based AI tools, agents can cost much more to run because they are actually completing tasks. Such tasks are often multistep processes, so the same goal can be accomplished in a variety of ways, and costs vary widely. According to a McKinsey study, the cost of completion for different agents could differ by as much as 30 times.

“Imagine like you’re running an operation,” said Lari Hämäläinen, a McKinsey senior partner, “but every day there’s a 30x difference in the cost.”

The consulting giant found that about a third of…