polarsource/polar
Polar — A billing platform for the intelligence era
What it is
Turn usage into revenue. Polar is the financial layer for a new generation of intelligent software, built for AI startups that need to charge for tokens, agents, and compute without building billing infrastructure from scratch. Ship any pricing model in an afternoon. Usage billing, subscriptions, seats, credits, trials, and discounts. Compose them however your product charges. Meter what matters. Bill tokens, API calls, agent runs, GPU seconds, and storage with precision down to the event. Checkouts that convert, realtime metrics, and worldwide tax handled for you. We're the merchant of record, so we take on the billing boilerplate (receipts, customer accounts, dunning) and the headaches…
When to use it
Reach for polar when you need sign-in, users, permissions, subscriptions or getting paid — it's written in Python and fits stacks tagged digital-products, fastapi, merchant-of-record, nextjs.