# polarsource/polar

> Polar — A billing platform for the intelligence era

- GitHub: https://github.com/polarsource/polar
- Website: https://polar.sh
- Category: Auth & Payments (https://ideas.asveas.com/c/auth-payments)
- Tags: digital-products, fastapi, merchant-of-record, nextjs, payments, payments-platform, polar, python, react, saas, subscriptions, turborepo, typescript, usage-billing
- Language: Python · License: Apache-2.0
- Stars: 10,469 · Forks: 849 · Open issues: 141
- Last push: 2026-11-11 (today)
- Vibe score: 85/100

## 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.

## Maintenance
polarsource/polar looks very actively maintained: the last push was today (2026-11-11), with 10,469 stars and 141 open issues.

## Quick start
```bash
git clone https://github.com/polarsource/polar.git
```

## Alternatives in Auth & Payments
- [keycloak/keycloak](https://github.com/keycloak/keycloak) — Open Source Identity and Access Management For Modern Applications and Services (★37.8k, Java, vibe 91/100) · details: https://ideas.asveas.com/r/keycloak/keycloak
- [better-auth/better-auth](https://github.com/better-auth/better-auth) — The most comprehensive authentication framework (★30.7k, TypeScript, vibe 90/100) · details: https://ideas.asveas.com/r/better-auth/better-auth
- [logto-io/logto](https://github.com/logto-io/logto) — 🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. (★14.9k, TypeScript, vibe 87/100) · details: https://ideas.asveas.com/r/logto-io/logto
- [stripe/stripe-node](https://github.com/stripe/stripe-node) — Node.js library for the Stripe API. (★4.6k, TypeScript, vibe 77/100) · details: https://ideas.asveas.com/r/stripe/stripe-node
- [nextauthjs/next-auth](https://github.com/nextauthjs/next-auth) — Authentication for the Web. (★28.4k, TypeScript, vibe 72/100) · details: https://ideas.asveas.com/r/nextauthjs/next-auth
- [lucia-auth/lucia](https://github.com/lucia-auth/lucia) — Authentication, simple and clean (★10.4k, TypeScript, vibe 67/100) · details: https://ideas.asveas.com/r/lucia-auth/lucia

---
Source: https://ideas.asveas.com/r/polarsource/polar · Catalog: https://ideas.asveas.com/llms.txt
