Licensa / Guides

What is a codebase worth to AI labs?

There is no list price. Licensa's working estimate for a private codebase licensed for AI training is a few thousand euros to more than €100,000 per license, and the same code can be licensed to several buyers unless exclusivity is agreed. Buyers price it on how many useful training or evaluation tasks they can extract from it, which depends on size, history, tests, rarity and whether the code still builds and runs.

By Augustin Rudigoz · Updated 3 December 2026

What figures have been reported?

One startup codebaseAbout $25,000 for the codebase of a crypto startup that was shutting down, with an estimated $15,000 more pending for its workspace data (Google, Notion, Figma, Slack) (MIT Technology Review, Oct 2026)
Bankruptcy data setGoogle agreed to pay $10 million for Spirit Airlines' data in its bankruptcy, a sale approved by the US bankruptcy court on 17 November 2026
Licensa estimateFrom a few thousand euros to more than €100,000 per non-exclusive license. Our own working range, not a published market price

Prices vary because each buyer values data against its own research needs. MIT Technology Review reports that Nick Heiner of Surge AI, a company that builds training environments, puts this down to each buyer's research theses. Surge AI estimates value from how many useful tasks a codebase can yield.

Which factors raise the price?

  • History. Years of commits linked to tickets and reviews let a buyer rebuild real tasks: the issue, the fix, the test.
  • Tests. A test suite that runs turns code into verifiable tasks.
  • It still builds and runs. Code that compiles and starts is worth more than an archive.
  • Rarity. Under-represented languages and domains: legacy enterprise stacks, embedded, healthcare, finance, industrial software.
  • Size and human authorship. Large volumes of code written by people, not generated.
  • Context. Architecture documents, design decisions, runbooks.

What lowers the value or blocks a deal?

  • Unclear ownership: code written by founders without an employment contract, freelancers or an agency, with no written assignment of rights
  • Large amounts of third-party or open-source code with restrictive licenses
  • Secrets or customer data embedded in the history that cannot be cleaned
  • No history: a single snapshot with no commits
  • Mostly generated or boilerplate code

How do you get an estimate without sharing code?

Run the offline inventory script on a local copy. It produces counts per language, test and build files, and nothing else. With the datacard, that is enough for a first range. The final price is set with a buyer once interest is confirmed.

Is one license the end of it?

Not necessarily. With a non-exclusive license, the same codebase can be licensed to several buyers over time, each for its own use. Some buyers ask for exclusivity; that is a choice to price, not a default.

Sources

Related guides