On this page
Overview
Polar is a billing platform for AI and SaaS products, combining usage billing, subscriptions, seats, credits, trials, and discounts with checkout and customer billing workflows. Its README emphasizes metering AI workloads such as tokens, API calls, agent runs, GPU time, and storage.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Combine usage, subscriptions, seats, credits, trials, and discounts
Pricing models can mix metered usage with recurring plans, seats, credit balances, trials, and discounts instead of forcing one billing model.
Sources: [2]
Meter granular AI workload events
The README calls out tokens, API calls, agent executions, GPU or compute time, and storage as billing dimensions for intelligent software.
Sources: [2]
Run separate Python API/worker and Next.js frontend services locally
The development guide describes a REST API and workers backed by PostgreSQL, Redis, S3-compatible storage, plus a web client, with a dev tool that automates environment setup.
Sources: [3]
Best fit
Fits AI and SaaS teams shipping multiple pricing models quickly
It is relevant when detailed usage events need to coexist with subscriptions or credits without building a billing stack from scratch.
Sources: [2]
Before adoption
Treat Merchant of Record service terms separately from Apache-2.0 source licensing
The README says Polar's service handles receipts, customer accounts, dunning, and sales tax/VAT as Merchant of Record, while the repository itself is Apache-2.0. Evaluate hosted-service terms and source-code rights separately.
Never use a live Stripe account for the local development environment
The development guide requires a dedicated Stripe sandbox and explicitly rejects live accounts or shared team accounts for local setup.
Sources: [3]
Understand what dev up installs and configures
The development helper can install Docker, uv, pnpm, and Node.js, start PostgreSQL, Redis, and MinIO, configure GitHub and Stripe integrations, and run migrations, so review its impact and secret locations before running it.
Sources: [3]
Official sources
- [1]polarsource/polar repository(2026-10-01)
- [2]Polar README(2026-10-01)
- [3]Polar development guide(2026-10-01)
- [4]Polar SDK 1.0.1 release(2026-10-01)
- [5]Polar Apache-2.0 license(2026-10-01)
Supplemental curator note
Polar is designed to meter tokens, API calls, agent runs, GPU time, and other usage into billing models. The repository is Apache-2.0, while the Merchant of Record and tax-handling claims in the README describe Polar's hosted service, so evaluate source licensing and service terms separately.
Try it in 3 steps
- 1
Clone Polar
Fetch the official repository and enter the local development environment.
git clone https://github.com/polarsource/polar.git && cd polar - 2
Install the dev command
Run the one-time installer documented by Polar to add the dev alias. Restart the terminal or reload the shell configuration when prompted.
./dev/cli/install - 3
Build the local stack
Prepare Docker, PostgreSQL, Redis, MinIO, Python/JavaScript dependencies, and migrations. Use only a dedicated Stripe sandbox, then start dev api, dev worker, and dev web in separate terminals.
dev up
Growth
Growth trends · Last 30 days
10,301 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 767
- Open PRs
- 42
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- fastapi
- nextjs
- python
- typescript
- react
- polar
- subscriptions
- turborepo
- digital-products
- payments
- saas
- merchant-of-record
- Stars
- 10,301
- Forks
- 798
- Watchers
- 28
- Open issues
- 59
- Contributors
- 125
- Owner type
- Organization
- Primary language
- Python
- License
- Apache-2.0
- Repository last updated
- Oct 2, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- BigCapital3,919 Stars
3 shared tag(s) · 1 shared category(s)
self-host double-entry accounting, invoicing, inventory, reporting, and bank integrations
TypeScript - Chaskiq3,575 Stars
3 shared tag(s) · 1 shared category(s)
combine live chat, support, campaigns, and help-center workflows in one customer-messaging platform
TypeScript - VerifyWise360 Stars
3 shared tag(s) · 1 shared category(s)
combine AI inventory, risk, compliance, and LLM evaluations in one governance platform
TypeScript - Wraft166 Stars
3 shared tag(s) · 1 shared category(s)
manage contracts and structured business documents from authoring through distribution on open formats
Elixir - Proxed.AI8 Stars
3 shared tag(s) · 1 shared category(s)
protect AI credentials for iOS apps behind a server-side proxy
TypeScript - Saleor23,398 Stars
4 shared tag(s) · 2 shared category(s) · Same language
separate a GraphQL-only commerce core from storefronts and independently deployed extensions
Python
Report incorrect information
Tell us if any listing information is incorrect or outdated.