Monetize your software

Turn your software into a business with 6 lines of code

Payments, Usage & Billing

Create digital products and SaaS billing with flexible pricing models and seamless payment processing.

Subscriptions
Usage Billing
Benefits
Customer Portal
Checkout Links
Metrics

Activity

Profit-$52.13

OpenAI Inference

$0.240

Anthropic Inference

$0.150

Order Paid

$25

Storage Upload

$0.330

Anthropic Inference

$0.280

OpenAI Inference

$0.240

Anthropic Inference

$0.150

Subscription Upgrade

$10

Storage Upload

$0.330

Anthropic Inference

$0.210

OpenAI Inference

$0.290

Anthropic Inference

$0.520

OpenAI Inference

$0.780

Trial Started

Customer Acquired

$50

Next.js Adapter

Payments and Checkouts made dead simple with Next.js

  • Secure & Simple Checkouts

  • Integrated Customer Portal

  • Granular & Reliable Webhook Handler

  • Global Merchant of Record

import { Checkout } from "@polar-sh/nextjs";

export const GET = Checkout({
  accessToken: 'xxx'
});

LLM Strategy

Capture your Customer's LLM Usage & bill them for it

  • Automatic Token Consumption Ingestion

  • Prompt & Completion Tokens

  • Vercel AI SDK Support

import { Ingestion } from "@polar-sh/ingestion";
import { LLMStrategy } from "@polar-sh/ingestion/strategies/LLM";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const llmIngestion = Ingestion({ accessToken: 'xxx' })
  .strategy(new LLMStrategy(openai("gpt-4o")))
  .ingest("openai-usage");

export async function POST(req: Request) {
  const { prompt }: { prompt: string } = await req.json();

  const model = llmIngestion.client({
    externalCustomerId: "<USER_ID_FROM_YOUR_DATABASE>",
  });

  const { text } = await generateText({
    model,
    system: "You are a helpful assistant.",
    prompt,
  });

  return Response.json({ text });
}

The speed at which Polar is executing on the financial infrastructure primitives the new world needs is very impressive

Guillermo Rauch
Guillermo RauchCEO & Founder of Vercel
Seed Investment

Announcing our $10M Seed Round

Automated Product Benefits

Configure automated benefits which are granted to customers when they purchase your products.

License Keys
Testimonials

Why people love Polar

Guillermo Rauch

The speed at which Polar is executing on the financial infrastructure primitives the new world needs is very impressive

Guillermo Rauch
Vercel
Steven Tey

Open source + great DX + responsive support always wins.

If you're selling stuff online and haven't tried @polar_sh yet — 100% recommend doing so!

Steven Tey
Dub
Mitchell Hashimoto

I've joined Polar as an advisor!

I think it benefits everyone for devs to have more options to get paid to work on their passions, to support upstreams, and for users to have more confidence/transparency in the software they're supporting/purchasing.

Mitchell Hashimoto
Ghostty
Samuel Colvin

Amazing! Really excited to seeing how this turns out.

Polar is the cutting edge of how open source might be financed in the future.

Samuel Colvin
Pydantic
Morgan Linton

Huge congrats to Polar, love what this team is doing. Three person team, executing like crazy.

Building the perfect solution at the perfect time in history.

There has never been a better time to build software, and now, there has never been an easier way to charge for the software you build.

Morgan Linton
Bold Metrics
Lee Black

I switched to @polar_sh a few weeks back. Best decision ever.

Lee Black
1042 Studio
Alex Bass

We switched to @polar_sh because of their killer API, UX, and product. Also love that it's Open-Source. Their team cares A LOT as well. Worth the minor fee difference.

Alex Bass
Efficient
Pontus Abrahamsson

You can tell @polar_sh is building DX first

Pontus Abrahamsson
Midday
Suhas

man, @polar_sh has one of the BEST onboardings I've seen for a payment provider.

Took me less than 20 minutes while some others took literally weeks

Suhas
Cubix

Competitive Pricing

Polar is proud to be the cheapest Merchant of Record on the market.

  • 4% + 40¢ per transaction

  • No hidden fees

  • Global Merchant of Record

  • Negotiated Volume Discounts

FeaturePolarStripe
Payment Processing
Subscription Management
Merchant of Record
Global Tax Compliance
Framework Adapters
Payments in 6 lines of code
Flexible Usage Billing