AI coding costs may surpass developer salaries by 2028: Gartner
Synopsis
Key Takeaways
The cost of deploying AI coding agents could exceed the average developer salary by 2028, driven by surging large language model (LLM) token consumption and a broad industry shift toward consumption-based pricing, according to a new report by Gartner Inc. released on Wednesday, 24 June. The warning comes as organisations accelerate the move from pilot programmes to full-scale AI coding deployments — often without the financial controls to match.
The Token Cost Problem
AI tokens are the discrete units of data processed by generative AI models, and token consumption is the primary cost driver for AI coding tools — particularly under consumption-based pricing structures that are fast replacing traditional seat-based licences. As more developers use these tools at scale, token volumes compound rapidly, creating cost curves that many enterprise budgets have not accounted for.
Nitish Tyagi, Senior Principal Analyst at Gartner, said organisations are underestimating the financial exposure. 'Organisations are rapidly moving from experimentation to scaled deployment of AI coding agents, but many are underestimating the financial impact of rising token consumption,' he said.
Why Governance Is the Missing Link
Tyagi cautioned that cost discipline will not emerge organically from developer behaviour. 'Token discipline will not emerge through developer choice alone, as developers tend to optimise for speed and convenience over cost efficiency. Without a governed engineering operating model, costs can escalate faster than the productivity gains these tools are designed to deliver,' he added.
The report identified three structural drivers of overspending: ungoverned autonomy in agent-driven workflows, bloated context windows, and the absence of structured feedback mechanisms to optimise usage. Together, these factors create a spending environment where budgets are depleted faster than value is realised.
Transparency Gap Among Vendors
A significant concern flagged in the report is the lack of pricing transparency among AI coding agent vendors. Many providers do not clearly disclose how token consumption is calculated and billed, which limits enterprises' ability to forecast costs accurately or track cost-to-value outcomes. Without visibility into token usage across development tasks, organisations risk both budget overruns and an inability to justify AI spend to leadership.
'Software engineering leaders are increasingly concerned as token-driven AI spend becomes harder to justify, with budgets often being depleted earlier than expected,' Tyagi noted. He added that most organisations still lack the maturity and frameworks to effectively measure cost versus business impact.
What Organisations Should Do
The Gartner report outlined a set of recommended actions for software engineering leaders. These include establishing a use-case-driven decision framework, aligning model selection with task complexity, mandating context engineering practices, and implementing robust governance and cost controls. The underlying message is that AI coding tools require the same financial discipline as any enterprise infrastructure investment — something many technology teams have yet to build.
As AI coding adoption deepens across Indian and global enterprises, the cost question is likely to become a boardroom issue well before 2028.