# How to sell a codebase to AI labs

What AI buyers check in a private codebase, how to prepare it, and how DataVendor, Abaka AI, Mercor code listings and Turing compare as of December 2026.

Updated 2026-12-04. Source: https://dataexit.co/guides/sell-codebase-to-ai-labs

Private codebases are one of the things AI labs license most readily. This guide covers why, what buyers check, how to prepare a repository, and how the four routes we track compare as of December 2026.

## Why labs pay for private code

Labs build coding agents: models that read an issue, change code across files and open a pull request. To train and test those, they need examples of real software work from start to finish. A private production repository holds thousands of them.

The value is in the history. A pull request records a task, the change that solved it, the reviewer's objections and the revision. Linked issues record what was asked. Commits record the order things happened in. That history becomes training tasks for coding agents. A zip file of the final source has none of it.

## What buyers check

Four things come up in every review.

**Ownership.** The seller must hold the rights. For a company, that means the code was written by employees or by contractors whose agreements assign their work to the company. For an individual developer, it means the code is yours and not your employer's or a client's.

**Third-party code.** Open-source dependencies pulled in by a package manager are normal. Third-party code copied into the repository, code under restrictive licenses, and code a customer paid for and owns are problems. Know where these are.

**Secrets in history.** API keys, passwords, tokens and certificates. Deleting a key from the current files does not remove it from earlier commits. Buyers scan the history.

**Depth of pull requests and reviews.** How many pull requests, how many contributors, how much real review. Abaka AI puts numbers on it: 500 or more pull requests and 3 or more contributors.

## Prep checklist

1. **Confirm ownership in writing.** Collect employment and contractor agreements. Check customer contracts for clauses that assign code to the customer.
2. **List third-party code.** Note anything vendored into the repository and its license.
3. **Scan the full history for secrets.** Rotate any key that was ever committed, whether or not you remove it. Then clean the history.
4. **Remove customer data.** Database dumps, fixtures built from real records, logs and screenshots in issues.
5. **Export the platform history.** Pull requests, review comments and issues live on the hosting platform, not in the repository. Export them and keep the links between pull requests, issues and commits intact.
6. **Keep the history honest.** Do not squash or rewrite it beyond what cleaning requires. The trail is the product.
7. **Write a one-page summary.** Languages, age of the repository, number of pull requests and contributors, what the software does.

DataVendor offers team-assisted cleanup of personal information and secrets on request. Do your own scan first anyway.

## The four routes compared

| | DataVendor | Abaka AI Project Reborn | Mercor code listings | Turing Project Lazarus |
|---|---|---|---|---|
| What it is | Marketplace run by HUD | Direct buyer | Direct buyer, two code listings | Prepares the record and licenses it to AI labs |
| Who can apply | Anyone who holds the right to license, including individual developers and closed companies | Repositories with 500+ pull requests, 3+ contributors, handwritten code from 2023 or earlier | Companies of 15-5,000 staff (legacy and specialist languages) or 5-2,000 staff (common languages) | Active, winding-down and wound-down companies |
| Published figure | You set the price or take offers. About $30K per license is a typical floor for a strong codebase | Up to $1M per repository | Up to $500K (legacy and specialist languages), up to $200K (common languages) | Revenue share on each sale, nothing upfront |
| Exclusivity | Non-exclusive unless you offer it | Not published | Not published | Six-month exclusive license |
| When you are paid | Once the buyer pays (Net 30 invoices), then a reviewed withdrawal | Not published | Typically by wire after delivery | As the record sells |
| Where | Anywhere | Anywhere | Anywhere | Strongest demand in the US, UK, Canada and EU |

The table on this page shows each route's live requirements.

### DataVendor

DataVendor is a marketplace. You list the codebase and either set a price or take offers. HUD, which runs it, licenses the code from you and resells it to buyers in its own name. Licenses are non-exclusive by default, so one repository can be licensed to several buyers. DataVendor keeps a 20% fee on a deal.

This route is the widest open. It has no published floor for pull requests or team size, and it is the one route that accepts individual developers.

### Abaka AI Project Reborn

Abaka buys codebases directly and publishes the highest per-repository figure of the four: up to $1M. It also has the most specific entry bar. The requirement for handwritten code from 2023 or earlier means a mature repository qualifies and a recent one may not. Abaka does not publish payment timing or exclusivity terms. Ask for both.

### Mercor code listings

Mercor runs two listings for code. The one for legacy and specialist-language codebases has the higher ceiling, at up to $500K. The one for production codebases in common languages goes up to $200K. If your stack is unusual or old, look at the first listing. Mercor licenses, packages and pays for the data.

### Turing Project Lazarus

Turing takes code on its own or with the rest of a company's operating record: chat, tickets, wikis and CRM. It pays no fixed amount. You get a share of each sale. It asks for a six-month exclusive license, which rules out the other three routes for that period.

## Choosing a route

A few rules of thumb follow from the published terms.

- **You are an individual developer:** DataVendor is the route open to you.
- **The repository clears Abaka AI's bar:** compare Abaka's offer with a DataVendor listing. Check Abaka's exclusivity terms before doing both.
- **The code is in a legacy or specialist language:** look at Mercor's listing for it.
- **You want to license the code together with the company's chat, tickets and wikis:** Turing and Abaka AI both take company data alongside code.
- **You want a known amount at signing:** a revenue share does not give you that.

Where licenses are non-exclusive, you can use more than one route.

## What code has sold for

Public figures are thin. MIT Technology Review reported in October 2026 that one closed startup's codebase sold for about $25,000. DataVendor's documentation gives about $30K per license as a typical floor for a strong codebase. Abaka AI and Mercor publish ceilings, not typical prices. The buyer sets the price after review, and no route guarantees a sale.

## Risks

**A live product.** A licensed copy of your code is outside your control. The license should limit what the buyer may do with it and who it may pass it to.

**Rights you do not have.** If a customer or a former contractor owns part of the code, licensing it can breach an agreement. Sort this out before listing.

**Leaked secrets.** A key missed in the history is a security incident. Rotate everything that was ever committed.

**Exclusivity.** Read it before signing. An exclusive term blocks every other route while it runs.

Have a lawyer review the license. For the wider legal picture, see [is it legal to sell company data](/guides/is-it-legal-to-sell-company-data-to-ai).

## If the company behind the code has closed

All four routes accept code from closed companies. Someone with authority over the company's assets must sign. Export pull requests and issues before the hosting account lapses. See [selling shut down company data](/guides/sell-shut-down-company-data).

## How we help

Answer about 9 questions, with no files and no repository access. We match your codebase against each route's published requirements and email a shortlist within 5 minutes. You register through our introduction and sign with the buyer or marketplace directly. We never receive your code.

Some programs pay us a referral fee. You pay nothing, and it never comes out of your payout.

See which routes fit your codebase: [answer 9 questions](/apply).
