Legacy Modernization

AI Just Cut the Cost of Modernizing Legacy Software in Half

Gartner projects AI will cut legacy modernization labor costs by half by 2029, and AWS reported about 30% savings on a real migration. The catch: the savings are real only with senior judgment and real testing.

A close-up of a computer circuit board
Photograph: Jonathan Cutrer from San Angelo, Texas, United States · Wikimedia Commons · CC BY 2.0

AI has done something to legacy modernization that fifteen years of consultancy decks did not. It made the work materially cheaper. Gartner projects that by 2029, generative AI will cut modernization labor costs by 50% compared with 2025, as reported by Diffblue. For an owner who shelved a rebuild because the quote was impossible, that changes the arithmetic.

This is the pitch, and it’s honest only with the catch attached. So here are both halves.

Why AI changes the cost of modernization

The expensive part of modernizing old software was never typing new code. It was understanding the old code: what it does, why it does it, and what breaks if you touch it. That understanding used to take senior people months of careful reading.

AI compresses that. It can read a large codebase quickly, explain what each part does, and draft the tests that lock down current behavior before anyone changes it. Gartner projects that by 2029, 90% of modernization will use AI-augmented tools, up from under 15% today, again via Diffblue. The shift is already underway.

The savings already show up in production. AWS reported that Thomson Reuters used its AWS Transform tooling to modernize about 1.5 million lines of .NET code a month, with around 30% cost savings on the move. AWS shared those figures at the Gartner IT Symposium, and CIO Dive reported them. That’s real scale, not a demo.

Why cheaper is not the same as safe

Now the catch, because it decides whether the saving is real. Gartner also warns that leaders overestimate what AI can do here. CIO Dive reported Gartner’s prediction that more than 70% of mainframe exit projects started this year will fail, with the firm tying that failure to overestimating generative AI.

The risk is not abstract. Ryan Peterson, AWS’s worldwide tech leader for enterprise modernization, put the stakes plainly in CIO Dive’s reporting: “Any disruption to critical business operations during transition creates exponential risk.” Point AI at a system no one understands, with no tests guarding it, and it will refactor confidently in the wrong direction. You don’t get a safer modernization. You get the wrong thing, built faster, with more code to unwind.

So the 50% saving is conditional. It shows up when AI drafts and a senior engineer who understands the domain decides: reads the output, questions it, and tests it against what the system actually has to do. AI is leverage on judgment. With no judgment behind it, there’s nothing to leverage.

Where the saving actually lands

The cheapest approach pairs AI with the incremental path, not the big rewrite. Use AI to document and test one module, improve it, ship it, and move to the next. Each step is small enough to verify, which is exactly where rewrites usually fall apart and where AI’s speed pays off safely.

That’s also how the maintenance bill comes down without a bet-the-company project. You reclaim the spend one proven piece at a time.

For us, AI is a tool our senior engineers point, not a stand-in for them. More than fifteen years building across stacks is what tells a team when the model is right and when it’s confidently wrong. Being stack-agnostic means we read your system in whatever it was written in before we change a line.

The barrier that justified living with legacy, the cost of fixing it, has genuinely dropped. What still decides the outcome is who holds the tool. Start by having one system read and scoped, so you can see the real number before you commit to anything.

Sources