Yes. AI buyers license long-lived private systems written in COBOL, Fortran, Visual Basic, C#, Common Lisp, Zig, C89/90 and Perl, from banks, insurers, government contractors, utilities, manufacturers, logistics and telecom companies. Mercor's legacy codebase listing says up to $500,000, priced per qualifying repository, for companies of 15 to 5,000 employees (Mercor Data, checked December 1, 2026). The bar is specific: real history, real tests and a Linux build.
On this page
Why do AI labs want old code?
Models write modern languages well because the public web is full of them. Very little COBOL, Fortran or classic Visual Basic is public, yet these systems still run payroll, claims, billing and engineering calculations. Labs want models that can read, fix and migrate them, and that takes real production code with the history of how it changed. Mercor describes the target as "core banking and insurance systems, scientific and engineering software, manufacturing and logistics back-ends, and internal tools that have run for years" (Mercor Data, December 2026).
Data Licensors, the company that publishes this page, does not buy records itself: it gets owners written offers from several buyers, free for the owner. Our profile sits next to the others.
Which AI buyers want legacy codebases?
| Buyer | What its page says | Terms | Checked |
|---|---|---|---|
| Mercor, legacy and specialist-language codebases | Private production systems in the eight languages above, 75,000+ lines, 3+ years of full history | Up to $500K, "Priced per qualifying repository" | December 2026 |
| Mercor, software company | Private code with history; lists "Banking, insurance, healthcare, trading or blockchain software" as a plus | $50K to $500K, 15 to 500 employees | December 2026 |
| Patronus AI | Asks about legacy technology, giving the example "a system built over a decade ago" | Non-exclusive; paid directly on acceptance | December 2026 |
| Turing, Project Lazarus | Prepares and licenses a company's operating record, including code | Paid on each sale; exclusive for the first 6 months | November 2026 |
Turing listed legacy codebases at $10K to $100K+ when it launched Project Lazarus in March 2026 (Turing, March 2026); its pages showed no price for codebases when we checked on November 24, 2026. For licensing terms, see exclusive vs non-exclusive licenses.
What does a qualifying repository look like?
Mercor's requirements, word for word (Mercor Data, December 2026):
- "A private production system in COBOL, Fortran, Visual Basic, C#, Common Lisp, Zig, C89/90 or Perl"
- "75,000+ lines of code"
- "15+ contributors, 2,000+ commits and 1,500+ pull requests"
- "3+ years of full git history (no squashed or single-commit snapshots)"
- "20%+ line test coverage, with at least 90% of tests passing"
- "Builds on Linux and ships with complete dependencies"
- "Mostly human-written and under 20% overlap with public code"
It adds value for "Linked tickets, design docs and code reviews" and "Several qualifying repositories in the same language." It rules out "Code migrated into git without its history," "Forks or copies of open-source projects," "Systems that only build on Windows or mainframe hardware" and "Code mostly written by AI tools."
Two of these catch many legacy shops. First, history: a system moved from an older version control tool into git as a single snapshot has lost the history buyers pay for, so check whether the old repository still exists and can be migrated with history. Second, the build: mainframe COBOL that only compiles on z/OS does not qualify on Mercor's listing, while code that also builds with a Linux COBOL compiler can.
What stays out?
This is general information, not legal advice.
Code you do not own. A bank running a vendor's core system usually holds a license, not the source. Customizations may belong to you or to the vendor depending on the contract. Consultancies that built a system for a client usually need the client's agreement.
Government contract code. Under the standard DoD clause, the government gets unlimited rights in software developed exclusively with government funds, and "All rights not granted to the Government are retained by the Contractor" (48 CFR 252.227-7014). That leaves room to license some contract code, but contract confidentiality terms and export controls still apply. Under the EAR, releasing controlled technology or source code to a foreign person inside the US counts as an export (15 CFR 734.13).
Customer data in the repository. Old systems often carry production extracts in test fixtures, sample files and scripts. These come out before any sample leaves the company, along with passwords, keys and connection strings. See how to scrub a codebase.
A practical sort:
- License: systems you built and own, with history, tests and a Linux build, cleaned of secrets and customer data.
- Ask first: code built for a client or under a government contract, and vendor customizations.
- Leave out: vendor source you only license, export-controlled code without clearance, and anything with customer data you cannot remove.
What have companies been paid for legacy code?
We found no published deal for a named or unnamed company's legacy codebase as of December 1, 2026. Published figures:
| Buyer | Figure | Kind of figure | Source |
|---|---|---|---|
| Mercor, legacy and specialist-language codebases | Up to $500,000, priced per qualifying repository | Published range | Mercor Data, December 2026 |
| Mercor, software company | $50,000 to $500,000, 15 to 500 employees | Published range | Mercor Data, December 2026 |
| Turing, Project Lazarus (launch) | $10K to $100K+ per legacy codebase; no longer published | Past published range | Turing, March 2026 |
These are not a price for your code. To see what buyers would pay, get written offers.
How do I count what we have?
Before any call, have for each candidate system:
- Language, lines of code and whether it builds on Linux today.
- Years of history in git, and whether older history survives in another tool.
- Contributors, commits and pull requests, and test coverage.
- Who owns it: built in-house, built by a vendor, built for a client or under a government contract.
Counts are enough to start. No code leaves the company to get offers. For modern code, see the codebase guide; for physical product designs, the hardware engineering guide.