polarsource/polar

GitHub: polarsource/polar

Polar 是一个专为 AI 时代打造的计费与变现平台,帮助开发者快速实现按量、订阅等多种定价模型的收费。

Stars: 10135 | Forks: 754

Polar - 面向开发者的开源变现平台 | Product Hunt Polar - 面向开发者的开源变现平台 | Product Hunt

官网   •   文档   •   API 参考

Follow @polar_sh


## Polar:面向智能时代的计费平台 将使用量转化为收入。Polar 是新一代智能软件的金融层,专为需要为 token、agent 和计算收费但又不想从零开始构建计费基础设施的 AI 初创公司而打造。 - **在一个下午即可发布任何定价模型。** 使用量计费、订阅、席位、积分、试用和折扣。可以根据您产品的收费方式进行自由组合。 - **计量关键指标。** 精确到事件级别计费 token、API 调用、agent 运行、GPU 秒数和存储。 - **高转化率的结账**、实时指标,以及为您处理全球税务。 - **我们是记录商户 (Merchant of Record)**,因此我们代表您承担计费的样板工作(收据、客户账户、催款)以及税务的麻烦(销售税、增值税)。 ### 专为 AI 工作负载打造 - **AI 补全:** 为任何模型封装计量的 token 计费,并在每次调用时生效。 - **自主 agent:** 按运行收费,具有步骤级别的粒度,支持重试且不会重复计费。 - **GPU 与计算:** 按秒计费微调、托管推理和训练运行。 ## 定价 - **Starter**(免费):每笔交易 5.00% + 50 美分 - **Pro:** 每笔交易 3.80% + 40 美分 - **Growth:** 每笔交易 3.60% + 35 美分 - **Scale:** 每笔交易 3.40% + 30 美分 - 符合条件的初创公司可以申请 [初创公司计划](https://polar.sh/startup-program),免费使用一年我们最慷慨的套餐 - 可能会产生额外费用。[了解更多](https://polar.sh/docs/documentation/polar-as-merchant-of-record/fees) ## 路线图、问题与功能请求 **💬 功能请求和 bug** 可以通过 Polar 仪表板左下角侧边栏中的“反馈”按钮进行报告。 **🔓 发现安全漏洞?** 我们非常感谢负责任和私密的披露。请参阅 [安全](./SECURITY.md) ### Polar API 与 SDK 您可以使用我们的 [公开 API](https://polar.sh/docs/api-reference) 和 [Webhook API](https://polar.sh/docs/integrate/webhooks/endpoints) 将 Polar 集成到您的文档、网站或服务中。 我们还维护以下语言的 SDK: - JavaScript (Node.js 和浏览器):[polarsource/polar-js](https://github.com/polarsource/polar-js) - Python:[polarsource/polar-python](https://github.com/polarsource/polar-python) ### 贡献者 ♥️🙏 致敬我们的 `pyproject.toml` 朋友:[FastAPI](https://github.com/tiangolo/fastapi)、[Pydantic](https://github.com/pydantic/pydantic)、[Dramatiq](https://github.com/Bogdanp/dramatiq)、[SQLAlchemy](https://github.com/sqlalchemy/sqlalchemy)、[Githubkit](https://github.com/yanyongyu/githubkit)、[sse-starlette](https://github.com/sysid/sse-starlette)、[Uvicorn](https://github.com/encode/uvicorn)、[httpx-oauth](https://github.com/frankie567/httpx-oauth)、[jinja](https://github.com/pallets/jinja)、[blinker](https://github.com/pallets-eco/blinker)、[pyjwt](https://github.com/jpadilla/pyjwt)、[Sentry](https://github.com/getsentry/sentry) 等
♥️🙏 致敬我们的 `package.json` 朋友:[Next.js](https://github.com/vercel/next.js/)、[TanStack Query](https://github.com/TanStack/query)、[tailwindcss](https://github.com/tailwindlabs/tailwindcss)、[openapi-typescript-codegen](https://github.com/ferdikoomen/openapi-typescript-codegen)、[axios](https://github.com/axios/axios)、[radix-ui](https://github.com/radix-ui/primitives)、[cmdk](https://github.com/pacocoursey/cmdk)、[framer-motion](https://github.com/framer/motion) 等
♥️🙏 致敬 [IPinfo](https://ipinfo.io),它提供的 IP 地址数据帮助我们在结账时对客户进行地理定位。 ## 许可证 基于 [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) 授权。
标签:AI商业化, SaaS, 支付, 用量计费, 计费平台, 订阅管理, 逆向工具