SDKOpen source, zero dependencies

Every market.Its own price.

Set the lowest and highest price you would accept. Leverprice tests prices in that range on real visitors and finds the one that earns you the most.

  • No payment keys
  • No third-party JavaScript
  • Falls back to your price
Example Leverprice experiment for a Pro plan sold at $29 a month. Leverprice tests $24, $29, $34 and $39 on real visitors. After 14 days, $34 earns 8.1% more revenue per visitor and is 95% likely to be the best price, so it can be locked in for everyone with one click.

Works with the checkout you already have

  • Stripe
  • Polar
  • Lemon Squeezy
  • Dodo Payments

Your price is a guess. Test it on the people who pay.

Most founders pick a price once and never touch it again. Leverprice shows each visitor one price from your range, learns from purchases your payment provider confirms, and moves traffic to the price that earns the most per visitor. You keep your checkout, your keys and the final say.

500 ms
The longest a visitor waits before getting your normal price.
0 kB
Of Leverprice JavaScript in your visitors' browsers.
95%
How likely a price must be to be best before we call it.
~1 s
From one click on Lock in to every visitor seeing the new price.

How it works

Three steps from a guess to a price.

  1. 01

    Set your range

    Tell us what you charge today and the lowest and highest price you would accept. Nothing outside that range is ever shown.

  2. 02

    Real visitors decide

    Each visitor sees one price and keeps it. Purchases your provider confirms feed Thompson sampling, which moves traffic to the price that earns the most per visitor.

  3. 03

    Lock it in

    When one price is 95% likely to be best, one click makes it everyone's price. It takes effect in about a second.

Security

Your checkout stays yours.

Leverprice never touches your payment keys, never loads in your visitors' browsers and always falls back to your price. Read the security model

  • Live in one prompt

    Your dashboard writes the integration prompt. Your agent wires Leverprice into your codebase and your checkout keeps working the way it does today.

  • No payment keys

    Your server creates checkouts with your own keys. A signing secret can confirm events but cannot move money.

  • Falls back to your price

    If Leverprice is slow or down, visitors get your normal price within 500 ms. Nothing throws.

  • Signed prices

    Every config is signed through an offline root key. The SDK rejects anything it cannot verify.

  • Nothing in the browser

    Prices are computed on your server. Nothing from Leverprice loads in your visitors' browsers.

  • Revenue your provider confirms

    Point your provider's signed webhooks at Leverprice. From then on it learns only from purchases your provider confirms, so a faked event cannot move your price.

  • One price for crawlers

    Search engines and link previews always get your standard price and never join a test.

For developers

Two calls in your code.

Your dashboard writes the integration prompt for Claude Code, Codex or Cursor, and your agent wires it in. Or do it by hand in a few minutes.

  1. 1Install the SDKOpen source, zero dependencies. Node, Bun, Deno, Workers and edge functions.
  2. 2Ask for a priceWhere the price is shown and where the checkout is created. The browser never sends a price.
  3. 3Verify revenuePoint your provider's signed webhooks at Leverprice. No API keys, no extra code.
Read the docs
Terminal
npm install @pricepilot/sdk
checkout.ts
import { Leverprice } from "@pricepilot/sdk";

const leverprice = new Leverprice({
  secretKey: process.env.LEVERPRICE_SECRET_KEY,
  products: {
    // Local guardrails: nothing outside them is returned.
    pro: {
      currency: "usd",
      fallbackPrice: 2900,
      minPrice: 1900,
      maxPrice: 4900,
    },
  },
});

// Where the price is shown, and again at checkout.
const quote = await leverprice.getPrice("pro", { request });

await stripe.checkout.sessions.create({
  line_items: [{ quantity: 1, price_data: {
    currency: quote.currency,
    unit_amount: quote.price,
    product_data: { name: "Pro" },
  } }],
  metadata: quote.metadata, // signed attribution
  mode: "payment", success_url, cancel_url,
});

Pricing

Free to test. Pro to let it run.

Free: you test prices yourself. Pro: Leverprice finds the best price for you.

Billing period
  • Free

    Test prices yourself.

    $0forever

    • Manual A/B split
    • 1 product, 1 experiment
    • Up to $500/mo in tested revenue
    • Stripe, Polar, Lemon Squeezy, Dodo
  • Lifetime

    Pro forever. Only 50 spots.

    $299once

    • Everything in Pro, forever

    50 of 50 left

  • Your payment keys never leave your server.
  • If we go down, your normal price shows.
  • Free forever, no card required.

Questions, answered.

How does Leverprice choose a price?

You set a range. We pick a few prices inside it and show each visitor one of them. As purchases come in, Thompson sampling moves more traffic to the price that earns the most per visitor. We call a winner once it is 95% likely to be best, or when the remaining prices are practically a tie.

Do you need my Stripe, Polar or Lemon Squeezy API keys?

No. Your server creates checkouts with your own keys, exactly as it does today. To verify revenue you connect your provider's webhook signing secret, which can confirm events but cannot move money.

What happens if Leverprice is slow or down?

Visitors see your normal price. The SDK waits at most 500 ms for a signed config, then falls back to the price you set in code. It never throws because of us, and LEVERPRICE_DISABLED=1 switches everything off without a network call.

Will a visitor see the price change on reload?

No. Each visitor keeps the same price through a signed cookie, and signed-in users keep it across devices. Search engines and link previews always see your standard price.

Do I need to add JavaScript to my site?

No. Prices are computed on your server with our open-source SDK. Nothing from Leverprice loads in your visitors' browsers.

How long until I get a result?

It depends on your traffic and how different the prices perform. The dashboard shows how many more visitors a decision will likely take, clearly labeled as an estimate.

Your price is a hypothesis.

Test it on real visitors. Start free, and let Leverprice take over when you are ready.