Codelet

Credit and usage billing in a simple API

Drop-in usage-based billing layer for SaaS running on Stripe or Paddle.

Free until $1,000 monthly revenue · No credit card required

Any pricing model you can dream up, Codelet supports it

Graduated usage

$49/m + tiers

First 1M tokens at $0.001, next 9M at $0.0008.

Charge for high-volume usage.

Flat fee + metered

$99/m + overage

Includes 100k events, then $0.20 per 1k events.

Simple base plus growth pricing.

Prepaid credits

$100 credit pack

Buy credits upfront and decrement per action.

Control spending and access.

Seat + usage hybrid

$25 / seat + usage

Per-seat access plus token or API-call charges.

Add AI features to existing SaaS.

Commitment plan

$1,000 minimum

Monthly commit with lower usage rate above it.

Enterprise-style contracts.

Billing solution

Metering and rating with pricing flexibility your provider can't match

Stripe or Paddle handles checkout and money movement. Codelet owns the billing logic.

  • Hybrid pricing that matches your product

    Combine seats, usage, and prepaid credits without bending your provider's catalog.

  • Change pricing without a code update

    Edit plans, tiers, and credit packs in the dashboard. New rates go live without a redeploy.

  • Try new pricing for certain customers

    Offer a new plan or rate to a segment while everyone else stays on the current plan.

  • Simpler API, agent-ready setup

    A small set of endpoints for ingest, checkout, and balances. Let your coding agent build your integration.

Developer experience

A simple billing integration

Codelet's API abstracts away the complexity of Stripe's and Paddle's APIs. At the same time, giving your billing system more pricing options, pre-paid credits, metering and balances.

A smaller integration, but with more power and flexibility.

POST api.codelet.co/v1/ingest

{
  "customer_id": "cust_abc123",
  "metric": "api_request",
  "quantity": 4820,
  "idempotency_key": "req_7f3a..."
}

How it works

Keep your payment provider. Add flexible billing on top.

Codelet sits between your app and Stripe or Paddle, controlling pricing and spending. Meter usage, rate invoices, and change pricing without switching providers or rebuilding billing.

  1. Connect Stripe or Paddle

    Use the provider you already have for checkout and payouts. Codelet handles metering and rating on top.

  2. Set up pricing in the dashboard

    Create subscription plans and prepaid credits with a few clicks. Then add a checkout link to your app.

  3. Send usage events

    Your app sends usage events to Codelet with one API call per action.

  4. Change pricing, or providers, at any time

    Update plans and tiers in the dashboard, or switch between Stripe and Paddle, without rewriting billing logic.

App

Your product

usage events · balance checks

CL

Codelet

What your payment provider does not do

Usage ingest

POST /ingest

Metering

aggregate events

Rating

tiers · hybrids

Credits

prepaid packs

Balances

real-time gates

Ledgers

debit · credit

$

Stripe or Paddle

checkout · tax · payouts

Codelet sits between your app and your provider

Features

Complex billing logic, without the billing rebuild

The metering and rating layer that sits between your product and your payment provider.

Unlimited pricing models

Flat rate, tiered, volume, package, hybrid, and prepaid credits. Bill your customers precisely how you want to.

Iterate on pricing

Create and update plans, tiers, and credit packs in the dashboard. Your pricing strategy shouldn't need an engineering sprint.

Keep your payment provider

Codelet handles complex metering and rating. Stripe or Paddle handles checkout, tax, and money movement.

Real-time usage & revenue

Events and rated usage appear as they happen. See what's billable before month-end, and keep customer balances in sync for feature gating.

Developer-friendly

A single ingest endpoint, simple API, and sandbox environments. Ship billing without a sales call.

Metre what matters

Define metrics for any unit of value your product delivers, like actions, seats, credits, or outcomes, and bill customers on what they actually use.

Set up in an agent

Agent native

Point Cursor, Claude Code, Codex or another coding agent at Codelet's agent skill. It can sign you up, create a project, and mint a sandbox API key, so you're ready to start.

  • Create plans and credit packs

    Define metrics, graduated tiers, and prepaid packs in Codelet from a prompt. Avoid fiddly forms.

  • Wire a full app integration

    You agent can map customers, add checkouts, report customer usage, and gate features in your app.

Skill URL

https://codelet.co/SKILL.md

Starter prompt

Paste this into Cursor, Claude Code, or a similar coding agent.

Read https://codelet.co/SKILL.md. I don't have a Codelet account yet. Sign me up, create a project, and get a test API key.

Why Codelet

Operate in real time

Codelet is built for developers and teams that ship fast and learn from live usage.

Real-time visibility

See every event. Know what you're earning.

Usage events appear as they're ingested and rated against each customer's plan. Balances update in real time so you can gate features and see billable usage before the invoice closes.

Last 24 hours

12,847

events ingested

Rated usage

$1,284

billable this period

Live eventsevents
api_request4,820$4.82
tokens12,400$1.24
api_request890$0.09
webhook156$0.31

Iterate on pricing

Launch pricing today. Change it tomorrow.

Create plans, tiers, and credit packs in the dashboard. When you learn what works, update pricing without a code change or redeploy.

Plan editorPro API

Pricing model

Graduated usage

Tiers

0 – 1M units$0.001 / unit
1M+ units$0.0008 / unit
Save changesUpdated 3 min ago

New customers get the updated plan at checkout. Existing subscribers can be grandfathered or move to new pricing, no code changes needed.

Built in Europe. Hosted on EU infrastructure.

Codelet is EU-made and runs on EU-based infrastructure owned by an EU company. Not a US cloud with an EU toggle.

  • Based in the EU

  • Crafted in the EU

  • Hosted in the EU

Start metering in minutes

Connect Stripe or Paddle, define your metrics, and start ingesting events. No enterprise contract required.

Create free account