Skip to content

polarsource/polar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16,172 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Polar - An open source monetization platform for developers | Product Hunt Polar - An open source monetization platform for developers | Product Hunt


Website   •   Docs   •   API Reference

Follow @polar_sh


Polar: A billing platform for the intelligence era

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 (sales tax, VAT) on your behalf.

Built for AI workloads

  • AI completions: wrap any model with metered token billing on every call.
  • Autonomous agents: charge per run with step-level granularity, retries without double-billing.
  • GPU & compute: meter fine-tuning, hosted inference, and training runs by the second.

Pricing

  • Starter (free): 5.00% + 50¢ per transaction
  • Pro: 3.80% + 40¢ per transaction
  • Growth: 3.60% + 35¢ per transaction
  • Scale: 3.40% + 30¢ per transaction
  • Eligible startups can apply to the Startup Program for a year on our most generous plan
  • Additional fees may apply. Read more

Roadmap, Issues & Feature Requests

💬 Feature requests & bugs can be reported through the "Feedback" button found in the sidebar, bottom left of your Polar dashboard.

🔓 Found a security vulnerability? We greatly appreciate responsible and private disclosures. See Security

Polar API & SDK

You can integrate Polar on your docs, sites or services using our Public API and Webhook API.

We also maintain SDKs for the following languages:

Contributions

Our DEVELOPMENT.md file contains everything you need to know to configure your development environment.

Contributors

♥️🙏 To our pyproject.toml friends: FastAPI, Pydantic, Dramatiq, SQLAlchemy, Githubkit, sse-starlette, Uvicorn, httpx-oauth, jinja, blinker, pyjwt, Sentry + more
♥️🙏 To our package.json friends: Next.js, TanStack Query, tailwindcss, openapi-typescript-codegen, axios, radix-ui, cmdk, framer-motion + more
♥️🙏 To IPinfo that provides IP address data to help us geolocate customers during checkout.

License

Licensed under Apache License, Version 2.0.