Pick AWS Transform or Copilot Based on Where Your Repos Live

For a fleet of Java 8 and 11 services, run OpenRewrite recipes on every repo first and send only the repos that still fail to an agent. AWS Transform bills $0.035 an agent minute, Copilot draws on seat credits, and Moderne's platform is a typical $250K.

By Rajesh Beri·December 5, 2026·14 min read
Share:
A server room aisle with a long row of identical rack servers, one technician at a laptop on a cart running a terminal, a stack of printed build logs with red failure marks beside it.

Illustration generated using AI

If you have hundreds of services stuck on Java 8 or 11, run a deterministic OpenRewrite recipe across every repo first and point an AI agent only at the repos that still fail to build. For that second step, use AWS Transform custom if you already run on AWS, and GitHub Copilot app modernization if your code lives on github.com and you already pay for Copilot seats. Buy the Moderne platform when a typical $250K contract costs less than the engineering hours it removes, which on Moderne's own sizing means an organization near 1,000 developers. GitHub Copilot is the weakest fleet tool here: its batch mode skips any repo not hosted on github.com, and Microsoft's own FAQ still tells you to modernize one project at a time.

The vendor demo you watched upgraded one clean repo. Your bill, and your risk, sit in the other 499, and in the reviewer hours each one costs.

Tool How it changes code Published price (checked Dec 5, 2026) Fleet mode Cloud it leans toward Pick it if Skip it if
OpenRewrite (open source) Deterministic recipes $0 licence; newest Java recipe binaries now Moderne-only You script it per repo Neutral You have a platform team that can run Maven/Gradle plugins in CI Nobody owns the tooling
Moderne platform Deterministic recipes, plus the Moddy agent in restricted beta Commercial "$250K Typical", Enterprise "$2M Typical", contact sales Built for it: one recipe across hundreds of repos Neutral (hybrid SaaS in your cloud, or on-prem) You have ~1,000 developers and upgrades every year You have 50 services and one upgrade to do
AWS Transform custom Agentic (LLM plans and edits, your machine builds) $0.035 per agent minute, AWS's 17K-line Java example costs $2.52 CLI you can loop over repos; campaign management AWS (needs AWS credentials, code goes to the service) You're on AWS and want a per-repo price you can measure Your code may not leave your network or your cloud is Azure/GCP
GitHub Copilot app modernization Agentic, calling OpenRewrite underneath Included in Copilot plans; Business is $19 per seat with 1,900 AI Credits Batch upgrade CLI, github.com repos only Azure You have a dozen services, already have Copilot seats Your repos are on GitLab or Azure DevOps, or you need a fleet run

Recipes or Agents: What Each Means for Your Reviewers

A deterministic recipe produces the same diff every time it runs on the same code, so your reviewers can approve the recipe once and spot-check its output. An agentic tool writes a different diff for every repo and sometimes for every run, so every pull request needs a full read. That difference decides your cost more than any price on this page.

OpenRewrite is the open-source refactoring engine underneath most of this market. A recipe is a program that rewrites source code through a lossless syntax tree; UpgradeToJava21 in the rewrite-migrate-java module chains the build-file, API and dependency changes for that jump. Moderne sells the commercial platform built by OpenRewrite's creators. AWS Transform custom and Copilot app modernization are LLM agents that read your code, plan changes, edit, then run your build and loop on the errors.

The best public evidence for the recipe model at scale comes from Adyen. Its engineers opened more than 4,000 automated merge requests in two months across thousands of modules with OpenRewrite, reported "a steady 70%" merge rate and a median review time under two hours, and spread the review across 400+ reviewers. That was code-quality work, not a Java version jump, and Adyen lists what went wrong: whole-file rewrites, recipe edge cases and subtle behaviour changes. Still, a 70% merge rate across thousands of PRs is the kind of number none of the agent vendors has published.

Recipes stop where their authors stopped. Duolingo ran OpenRewrite for its Gradle 8, JDK 17 and Java 21 upgrades and wrote that "once the automated refactoring was done, we were still left with build errors, runtime issues, and deprecated code"; one recipe added a conflicting dependency that broke builds, and they "only used AI to fill in the gaps." That is the workflow this page recommends: recipes for the bulk, an agent for the residue.


What Each Tool Costs on the Same 500-Service Fleet

The tool bill is small next to reviewer time for every option except the Moderne platform. To compare like for like, take one workload: 500 Maven and Gradle services, Java 8 or 11 to Java 21, one upgrade PR per service. All prices were checked on each vendor's live page on December 5, 2026.

AWS Transform custom bills $0.035 per agent minute in one-minute increments. You are not billed while your own machine compiles or runs tests, but several agents can run at once, so billed minutes can exceed wall-clock time. AWS's worked example is a Java upgrade of about 17,000 lines that takes about 72 agent minutes and costs $2.52. The same page says a runtime upgrade "could cost 10 agent minutes on a 100K lines-of-code application and 72 minutes on a 17K one," so lines of code predict little. An AWS specialist's Builder Center walkthrough of a Java 11 to 25 upgrade on a roughly 5,000-line app billed 87.2 agent minutes in a single run. Budget 90 minutes a service and the fleet costs 500 × 90 × $0.035 = $1,575; double it for reruns and you are near $3,200. One catch: agent minutes "are accrued regardless of the end state of a transformation," so a failed run costs the same as a merged one. The free allowance (50,000 agent minutes a month) covers AWS-managed .NET transformations only, not Java.

GitHub Copilot app modernization is available to any Copilot plan. Copilot moved to usage-based billing on June 1, 2026, and seat prices did not change: Business is $19 per seat with 1,900 GitHub AI Credits a month, Enterprise $39 with 3,900. Credits are worth $0.01, pool across the billing entity, and the cloud agent that runs batch upgrades draws on them. Neither GitHub nor Microsoft publishes a credit cost per Java upgrade, and Microsoft's FAQ still describes billing in premium requests, a unit GitHub retired in June. If your seats already exist, the marginal cost of a pilot is close to zero; the cost of a 500-repo run is something you will only know by measuring it.

Moderne publishes ranges on its pricing page: Commercial at "$250K Typical" for organizations "with up to about 1,000 developers and hundreds of repositories," Enterprise at "$2M Typical," and a Fully Managed Service at "$5M Typical," all through sales. The Commercial and Enterprise tiers include "unlimited transformations and impact analyses" and forward-deployed engineers with code access. Enterprise contracts are transactable against cloud marketplace commitments, which matters if you have unspent AWS or Azure commit. Moderne also sells a separate Backpatch Alliance membership at $2,000 a month per legal entity.

OpenRewrite on its own has no licence fee for the core, which is Apache 2.0. The Java migration module is a different matter. It sits under the Moderne Source Available License, and OpenRewrite's own Java 25 migration guide says "compiled binaries are only available to Moderne customers," hosted at the Code Genome Project. The last public release on Maven Central is 3.42.1, dated August 19, 2026. The licence lets you run the recipes on your own code, and the source is published, so you can build newer versions yourself. Price that build-and-maintain work honestly before you call this option free.

Now the reviewer side. Assume one reviewer hour per merged upgrade PR. Across 500 services that is 500 hours, roughly a quarter of an engineer-year, before any rework. At a loaded $125 an hour that is $62,500, roughly 20 to 40 times the AWS Transform bill above. Only Moderne's contract is large enough to compete with it, which is why Moderne sells on reviewer time saved and why that pitch only holds at its own stated scale.


How Well Each One Works: Vendor Claims Against Tester Reports

No vendor has published a measured success rate with a method behind it, and every hands-on report describes upgrades that compile and still fail. Treat each headline figure below as a vendor claim.

AWS's Transform custom page claims "up to 85% efficacy rate for out-of-the-box (OOB) transformations such as Java and Node.js version upgrades," with no definition of efficacy and no sample. The customer quotes on the same page are better evidence: Coupang upgraded more than 70 Java applications in about two months with five developers. Amazon's own history is the strongest case. In 2023, an internal team of five upgraded 1,000 production applications from Java 8 to 17 in two days, and Andy Jassy later said developers shipped 79% of the auto-generated code reviews without changes. Amazon's codebase is unusually uniform, so expect lower on yours.

The testers found the gaps. AWS's own documentation says a transformation can be "partially successful," after which "you have to manually update the remaining code," and that the agent makes the minimal changes needed, so a separate pass is required to upgrade libraries and dependencies. Matt Lewis, writing for the AWS Heroes publication on dev.to, found the AWS SDK left on 1.x and a runtime NoSuchFieldError after a clean compile. A 2026 walkthrough of the AWS Transform CLI calls a baseline build that already fails on Java 8 the most common stumble, and also lists an agent that "finishes but the code does not build."

Microsoft says it tested Copilot modernization "on hundreds of open-source repositories to ensure build, consistency, and unit tests pass" and gives no pass rate. The same FAQ says the extension "can't guarantee that the changes it proposes are optimal," that "occasional errors might occur," that Kotlin DSL Gradle builds are unsupported and that IntelliJ support covers Windows and macOS only. Under the hood it uses OpenRewrite for API replacements and dependency updates, so on the mechanical part of a Java upgrade it is running the same recipes you could run yourself. We found no independent tester report with numbers for it.


Running One Change Across 500 Repos

Moderne is the only one of the three designed around the fleet; AWS Transform gets there through a scriptable CLI; Copilot's batch mode has limits that rule out many enterprises.

Moderne parses every repository into a stored syntax tree, so one recipe runs across hundreds of repos and you review the results as a single campaign. Its newer Moddy agent is described as "a multi-repo AI agent" that picks recipes from a plain-language request, and is "currently in a restricted beta." Buy the platform for the recipes and the fleet execution, and treat Moddy as a later bonus.

AWS Transform custom describes itself as built for "hundreds of applications," with "define once, transform everywhere" and campaign management included in the price. It runs from a CLI, in VS Code, in Kiro and as a Claude Code plugin, and the managed AWS/java-version-upgrade transformation goes "from any source JDK version to any target JDK version." Because builds run on your machine, the fleet pattern is a CI job that loops over repos, which your platform team can own and throttle.

Copilot's batch upgrade (modernize upgrade "Java 21" --source ./repos.json --delegate cloud) hands each repo to GitHub's cloud agent. Cloud delegation supports "only repositories with GitHub (github.com) URLs"; GitLab and Azure DevOps repos are skipped. Every repo in a batch must use the same language, and each one needs Microsoft's modernization MCP server configured. Meanwhile the product FAQ still recommends that you "only modernize one project or app at a time." That is the main reason Copilot ranks last here: on a mixed estate, the fleet feature reaches only part of it.


Which Cloud Each Tool Steers You Toward

The Java upgrade itself is cloud-neutral in all three, but AWS Transform and Copilot each sit inside a catalogue that points at its owner's cloud.

AWS Transform custom requires AWS credentials and an IAM policy, runs in eight regions, and its data-protection page says the service stores code as context to generate its responses. Its managed catalogue includes AWS SDK v1 to v2, Oracle Java to Corretto and x86 to Graviton migrations. None of those is forced on you, but they are one command away once the account exists. If your security team will not let source code reach a cloud service, this option ends there.

Copilot app modernization is documented by Microsoft as an Azure migration product: the process includes "planning Azure resources," predefined tasks include moving from AWS S3 to Azure Blob Storage, and the deployment targets named are App Service, Container Apps and AKS.

Moderne runs as hybrid SaaS "in a cloud provider and region of your choice," or on-premises on the Enterprise tier, and OpenRewrite runs wherever Maven or Gradle runs. If you are on GCP or split across clouds, those are the only neutral choices here.


Who Should Not Pick Each Option

Each tool has a buyer it fails, and each failure is cheaper to see now than after a 500-repo rollout.

  • Skip the Moderne platform if you have fewer than a few hundred repos or one upgrade on your roadmap. A typical $250K buys unlimited transformations; you will not use them.
  • Skip plain OpenRewrite if no team owns build tooling. The free path now means pinning an older public release or building the migration module from source, and someone has to own that.
  • Skip AWS Transform custom if source code may not leave your network, or if your estate runs on Azure or GCP and you do not want an AWS account in the loop. Also skip it if your baseline builds are broken: every failed run is still billed.
  • Skip Copilot app modernization for fleet work if any meaningful share of your repos lives outside github.com, if you build with Kotlin DSL Gradle, or if your Java developers use IntelliJ on Linux.

A Three-Service Pilot That Predicts the Fleet Result

Pick three services that represent your estate, run every candidate on the same commit, and measure reviewer hours per merged PR. Build-pass rate alone will flatter the agents, because the AWS tester reports above include code that compiled cleanly and then failed at runtime.

This Week:

  1. Pick three services: a clean Spring Boot Maven service, a multi-module Gradle build that pulls internal libraries, and the oldest Java 8 service you have (javax packages, AWS SDK v1, an old Spring version).
  2. Confirm all three build and pass tests on their current JDK. The AWS Transform walkthrough names a broken baseline as the most common failure, and it is just as fatal to the other tools.
  3. Branch each service once per tool from the same commit.

This Month:

  1. Run UpgradeToJava21 through the OpenRewrite Maven or Gradle plugin on all three, then hand whatever still fails to AWS Transform custom and to Copilot app modernization separately. Also run each agent alone on a clean branch, so you can see what the recipe saved.
  2. For each branch, record: compiles (yes/no), test pass rate against baseline, a smoke test of the running service, agent minutes or AI Credits consumed, reruns needed, and reviewer hours to merge. Have the same reviewer time every PR.
  3. If you are evaluating Moderne, ask for the same three services to be run on the platform during the sales cycle, and ask for the contract price in writing.

Before You Sign:

  1. Multiply reviewer hours per merged PR by your service count, and by the number of upgrades you expect over the contract term. At a loaded $125 an hour, a typical $250K Moderne contract equals 2,000 engineer hours. Below that, the recipe-plus-agent path is cheaper; above it, get the Moderne quote and ask what share of those hours it removes.
  2. Write down where each tool sent your code and get your security lead's sign-off on it.

The Bottom Line

Java upgrades look like the problem AI coding agents were built for, and on one clean repo they are. Across a fleet, deterministic codemods run by a platform team still do most of the work: Copilot calls OpenRewrite underneath, and AWS Transform's strongest evidence comes from Amazon's own, unusually uniform estate. Agents earn their place on the residue, the build errors a recipe leaves that an engineer used to fix by hand. Price that residue in reviewer hours, since that is where most of the budget goes.

Run the three-service pilot before anyone signs a contract or approves a 500-repo batch.

Continue Reading

Share:

Frequently Asked Questions

How much does AWS Transform custom cost for a Java upgrade?

AWS Transform custom bills $0.035 per agent minute in one-minute increments, per its pricing page checked December 5, 2026. AWS's own example, a Java upgrade of about 17,000 lines, takes about 72 agent minutes and costs $2.52. Minutes accrue even when the transformation fails, and the free allowance covers .NET only.

Is GitHub Copilot app modernization free with Copilot?

It is available to any Copilot plan, and it draws on the plan's GitHub AI Credits. Copilot Business is $19 per seat with 1,900 credits a month and Enterprise is $39 with 3,900. Neither GitHub nor Microsoft publishes a credit cost per Java upgrade, so measure it in a pilot.

Does GitHub Copilot app modernization use OpenRewrite?

Yes. Microsoft's overview says it uses tools like OpenRewrite for API replacements and dependency updates, with the LLM handling planning and fixing build errors around those recipes.

How much does Moderne cost?

Moderne lists its Commercial tier at a typical $250K for organizations with up to about 1,000 developers, Enterprise at a typical $2M and a Fully Managed Service at a typical $5M. All three are sold through sales, and the Commercial and Enterprise tiers include unlimited transformations.

Can I still use OpenRewrite's Java migration recipes for free?

The OpenRewrite core is Apache 2.0, but rewrite-migrate-java is under the Moderne Source Available License, and OpenRewrite's Java 25 guide says compiled binaries are only available to Moderne customers. You can run an older public release from Maven Central (3.42.1, August 2026) or build the source yourself for use on your own code.

Newsletter

More on Developer Tools, every Sunday

The week's enterprise AI news, Developer Tools included, in one Sunday email.

Weekly, free. Unsubscribe any time. Privacy

Latest Articles

View All →