Goes live November 11, 2031

It appears on the home page and opens for votes when its launch week starts.

CreditKit

CreditKit

Paywalls that make AI apps profitable

FreeCodeAPIPayments1 impressionslaunches Nov 111 comment

Comments

>log in to comment
  • Daniel Chin[maker]· 4d ago

    I built CreditKit to let AI developers add a credit‑based paywall in minutes, handling pricing, refunds and Stripe payouts without custom ledger code. It tracks margins per action so you can see which features lose money. How do you currently manage usage limits and billing for your AI endpoints?

CreditKit is a drop-in credit ledger and Stripe paywall layer built for AI and API-heavy apps. Rolling your own `credits` integer column on top of Stripe breaks fast under real traffic: upstream LLM timeouts charge users for failed runs, parallel clicks race past balance checks, mixed free/rollover/top-up lots burn in the wrong order, and partial Stripe refunds leave free credits behind. CreditKit handles all of it with one server call and one script tag: - Two-phase crash-proof holds (`withCrashProofHold`): reserves credits up front under a row-level Postgres lock, settles exact usage (or token/second cost) on success, and auto-refunds if your AI call throws or crashes. - Strict FIFO lot ledger: mix daily free credits, monthly rollover plans (with 2x caps), and permanent top-up packs — soonest-expiring lots always burn first. - Per-action margin alerts: enter your LLM/API cost per run and see immediately which features make or lose money before launch. - Your own Stripe account (Direct Charges): buyers pay straight to your Stripe account, with automatic proportional refund clawbacks and chargeback freezes. - Agent-native setup: hosted OAuth 2.1 MCP server (`https://mcp.creditkit.dev`) on the Official MCP Registry for Cursor, Claude Code, Codex, and Gemini CLI — plus TypeScript SDKs (`@creditkit/node`, `@creditkit/react`) and a REST API for any stack. Pricing: \$0/mo + 3% only when users buy (Starter), \$29/mo + 2% (Builder), \$99/mo + 1% (Studio). Test Mode is free forever with no card required. Open-source Next.js starter: https://github.com/creditkit-dev/nextjs-stripe-credit-wallet-starter

More Code tools →80 free dev tools →

Looking for MCP servers to install? MCP servers list: 289 servers by category, official and community →

CreditKit adds a credit ledger and Stripe paywall to AI and API apps, handling holds, refunds and margin tracking.

for
Developers of AI-driven web or mobile apps that need usage-based billing.
pricing
freemium · free trial
works withStripeReactExpoSwift

Key features

8 features of CreditKit
  • Two-phase crash-proof holds — Reserves credits with a row-level lock, settles exact usage on success and auto-refunds on failures.
  • FIFO lot ledger — Mixes free daily credits, rollover plans and permanent packs, burning the soonest-expiring lot first.
  • Per-action margin alerts — Shows profit or loss per AI call before launch based on your cost settings.
  • Direct Stripe Connect — Payments go straight to your Stripe account; CreditKit never holds the money.
  • Agent-native setup — One-click integration via MCP for Cursor, Claude Code, Codex, Gemini and SDKs for Node/React.
  • Web & mobile checkout — Hosted checkout works on web, Expo, React Native and Swift apps.
  • Free-credit abuse limits — Daily caps and signed-in trials prevent bots from draining your API bill.
  • Dashboard & API — View balances, history and adjust credits per user via UI or REST API.

Use cases

  • Charge per-call credits for chat or image generation and automatically refund failed runs.
  • Sell one-time micro-packs or subscription plans with rollover credits.
  • Track profit margins per AI action to price credits appropriately.
  • Prevent bots from exhausting free credits with daily caps and trials.

CreditKit pricing

  • Starter$03% fee on purchases · 2 projects, 1 teammate · Free credits with abuse limits · Paywall & checkout
  • Builder$29/month2% fee on purchases · 5 projects, 3 teammates · Remove CreditKit badge · 25 promo codes
  • Studio$99/month1% fee on purchases · 20 projects, 10 teammates · 100 promo codes · Lowest fee

CreditKit vs alternatives

CreditKitAutumnPolarLagoStigg
Best forCrash-proof credit paywalls for AI servicesAI startup billingSelf-hosted billingUsage-based cloud billingAI usage runtime
PricingFreemiumSubscriptionSubscriptionSubscriptionSubscription
DevHunt upvotes10000
LaunchedNov 2031————
  • CreditKit vs Autumn: Autumn provides drop-in billing for AI startups but focuses on subscription plans rather than credit-based paywalls.
  • CreditKit vs Polar: Polar is an open-source payments and billing platform, requiring self-hosting, while CreditKit is a hosted service with Stripe integration.
  • CreditKit vs Lago: Lago offers cloud billing for usage and subscriptions, whereas CreditKit specializes in credit ledgers and crash-proof holds for AI calls.
  • CreditKit vs Stigg: Stigg provides a usage runtime for AI products but does not include the built-in credit ledger and automatic refund logic of CreditKit.

CreditKit FAQ

Do I need a Stripe account to start?+

No. You can begin in Test Mode with simulated purchases and connect Stripe later.

What happens if an AI call fails or times out?+

The hold auto-refunds the exact credits, preventing double-charges and ensuring idempotency.

Where does the money go?+

Payments go directly to your Stripe account via Standard Stripe Connect; CreditKit never holds funds.

Can CreditKit be used in iOS and Android apps?+

Yes, the checkout page can be opened from mobile apps and returns after purchase.

What fees does CreditKit charge on top of Stripe?+

A usage-based fee: 3% on Starter, 2% on Builder ($29/mo) and 1% on Studio ($99/mo), plus Stripe’s own fees.

Summarized by DevHunt from creditkit.dev · Nov 27, 2026. Details may change; check the official site.