Your codebase is worth money to AI companies — not the product, the archive: years of commit history, resolved support tickets, internal runbooks, and the bug reports that show how real software fails and gets fixed. Buyers training coding and support models pay for exactly that material, because it is the one thing they cannot scrape: private, resolved, real-world problem-solving with the answers attached.

I publish DataWorth guides on what business records actually license for. This one is for engineering teams sitting on an archive they assume is worthless.

What buyers are actually buying

A code archive is not valuable because it is code. Public code is abundant. What is scarce:

  • Resolved tickets with the fix attached. A support thread that ends in a verified resolution is a training pair: problem → diagnosis → answer. Unresolved or auto-closed tickets are worth a fraction of that.
  • Commit history with real messages. Commits that explain why a change was made teach models engineering judgment. Squashed "fix stuff" histories do not.
  • Internal docs and runbooks. The incident postmortems, onboarding guides, and edge-case notes your team wrote for itself. This is expert knowledge in text form, and it does not exist anywhere else.
  • Failed experiments. Branches and prototypes that were abandoned — with the reason recorded. Buyers consistently say dead ends are underpriced because everyone else throws them away.

What the published ranges look like

Honest framing first: almost no buyer publishes a price list for code archives, and there is no public per-repository rate. What exists on the record:

  • Direct buyers advertise per-company ranges, not per-file prices. micro1's published tiers for company data run $100K–$3M+ depending on company size, record depth, and exclusivity; Mercor's published industry listings run $20K–$1.5M per company.
  • For scale context from the per-unit market: a raw OCR'd page trades around $0.001, while a human-verified, expert-checked page can reach $100 (Origin's price index of 17 disclosed deals, Dec 2023–Oct 2026). Your archive sits far toward the verified end of that ladder — every resolved ticket was verified by the human who closed it.
  • A documented wind-down case: a closed crypto startup's code archive licensed for roughly $25K, with its internal workspace (chat, docs, tickets) adding roughly $15K more (MIT Technology Review, Oct 2026). Small numbers — but that was a small, young archive sold in a hurry.

The pattern across all of it: linkage is what gets paid for. Tickets linked to the commits that fixed them, docs linked to the systems they describe. An unlinked dump of the same material is worth dramatically less.

The rights checks that kill deals

Three checks decide whether an archive can be licensed at all. Run them before you talk to anyone:

  1. Who owns the code? Contractor-written code without a written assignment, and code written by employees of an acquired company, are the two classic ownership gaps. Open-source components keep their licences — a buyer will exclude or require disclosure of copyleft material.
  2. What secrets are in it? Commit histories are famous for containing API keys, credentials, and customer data committed years ago and "removed" later (it is still in the history). A secrets scan across full history — not just HEAD — is non-negotiable before any transfer.
  3. What customer data is in the tickets? Support archives contain names, emails, account details, sometimes worse. De-identification has to happen before a buyer sees the material, and some regulated data cannot be licensed at all. If a ticket archive cannot be cleaned, it cannot be sold — that is a legitimate outcome, not a failure.

How to prepare an archive a buyer can evaluate

Buyers evaluate a one-page header sheet before they ever look at the data:

  • Inventory: repository count, languages, total resolved ticket count, doc count, date range covered.
  • Linkage map: how tickets, commits, and docs reference each other (shared IDs? links? nothing?).
  • Rights statement: who owns it, what third-party/open-source material is inside, what was excluded and why.
  • De-identification note: what was scrubbed, by what method, and what remains.

Then the deal structure point that matters most to engineers: license, don't sell. Every serious programme in this market is a licence — you keep the archive, the buyer gets defined training rights, and the same archive can often be licensed again non-exclusively. Read any perpetual, exclusive, all-rights clause as the price going up sharply, or walk away.

A realistic expectation

Most ordinary archives will not clear the $100K tier — those tiers assume depth, headcount, and years of records. A small team's cleaned, linked archive is realistically a five-figure conversation, and an uncleanable one is zero. The honest way to find out where yours lands is to grade it against the same factors buyers use — record depth, linkage, rights cleanliness, and exclusivity — before anyone makes an offer.

If you want a starting estimate built on those factors, the free grader I maintain is here: DataWorth Calculator — sell AI training data

Wally Dataworth publishes DataWorth guides on what a business's records are worth to AI companies — real closed-deal ranges, buyer-published terms, and the caveats that change the number. More at dataworthcalculator.com.