Graduated usage
$49/m + tiers
First 1M tokens at $0.001, next 9M at $0.0008.
Charge for high-volume usage.
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
Stripe or Paddle handles checkout and money movement. Codelet owns the billing logic.
Combine seats, usage, and prepaid credits without bending your provider's catalog.
Edit plans, tiers, and credit packs in the dashboard. New rates go live without a redeploy.
Offer a new plan or rate to a segment while everyone else stays on the current plan.
A small set of endpoints for ingest, checkout, and balances. Let your coding agent build your integration.
Developer experience
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..."
}POST api.codelet.co/v1/checkout
{
"plan_id": "plan_pro",
"customer_email": "buyer@example.com",
"success_url": "https://app.example.com/welcome"
}POST api.codelet.co/v1/checkout
{
"pack_id": "pack_abc",
"customer_id": "cus_31da..."
}GET api.codelet.co/v1/customers/cust_abc123/balance?metric=api_request
{
"balances": [
{
"metric": "api_request",
"included_remaining": "73",
"purchased_remaining": "412",
"total_available": "485"
}
]
}await codelet.ingest({
customer_id: "cust_abc123",
metric: "api_request",
quantity: "4820",
idempotency_key: "req_7f3a...",
});const checkout = await codelet.checkout.createCheckout({
plan_id: "plan_pro",
customer_email: "buyer@example.com",
success_url: "https://app.example.com/welcome",
});const checkout = await codelet.checkout.createCheckout({
pack_id: "pack_abc",
customer_id: "cus_31da...",
});const balances = await codelet.customers.getCustomerBalance(
"cust_abc123",
{ metric: "api_request" },
);$codelet->ingest(
(new IngestEventRequest())
->setCustomerId('cust_abc123')
->setMetric('api_request')
->setQuantity('4820')
->setIdempotencyKey('req_7f3a...')
);$checkout = $codelet->checkout->createCheckout(
(new CreateCheckoutRequest())
->setPlanId('plan_pro')
->setCustomerEmail('buyer@example.com')
->setSuccessUrl('https://app.example.com/welcome')
);$checkout = $codelet->checkout->createCheckout(
(new CreateCheckoutRequest())
->setPackId('pack_abc')
->setCustomerId('cus_31da...')
);$balances = $codelet->customers->getCustomerBalance(
'cust_abc123',
'api_request'
);codelet.ingest({
"customer_id": "cust_abc123",
"metric": "api_request",
"quantity": "4820",
"idempotency_key": "req_7f3a...",
})checkout = codelet.checkout.create_checkout(
CreateCheckoutRequest(
plan_id="plan_pro",
customer_email="buyer@example.com",
success_url="https://app.example.com/welcome",
)
)checkout = codelet.checkout.create_checkout(
CreateCheckoutRequest(
pack_id="pack_abc",
customer_id="cus_31da...",
)
)balances = codelet.customers.get_customer_balance(
"cust_abc123",
metric="api_request",
)How it works
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.
Use the provider you already have for checkout and payouts. Codelet handles metering and rating on top.
Create subscription plans and prepaid credits with a few clicks. Then add a checkout link to your app.
Your app sends usage events to Codelet with one API call per action.
Update plans and tiers in the dashboard, or switch between Stripe and Paddle, without rewriting billing logic.
Your product
usage events · balance checks
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
Features
The metering and rating layer that sits between your product and your payment provider.
Flat rate, tiered, volume, package, hybrid, and prepaid credits. Bill your customers precisely how you want to.
Create and update plans, tiers, and credit packs in the dashboard. Your pricing strategy shouldn't need an engineering sprint.
Codelet handles complex metering and rating. Stripe or Paddle handles checkout, tax, and money movement.
Events and rated usage appear as they happen. See what's billable before month-end, and keep customer balances in sync for feature gating.
A single ingest endpoint, simple API, and sandbox environments. Ship billing without a sales call.
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
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.
Define metrics, graduated tiers, and prepaid packs in Codelet from a prompt. Avoid fiddly forms.
You agent can map customers, add checkouts, report customer usage, and gate features in your app.
Skill URL
https://codelet.co/SKILL.mdStarter 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
Codelet is built for developers and teams that ship fast and learn from live usage.
Real-time visibility
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
Iterate on pricing
Create plans, tiers, and credit packs in the dashboard. When you learn what works, update pricing without a code change or redeploy.
Pricing model
Graduated usage
Tiers
New customers get the updated plan at checkout. Existing subscribers can be grandfathered or move to new pricing, no code changes needed.
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
Connect Stripe or Paddle, define your metrics, and start ingesting events. No enterprise contract required.
Create free account