Can you make money from GitHub?
Yes, and the way in depends on whether your code is public or private. Public code can't be sold, since anyone can copy it, but it can bring in sponsors, grants and a job. Private code you own can be licensed to AI labs, and Pangea pays $100 per million tokens of source.
| Route | Code it needs | What you earn or what they take |
|---|---|---|
| Sell the app you build | Public or private | Your price, minus the store's or payment fees |
| License a repo to AI labs | Private, never public | $100 per million tokens of source, $40 per million of history |
| GitHub Sponsors | Public | 0% fee from personal accounts, up to 6% from organizations |
| Open-source funds | Public, with users | $10,000 per project from GitHub's fund |
| Paid Marketplace app | Either | You keep 95% |
| GitHub's bug bounty | None of yours | $10,000 or more for a critical bug |
Selling what you build works for any code
Customers pay for an app, a plugin or a service, so it makes no difference whether the repo behind it is public. The price is yours to set, and the store or payment processor takes its fee.
An app that already has users can also be sold as a business. Dataconto compares where to sell code and what each place charges.
AI labs pay for private repos by the token
AI labs license private code to train their models, and they pay for its git history too. Pangea pays $100 per million tokens of source and $40 per million tokens of history. The license is non-exclusive, so you keep the repo and can license it again.
It has to be code you own that was never public. AI-written code, forks and code written for an employer or a client don't qualify. Can you sell a GitHub repo? covers the rules, and the home page puts a figure on each repo from your username.
GitHub Sponsors takes nothing from personal sponsors
Sponsors lets people and organizations pay you through GitHub.Sponsorships from personal accounts reach you in full. Organizations pay a fee of up to 6%, half for card processing and half for GitHub's service.
You need two-factor sign-in and a home and bank account in a region Sponsors supports. Stripe Connect pays out on the 22nd of each month whatever the balance, and your first payment comes 60 days after your first sponsor.
Open-source funds pay projects with users
The GitHub Secure Open Source Fund pays $10,000 per project to the maintainers it picks, in three parts over a year. The project needs an open source license and people who use it, and applications are open on a rolling basis.
A fiscal host holds donations for a project that has no company of its own. Open Source Collective is one, and it keeps a 10% host fee on incoming funds. Sponsors can pay out to a fiscal host too.
Paid Marketplace apps need an organization
Only apps owned by an organization that GitHub has verified can charge on GitHub Marketplace. A GitHub App needs at least 100 installs first, and an OAuth app 200 users. GitHub keeps 5% and pays the rest at the end of the following month, in any month your revenue reaches $500.
Anyone can publish an Action to the Marketplace. GitHub's docs on paid plans cover apps only.
GitHub's bug bounty pays for flaws in GitHub
GitHub pays security researchers who find and report bugs in GitHub itself. Its public program pays $10,000 or more for a critical one. It rewards finding bugs, so your own repos don't count toward it.
Most developers get paid through a job
For most people, GitHub pays off as a portfolio. Public repos show what you can build, and a pinned project with a clear README gives a hiring team something to open before they call.
Questions
Do people make money from GitHub?
Yes. Maintainers take sponsorships and grants, app makers sell paid plans on GitHub Marketplace, and owners of private code license it to AI labs. For most developers, though, the money comes through a job.
Can you monetize a GitHub repo?
A private repo you own can be licensed to AI labs at $100 per million tokens of source at Pangea's rates. A public repo can't be sold as code, so it earns through sponsors, grants or the product built on it.
Does GitHub pay you for stars or followers?
GitHub doesn't pay for stars or followers. AI labs price code by its tokens, so stars don't change what a private repo would earn either.
Does GitHub take a cut of sponsorships?
GitHub charges no fee on sponsorships paid by personal accounts. Sponsorships from organizations carry a fee of up to 6%: 3% for card processing and 3% for GitHub's service.
Can I sell a GitHub Action?
Anyone can publish an Action to GitHub Marketplace. GitHub's docs on paid plans cover apps, so the way to charge is a GitHub App owned by a verified organization.
Sources
- GitHub Docs: About GitHub Sponsors (fees), checked November 20, 2026
- GitHub Docs: Setting up GitHub Sponsors for your personal account, checked November 20, 2026
- GitHub Sponsors Additional Terms (payment timing), checked November 20, 2026
- Pangea: code licensing for companies (rates and rules), checked November 20, 2026
- pre.dev's code licensing estimate script (rates), checked November 20, 2026
- GitHub Secure Open Source Fund, checked November 20, 2026
- Open Source Collective: fees, checked November 20, 2026
- GitHub Docs: About GitHub Marketplace for apps, checked November 20, 2026
- GitHub Docs: Requirements for listing an app, checked November 20, 2026
- GitHub Docs: Receiving payment for app purchases, checked November 20, 2026
- GitHub Security Bug Bounty, checked November 20, 2026