## File: README.md

<hr />

<hr />

## 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](https://polar.sh/startup-program) for a year on our most generous plan
- Additional fees may apply. [Read more](https://polar.sh/docs/documentation/polar-as-merchant-of-record/fees)

## 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](./SECURITY.md)

### Polar API & SDK

You can integrate Polar on your docs, sites or services using our [Public API](https://polar.sh/docs/api-reference) and [Webhook API](https://polar.sh/docs/integrate/webhooks/endpoints).

We also maintain SDKs for the following languages:

- JavaScript (Node.js and browsers): [polarsource/polar-js](https://github.com/polarsource/polar-js)
- Python: [polarsource/polar-python](https://github.com/polarsource/polar-python)

## Contributions

Our [`DEVELOPMENT.md`](./DEVELOPMENT.md) file contains everything you need to know to configure your development environment.

### Contributors

<a href="https://github.com/polarsource/polar/graphs/contributors">
  
</a>

<sub>♥️🙏 To our `pyproject.toml` friends: [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) + more</sub>
<sub>♥️🙏 To our `package.json` friends: [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) + more</sub>
<sub>♥️🙏 To [IPinfo](https://ipinfo.io) that provides IP address data to help us geolocate customers during checkout.</sub>

## License

Licensed under [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).

---

## File: docs/README.md

# Polar docs

Using Mintlify.

**Core concepts**

- `docs.json` contains [navigation](https://mintlify.com/docs/navigation/overview), [redirects](https://mintlify.com/docs/settings/broken-links) and core settings

## Development

**Installation**

```bash
pnpm install
```

**Development Server**

```bash
pnpm dev
```