When it comes to making the business case for AI coding software, everything can be narrowed down to one thing—speed of the code creation process. The licensing fee and time saving by means of typing are easy enough to calculate. But what you don’t see in your spreadsheet are the expenses of that code once it is integrated.
Those expenses can be divided into three categories: vulnerability related, workload increase, and future maintenance. It is important to understand that none of those should be the reason not to use AI-augmented development services. Rather, they should be considered for your proper budgeting.
Cost 1: Security Exposure
Default-Shipping Vulnerabilities
That is because an AI tool creates patterns from past examples, and besides that, it never puts any restrictions that weren’t there earlier. A typical example of this is Lovable, which is a popular tool used for generating websites using a prompt. In May 2025, the bug named CVE-2025-48757 was disclosed, and it revealed that in 170 out of 1,645 randomly generated websites using Lovable there were no restrictions for accessing the database so that everyone could have access to the data stored there.
The software works fine even without any coding at all for these constraints, which is possibly the costliest mistake that an organization can ever make.
The Tool as a Means of Attacking
Firstly, the risk is related not to the product but to the tools. Indeed, back in July 2025, the opposition managed to put some malicious prompts on the Amazon Q Developer, the version of which was 1.84. This version of the program was installed by almost a million users. In its turn, the aim of this action was the need to destroy the local files and the cloud service resources by using the AI agent. Despite the fact that AWS has quickly withdrawn version 1.84, released 1.85, and stated that there is no risk for the customers' resources from the malicious prompt, there is still one point that should be taken into account – this AI assistant is indeed an element of the software chain.
Cost 2: Review and Delivery Stability
Faster Code, Slower Releases
Google's DORA research initiative has been studying software delivery for more than ten years, and its recent report entitled "ROI of AI-Assisted Software Development 2026" proves just how much the situation has changed. According to the results of the latest survey, which involved almost 5,000 technology professionals, 90% of respondents reported using AI in their work. Increased use of AI is currently associated with increased delivery throughput, which is opposite to DORA's conclusion made in 2024. However, it is still associated with increased delivery instability. According to the sample model of the report, a change failure rate increase by one percentage point (from 5% to 6%) due to adoption of AI results in additional $344,000 in costs associated with downtime.
In other words, developers deliver more changes, but more changes fail to work properly. According to DORA, cheap code encourages larger batch sizes, which have always been hard to review and revert.
Where Do The Review Hours Get Spent?
The cost of review hours is never taken into account on the AI dashboard. This is usually the case:
-
More pull requests that require only glancing through them and not going through them in depth.
-
Working but dysfunctional code because it will pass unit tests but fails when it comes to edge case situations.
-
Coding by hacks based on errors in the code.
-
Developer hours because only the senior developers can comprehend its complexities.
But if this is not taken into account, then there will be an overestimation of productivity by the same level of effort put into it.
Cost 3: Technical Debt That Compounds
More Copying, Less Refactoring
The cost of the slowest movement is maintainability. GitClear analyzed 211 million changed lines of code from 2020 to 2024 for its AI Copilot Code Quality report. It found an eightfold increase during 2024 in code blocks of five or more lines duplicated from nearby code. In 2024, copy-pasted lines also outnumbered moved lines, which GitClear uses as a signal of refactoring, for the first time in its dataset.
That means the same logic is duplicated in several places now. Any modification in the future would require multiple changes, while any omission of the duplication would become a bug. GitClear is in the business of code analysis, which explains why it should be taken as vendor research.
Steps to Control the Cost
The answer is not to restrict AI development services but to move the testing phase forward such that the generated code can achieve parity with human-written code.
-
Security should become an integral part of the system process such as authentication and access checks and not a separate component of the model.
-
Static code analysis and dependency scans of all pull requests, even if the pull request is made by the AI.
-
The pull request should be small enough that the output of the AI can be reviewed in small chunks understandable by humans.
-
Metrics for engineering need to have churn, duplication, and delivery time.
-
AI software should be considered privileged software.
The benefit that you can get from this is in the tests it provides. This is because it is only through the utilization of artificial intelligence that will allow the teams to have as much coverage as the code generated.
Tool governance matters just as much. In the case of N-iX, they ensure that the AI programming software is audited against all security standards before its release and that they run these applications using private clouds so as to ensure that the client code never goes through any third-party servers. This is precisely how you govern the rollout of AI-coding development services and tools.
To sum up
Which aspects should be covered by the budget of engineering managers? Such security defaults' implicit cost will prove to be a hard job for you once you need to justify your project based on performance improvement just after its merge.
During licensing of your AI solutions, you will need to remember about three more metrics too, and these metrics will include security defaults in generated code, failure rate of changes and duplications. If there will be any problem with such metrics, you will have to fix it before scaling out.