Android beta Play Store Test the app

AI Coding Costs to Surpass Developer Salary by 2028: Gartner

Gartner predicts AI coding costs will exceed the average developer's salary by 2028 due to rising token consumption and consumption-based pricing. Learn strategies to control costs.

AI Coding Costs to Surpass Developer Salary by 2028: Gartner
Facebook X LinkedIn Bluesky WhatsApp
de flag en flag es flag fr flag nl flag pt flag

What Is Driving the Surge in AI Coding Costs?

By 2028, the cost of AI-powered coding tools is expected to exceed the average developer's salary, according to a new report from Gartner, Inc. The primary driver is the rapid increase in large language model (LLM) token consumption, coupled with a shift from seat-based licensing to consumption-based pricing models. AI tokens are the units of data processed by generative AI models, and as developers rely more heavily on AI coding agents, token usage—and therefore cost—is skyrocketing.

"Organizations are rapidly moving from experimentation to scaled deployment of AI coding agents, but many are underestimating the financial impact of rising token consumption," said Nitish Tyagi, Sr. Principal Analyst at Gartner. "Token discipline will not emerge through developer choice alone, as developers tend to optimize for speed and convenience over cost efficiency."

The Shift to Consumption-Based Pricing

Why Predictability Is a Challenge

AI coding vendors are increasingly adopting consumption-based pricing, where costs are tied directly to the number of tokens processed. This introduces significant variability into software engineering budgets. Many vendors lack transparency in how token consumption is calculated and billed, limiting enterprises' ability to forecast and control costs effectively.

Without clear visibility into token usage across development tasks, organizations risk budget overruns and reduced ability to track cost-to-value outcomes. The rising cost of AI coding agents is a growing concern for software engineering leaders.

Usage Patterns and Governance Gaps

Beyond pricing models, how AI coding agents are used internally is driving cost pressure. Common failure modes include ungoverned autonomy in agent-driven workflows, bloated context windows, and the absence of structured feedback mechanisms. AI coding vendors have yet to deliver mature, built-in cost optimization capabilities, further contributing to cost escalation.

"AI coding costs will continue to rise as infrastructure investment and profitability challenges push model pricing higher," Tyagi added. "As more developers adopt AI tools, light users are expected to rapidly become mainstream users, driving further growth in token consumption."

How Software Engineering Leaders Can Manage AI Coding Costs

Gartner recommends implementing a disciplined operating model for AI usage. Here are five key strategies:

  • Establish a use-case-driven decision framework: Define when AI coding agents should be used and determine appropriate autonomy levels for each task, classifying work into developer-led, developer-with-agent, and fully agent-led models.
  • Align model selection with task complexity: Break work into smaller tasks handled by smaller models, reserving frontier models for complex, high-value work. Implement intelligent model routing strategies.
  • Mandate context engineering practices: Train developers to optimize input context—include only relevant information, summarize where possible, and eliminate unnecessary data to reduce token consumption.
  • Implement governance and cost controls: Introduce token thresholds, escalation policies, and automated monitoring embedded into engineering workflows.
  • Embed token usage reviews into development cycles: Mandate regular reviews of high-token-consuming workflows during sprint retrospectives to identify inefficiencies and promote knowledge sharing.

These steps are critical as AI coding agent cost optimization becomes a priority for enterprises scaling their AI investments.

Impact on the Software Engineering Landscape

The financial implications are significant. With AI coding costs poised to overtake developer salaries, organizations must rethink their approach to software development budgeting. The trend also highlights a broader challenge: measuring the return on investment for AI tools. "Most organizations still lack the maturity and frameworks to effectively measure cost versus business impact," Tyagi noted.

The future of AI in software engineering will depend on how well companies can balance productivity gains with cost control. Gartner's findings serve as a wake-up call for enterprises to implement governance now, before budgets are depleted.

Frequently Asked Questions

What are AI tokens?

AI tokens are the units of data processed by generative AI models. Token consumption directly impacts the cost of AI coding tools, particularly under consumption-based pricing.

Why are AI coding costs rising so quickly?

Rising token consumption, the shift to consumption-based licensing, and lack of built-in cost optimization in AI coding agents are driving costs up. As developers become more reliant on AI, token usage grows exponentially.

How can organizations control AI coding costs?

Gartner recommends a use-case-driven decision framework, intelligent model routing, context engineering, governance controls like token thresholds, and regular usage reviews embedded into development cycles.

What is consumption-based pricing for AI coding tools?

Instead of a flat seat-based fee, consumption-based pricing charges organizations based on the number of tokens processed. This introduces variable costs that can be difficult to predict without proper visibility.

Will AI coding costs really surpass developer salaries by 2028?

According to Gartner's prediction, yes—by 2028, the cost of AI coding tools per developer is expected to exceed the average developer's salary if current trends continue without intervention.

Sources

This article is based on the Gartner press release dated June 24, 2026, and additional research from Gartner's report "How to Optimize Token Consumption for AI Coding Agents." For more information, visit the Gartner Newsroom.

Related

Gartner Reveals 2025 Software Engineering Trends
Future
AI relevance 93.3%

Gartner Reveals 2025 Software Engineering Trends

Gartner identifies six key software engineering trends for 2025: AI-native development, LLM applications, GenAI...

Gartner 2025 Hype Cycle Reveals Top AI Innovations
Ai
AI relevance 86.7%

Gartner 2025 Hype Cycle Reveals Top AI Innovations

Gartner's 2025 AI Hype Cycle highlights AI agents and AI-ready data as leading innovations, with multimodal AI and...

Agentic AI: Why 40% of Enterprise Deployments Will Fail by 2027
Ai
AI relevance 80.0%

Agentic AI: Why 40% of Enterprise Deployments Will Fail by 2027

Gartner predicts 40% of agentic AI projects will fail by 2027 due to legacy integration and governance gaps. Only...

AI Cost Guide: LLM Inference to Drop 90% by 2030 | Gartner Forecast
Ai
AI relevance 73.3%

AI Cost Guide: LLM Inference to Drop 90% by 2030 | Gartner Forecast

Gartner forecasts 90% reduction in LLM inference costs by 2030, with trillion-parameter models becoming 100x more...

AI Agents Reshaping Enterprise Operations: Gartner 2026 Forecast
Ai
AI relevance 66.7%

AI Agents Reshaping Enterprise Operations: Gartner 2026 Forecast

Gartner predicts 40% of enterprise apps will embed AI agents by 2026, up from 5% in 2025. This $450B market shift...