Skip to content
aitrainer.work - AI Training Jobs Platform

Sell to AI labs

How much is your code worth?

AI labs license private code. See what yours is worth without uploading it.

To price your private repos, connect GitHub, GitLab or Bitbucket.

Dataconto, our code and data licensing service, handles the connection. It reads each repo's name, size, language and commit count.

If your code isn't on a host, pick a folder on this computer.

To sell your code now, get a quote from Pangea.

About $100 per 100,000 lines of code

That's for the code alone. Your commit history pays extra, and on an older project it's often worth more than the code.

Lines of codeCode alone
10,000$10
50,000$50
100,000$100
250,000$250
500,000$500
1,000,000$1,000

One web app we checked was worth $717 for the code and $5,665 for its history. See what yours is worth on Pangea.

What code sells

  • Code that has never been public.
  • Code you own. Not your employer's, and not a client's unless they agree in writing.
  • Your own work. Not forks or templates.
  • Code people wrote. Labs no longer take AI-written code.
  • Not WordPress sites, themes or plugins.

Code from before 2025 is the strongest fit. Pangea asks how newer code was built before it offers it to labs.

More on selling private code.

Questions about the calculator

Do you see my code?

No. We only read each repo's name, size, language and number of commits. Your code stays where it is.

Who pays for code?

AI labs. They pay to train their models on real code. Pangea lists your repos for them and pays you each time a lab licenses one.

Why don't my public repos count?

Anyone can already read public code, so labs won't pay for it. They only buy code that was never public.

Why do I have to connect my account?

Only you can see your private repos, so we need your OK to read their sizes. GitLab hides sizes even for public repos, so on GitLab you always connect.

How do I remove access?

Press Disconnect, or close the tab, and the calculator forgets your access. To remove it completely, remove Code Value from the apps in your GitHub, GitLab or Bitbucket settings.

Why is my number lower than I expected?

We don't count downloaded libraries, build output or minified files. Labs pay for code people wrote.

Why do other calculators show bigger numbers?

We use the rates Pangea publishes, so you see what one lab pays to license your code. Some tools guess a sale price before any buyer has looked at the code. A license isn't exclusive, so the same repo can earn this again from each lab that licenses it.

Is this the final price?

No, it's an estimate. Pangea checks each repo and gives you the real price, with your commit history included.

Can I add my tickets and docs?

Yes. Pangea takes exports from Jira, Linear, Asana, Notion, Confluence, Slack and email, removes names, emails and keys, and links each item to its repo. Labs want them next to the code, but Pangea doesn't pay for them yet, and adding them never changes your code's price.

Can I sell code I wrote with AI tools?

Not code the AI wrote. Labs no longer take it. Pangea marks code from 2025 onward as unlikely to license until you explain how it was built, so tell them when you sign up. Your commit history helps.

Can I sell code I wrote for work?

Only if your employer or client agrees in writing. Code you write for a job usually belongs to them.