- About
- Open-source billing platform and merchant of record for AI startups. Open-source alternative to Lemon Squeezy, Paddle and Stripe Billing.
- Catalogue
- No. 031
- Category
- Teams
- GitHub stars
- ★ 10.5k+77 this month
- Last commit
- Page updated

Overview
Polar is an open-source billing platform for AI startups and software companies that need to charge for tokens, agents and compute. It acts as the merchant of record, so it handles receipts, customer accounts, dunning and worldwide sales tax and VAT for you.
What it does well
You can combine usage billing, subscriptions, seats, credits, trials and discounts however your product charges. Metering bills tokens, API calls, agent runs, GPU seconds and storage down to the event. It comes with checkouts, real-time metrics, a public API and webhooks, and SDKs for JavaScript and Python. Pricing is per transaction, starting at 5% plus 50 cents.
Why it’s in the collection
Polar lets an AI product charge for usage and get sales tax handled, without building billing itself. It's Apache-2.0 licensed.
On GitHub
- Stars
- 10,519
- +77 in 30 days
- Forks
- 835
- Commits
- 19,786
- Latest
- Repository
- polarsource/polar
Languages
- Python 63.6%
- TypeScript 32.5%
- HCL 1.9%
- Other 2%
Compared with
Stripe BillingStripe's subscription and usage billing.- PPaddleCommercial merchant of record for software.
Lemon SqueezyMerchant of record for digital products, owned by Stripe.
See every open-source alternative to Lemon Squeezy and Stripe Billing in the collection.



