Is LOC-based pricing still sustainable in the age of AI coding agents?

I’m increasingly concerned that Sonar’s LOC-based pricing model is becoming unsustainable with the adoption of AI coding agents.

A few things make this particularly frustrating:

  • It’s becoming difficult to forecast LOC growth.
  • As teams become more productive with AI, their Sonar costs automatically increase, potentially quite dramatically.

Is Sonar actively considering alternative pricing models?

For example, pricing based on active contributors, usage, or some other metric that better reflects the actual value delivered?

I appreciate what Sonar brings to code quality and security, but if pricing continues to scale exponentially with AI-generated LOC, I can see more and more teams questioning the ROI, and eventually moving away from the platform.

I’d be interested to hear both Sonar’s perspective and how other customers are dealing with this.

Hi @sebastianhaeni, thank you for raising the question. We have made newer products available on a consumption basis (Vortex, Gitar, Hunter Agent, Remediation Agent), so these are active conversations within Sonar.

I’m curious if you see the value in managing all of the agentic-generated LOC decreasing? We hear from a lot of customers that analyzing all LOC for increased agentic efficiency is more critical now than ever. Analysis being the first step to managing architecture, reliability, security, etc.

Thank you again for raising the discussion!