Products & Pricing Models
Relevant source files
The following files were used as context for generating this wiki page:
- clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts
- server/polar/organization_review/analyzer.py
- clients/apps/web/src/components/Landing/comparison/PolarLemonSqueezyPage.tsx
- clients/apps/web/src/components/Landing/comparison/PolarStripePage.tsx
- clients/apps/web/src/app/(main)/onboarding/validate-description/route.ts
- AGENTS.md
Polar provides a robust infrastructure for developers to monetize digital products, software, and SaaS. The system centers on the relationship between Products and Benefits, where products represent the purchasable entity and benefits represent the actual value or access granted to the customer upon purchase. Polar acts as a Merchant of Record (MoR), handling international sales taxes, VAT, and global compliance.
The platform supports a variety of pricing strategies including one-time purchases, recurring subscriptions, usage-based billing, and seat-based pricing. This flexibility allows businesses to scale from simple digital asset sales to complex enterprise SaaS models.
Sources: clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:50-55, clients/apps/web/src/components/Landing/comparison/PolarStripePage.tsx:162-175
Product Architecture
In the Polar ecosystem, Products and Benefits are decoupled to provide maximum flexibility. A Product acts as a container for pricing logic and billing cycles, while linking to one or more Benefits.
Core Components
- Products: Link a price and billing logic to benefits. They have a name, description (Markdown supported), and specific visibility settings.
- Benefits: The entitlements granted to customers. Supported types include license keys, file downloads, GitHub repository access, Discord server access, meter credits, and custom benefits.
- Meters: Used for usage-based billing to track events from the user's application and aggregate them into billable units.
Sources: clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:74-95, clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:121-125
Product Relationship Model
The following diagram illustrates how products bridge the gap between payment and delivery of value.
The diagram shows the relationship where an Organization owns multiple Products. Products are associated with one or more Prices and grant multiple Benefits. Pricing can optionally involve Meters for usage-based models.
Sources: clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:77-85, clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:121-135
Pricing Models
Polar supports several distinct pricing models to accommodate different business types.
Recurring Subscriptions
Subscriptions can be configured on monthly or yearly cycles. For software businesses, it is considered best practice to use a "Feature Flag" benefit to verify access within the application. If a user requires both monthly and yearly options, they are typically configured as two separate products.
Usage-Based Billing
This model allows charging based on the actual usage of an application. It relies on:
- Event Ingestion: Application events are sent to Polar.
- Meters: Define filters and aggregation functions (e.g.,
sumofcompletionTokens) to compute usage. - Metered Prices: Added to products to specify the amount per unit tracked by the meter.
Seat-Based Pricing
Used for team plans where each member is a paid seat. Polar supports three tiering models:
- Fixed price per seat: A single price applies to every seat.
- Volume discounts: The total seat count selects a specific price tier for all seats.
- Graduated: Seats are filled across tiers, with each seat charged based on the specific tier it falls into.
Sources: clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:133-145, clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:149-165
Pricing Configuration Comparison
| Feature | One-Time | Subscription | Usage-Based | Seat-Based |
|---|---|---|---|---|
| Interval | N/A | Monthly/Yearly | Recurring | Typically Recurring |
| Logic | Fixed / PWYW | Recurring Tiers | Metered Units | Tiered Seats |
| Primary Use | Digital Assets | SaaS Access | API/Compute | Team Software |
| Trial Support | No | Yes | Yes | Yes |
AI-Assisted Configuration Flow
Polar utilizes AI agents to help users configure their products through a conversational interface. This system uses a routing logic to determine if a user's request is relevant, if it requires manual setup (e.g., for unsupported benefit types), or if it can be handled via tools.
The flow shows how incoming messages are analyzed by a router to determine the best path for product configuration, either through direct tool execution or by redirecting to manual forms.
Sources: clients/apps/web/src/app/(main)/dashboard/[organization]/(header)/products/new/ai/chat/route.ts:315-365
Compliance and Policy Validation
As a Merchant of Record, Polar performs rigorous automated and manual reviews of product descriptions and organizations to ensure compliance with the Acceptable Use Policy (AUP).
Automated Analysis Dimensions
The ReviewAnalyzer assesses organizations based on five dimensions:
- Policy Compliance: Evaluates if the products comply with the AUP (e.g., prohibiting firearms, adult content, or license key resellers).
- Product Legitimacy: Cross-references listed products with the organization's website.
- Identity & Trust: Checks identity verification status and social presence.
- Financial Risk: Analyzes refund rates and chargeback history (once volume exceeds 10 payments).
- Setup Readiness: Verifies if checkout links have benefits attached or if API/Webhooks are configured.
Sources: server/polar/organization_review/analyzer.py:44-95, clients/apps/web/src/app/(main)/onboarding/validate-description/route.ts:114-125
Decision Framework for Product Onboarding
| Verdict | Criteria | Action |
|---|---|---|
| APPROVE | Standard digital products (SaaS, E-books, Templates) | Product goes live immediately |
| CLARIFY | Ambiguous descriptions (e.g., "for kids" or financial tools) | Agent asks a single clarifying question |
| DENY | Prohibited items (MLM, Firearms, Gambling) | Review is escalated or rejected |
Sources: clients/apps/web/src/app/(main)/onboarding/validate-description/route.ts:98-112
Implementation for Developers
The backend follows a modular structure where business logic is encapsulated in service classes and data access is handled via repositories.
- Repository Layer: Methods prefer domain objects over IDs. For example, updating a product should accept the product instance and return the updated version.
- Service Layer: Handles exceptions with specific HTTP codes (e.g., 409 for conflicts, 422 for validation).
- Models: SQLAlchemy models are defined globally in
server/polar/modelsbut managed within specific modules.
Sources: AGENTS.md:79-105
Summary
Polar's Product and Pricing system is designed to remove the administrative burden of global commerce from developers. By combining flexible pricing models (Subscriptions, Usage, Seats) with an automated Benefit engine and Merchant of Record status, it allows businesses to implement complex monetization strategies with minimal code. The integration of AI for onboarding and automated compliance analyzers ensures that the ecosystem remains secure and compliant while maintaining a low-friction experience for legitimate sellers.