polar README

The project's README from github.com/polarsource/polar. As one markdown file: README.md.

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.

Built for AI workloads

Pricing

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.

polar (polarsource/polar)

Searching Database…

10.4K ·GitHub
这是什么?Polar 是一个面向 AI 软件的计费平台:它把使用量——token、agent 运行次数、GPU 秒数——变成收入,让 AI 创业公司不必从零搭建计费系统就能对自己的产品收费。
Polar 是托管服务,还是需要我自己部署?它是一个托管平台——你会有一个控制台、托管的结账页面和公开 API。这个仓库是平台本身的源代码;DEVELOPMENT.md 说明了如何配置本地开发环境。
我该怎么把它接入自己的产品?通过 Public API 和 Webhook API 接入,官方为 JavaScript(Node.js 和浏览器)和 Python 提供 SDK:polarsource/polar-js 和 polarsource/polar-python。
定价方面有什么要注意的地方吗?列出的费率并不是全部——README 提到,在按交易计费的基础上可能还会产生额外费用。
代码是开源的吗?是的——整个平台都在 Apache License 2.0 协议下公开开发。
作为记录商户(merchant of record),实际能替我省掉哪些事?Polar 充当记录商户:它会处理收据、客户账户和催款,还有全球销售税和增值税,这些计费上的杂事就不会落到你的代码库里了。
我可以按哪些定价模式向用户收费?按用量计费、订阅、按席位、积分、试用和折扣,每个产品都可以自由组合——而且计量精确到每一个事件,无论你按 token、API 调用、agent 运行次数、GPU 秒数还是存储量收费。
Polar 收费多少?按交易收费:免费的 Starter 套餐为 5% + 50 美分,Pro 为 3.80% + 40 美分,Growth 为 3.60% + 35 美分,Scale 为 3.40% + 30 美分。符合条件的创业公司可以申请 Startup Program,在最优惠的套餐上免费用一年。
除了计费引擎,它还附带什么?为提高转化而设计的托管结账页面、实时指标,以及结账时的客户地理定位——Polar 使用 IPinfo 的数据在支付过程中定位客户所在地区。
Size
544.5 MB
Stars
10.4K
Age
3y
Commits · 90 Days