For SaaS, AI and Edtech
Usage billing for AI and SaaS, built to grow.
Seats, subscriptions, usage and prepaid credit in one place, on more than one processor, with Merchant of Record for verified customers. Set tiered, volume or stair-step prices in the dashboard and send usage through the API.
Northwind AI
Invoice INV-2026-1184 · Renewal 1 Dec
Team plan
Monthly
$290.00
Seats
12 × $15.00
$180.00
API calls
48,200 used, 10,000 included
$76.40
Prepaid credit applied
−$20.00
Total due
$526.40
API calls · November
82% used82,140 of 100,000
Prepaid credit
$20.00 left
Past the allowance
Charge for it
- usage:threshold_reached · 50%3 Nov 14:02
- usage:threshold_reached · 80%9 Nov 08:47
In short
Comecero is usage-based billing and payments for SaaS and AI companies. It bills seats, plans, metered usage and prepaid credit on one invoice, and collects it with checkout failover, payday-aware renewal retries and fraud rules before the charge.
Updated
- Seats
- Subscriptions
- API calls
- Tokens
- Minutes
- Prepaid credit
- Peak usage
- One-off invoices
If you can count it on your server, you can bill for it.
Why usage
Flat plans break when every request costs you money.
When each prompt, call or minute has a real cost, your heaviest users can turn into your least profitable ones. Usage-based billing ties what a customer pays to what they use, so revenue grows with the work your product does. Keep a monthly plan for predictability and bill usage on top.
- Plan plus usage on one bill
- An included allowance per plan
- Seats billed by quantity
Flat plan
Light user
Heavy user
Heavy users cost more than they pay
Plan plus usage
Light user
Heavy user
Pay grows with use
Pricing
Every way to charge, set in the dashboard.
Pick a metric, choose how it is charged and set an allowance. No code and no deploy. Count usage as a total, for calls, tokens and minutes, or as the highest level reached, for things like peak seats. Check a bill shows what a period would cost, step by step.
- Per unit, per package, tiered, volume and stair-step
- Prices to 6 decimals
- Price versions fixed once saved
Price · API calls
SampleEach tier of usage at its own price.
- First 10,000 included
- Up to 100,000 at 0.002
- Then 0.001
130,000
Usage API
Send usage from your server. Each event counts once.
Post events to the usage meter in batches of up to 1,000 with a usage key. Each event gets its own answer, and an event you resend is not counted twice, so a retry after a timeout is safe. Usage up to 30 days late still lands on the right billing period.
- One route: POST /v1/events
- Live and test keys
- No card or personal data accepted
send-usage.http
POST https://usage.comecero.com/v1/events
Authorization: Bearer apk_live_...
{
"events": [{
"operation_id": "req_7Hk2p9",
"external_customer_id": "cust_8412",
"metric_key": "ai_tokens",
"quantity": "1250"
}]
}200 · Answer
{
"counted": 1,
"duplicate": 0,
"results": [{
"operation_id": "req_7Hk2p9",
"status": "counted"
}]
}Credit and limits
Prepaid credit pays first. You decide what happens next.
Sell credit packs and top-ups, or grant credit after an outage. Usage uses the plan's allowance, then credit, and only the rest is charged. Set each plan to charge for usage past the allowance or to stop at a hard limit. Your app gets a webhook at 50%, 80% and 100% of the allowance.
- Charge for overage or stop at a hard limit
- usage:threshold_reached webhook
- Usage so far, for your own in-app meter
Prepaid credit · cust_8412
Sample$20.00 left
- 1 NovCredit pack bought+$100.00
- 6 NovGranted after an outage+$10.00
- 30 NovUsage past the allowance−$90.00
Order used when usage is billed
- Allowance
- Credit
- Charged
When credit and allowance run out
Stop at hard limitInvoices
Plan, seats and usage on one invoice.
Usage goes on the subscription's renewal invoice, next to the plan and its seats. If it cannot go there, it goes on a separate usage invoice, and unusually large bills are held for you to review. For sales-led deals, schools and teams that pay by invoice, send an invoice with a payment link.
- Prorated upgrades and downgrades
- Invoices with a pay link and PDF
- Your own email and PDF templates
Invoice INV-2026-1191 from Brightpath Learning
Due 15 DecAmount due
$4,800.00
Classroom plan, 40 seats, Spring term
Secure payment · Download PDF
Get paid
Billing is half the job.
Getting paid is the other half.
Billing-only tools stop at the invoice. Comecero also wins back the payments that fail.
Checkout · Visa •••• 4242
Paid$64.00
Sent on to your second gateway
A second gateway for new card payments
When one of your gateways declines a new card at checkout, Comecero sends it to the next one.
Renewal · Refill box
Recovered$42.00
Mon
Tue
Wed
Thu
Fri
Retries timed for payday, on the schedule you set
Renewal retries that lean toward payday
A failed renewal gets a grace period and retries on your schedule, nudged to Friday.
Order #1044 · $129.00
- Block list
- Blocked countries
- IP and billing countryIP in Vietnam
- Try limits
Fraud rules before the charge
Block lists, country rules, IP and billing checks and try limits stop card testing on free trials.
Developers
A full REST API, webhooks, and docs your AI assistant can read.
Every part of billing has an API and a webhook. Connect Claude, Cursor, VS Code or ChatGPT to the docs MCP server, and your assistant can search the guides and look up the exact fields of every endpoint while it writes your integration. Every docs page is also plain Markdown.
- Full test mode
- OpenAPI 3.1 reference
- Docs MCP server and llms.txt
Terminal
$ claude mcp add --transport http comecero-docs https://docs.comecero.com/mcp ✓ Added comecero-docs
How do I send token usage to Comecero?
Post a batch to POST /v1/events with a usage key. Give each event an operation_id, so a resend is counted once.
Source: docs.comecero.com · Usage meter API
- REST API
- Webhooks
- OpenAPI 3.1
- Docs MCP
- llms.txt
Your data
Ask your billing data from your AI app.
Connect your own Claude to your reports and ask about sales, MRR, churn, sources and usage in plain words. The connection can only read, and only your own account. It never sees customer names, emails or card details. The same numbers are in the Reports API.
- Read-only, your account only
- Sales, MRR, churn and usage
- Reports API for your own tools
Your AI app
Comecero connectedWhich traffic source made the most revenue last week?
comecero · revenue_by_source
Email led with $18,420 from 312 orders, 66% more than paid social.
Compare
Where does Comecero fit?
Next to the tools you are looking at.
Billing-only tools still need a processor, and a processor alone still loses declined cards. Comecero does both parts.
| Job | Stripe Billingwith Metronome | PaddleMerchant of Record | Billing-only toolsOrb, Lago, Flexprice | Comecerobilling and payments |
|---|---|---|---|---|
| Usage-based billing today | Yes, Metronome for complex contracts | Waitlist | Yes, their core strength | Yes, on request per account |
| Prepaid credit that pays first | Yes | Not yet native | Yes | Yes |
| Seats, plan and usage on one invoice | Yes | Seats and plans | Yes | Yes |
| Processes the payment | Stripe | Yes | No, add a processor | Your gateways or Express |
| Second gateway when a new card is declined | Stripe only | No | Depends on your processor | Yes, on your own gateways |
| Where they win | Scale and ecosystem | Merchant of Record and tax | Deep pricing tools, open source | Billing and getting paid in one place |
Checked 13 Nov 2026 against each tool's public pages. Prices are left out because they change often; see each tool's pricing page. If something here is out of date, tell us.
Full side-by-side: Comecero vs Paddle · Comecero vs Polar
Good to know
The edges, so you can plan your integration with no surprises.
- Usage billing is turned on per account. Ask us and we switch it on, then you set it up in the dashboard and test it in test mode.
- Comecero does not block usage inside your product. Your app enforces limits, using the alerts and the usage so far that Comecero gives you.
- Checkout failover covers new card payments on your own gateways. Saved cards and renewals stay on the gateway that saved the card.
- Comecero calculates sales tax and VAT at checkout. You file and remit it, unless Comecero is your Merchant of Record.
Questions
Your questions,
answered.
What is usage-based billing?
Usage-based billing charges customers for what they use, such as API calls, tokens, minutes or seats, instead of only a fixed monthly price. With Comecero you define a metric, set a price for it and bill it on the subscription's renewal invoice.
How do I bill for AI tokens or API calls?
Create a metric for the thing you count, price it per unit, per package, tiered, volume or stair-step, and send usage events from your server to the usage meter. Prices can go to 6 decimals, such as 0.002 USD per call.
Prepaid credits or overages: which should I use?
You can use both. Usage first uses the plan's allowance, then prepaid credit, and only the rest is charged. Each plan either charges for usage past the allowance or stops at a hard limit. Credit collects cash before usage happens; overages suit customers you trust to pay later.
How do I stop a customer running up a bill they will not pay?
Set the plan to stop at a hard limit, so usage that credit does not cover is not charged, and use the usage alerts at 50%, 80% and 100% of the allowance to warn the customer or turn off access in your app. Unusually large usage bills are also held for review.
Can I put seats and usage on the same invoice?
Yes. Usage is billed on the subscription's renewal invoice next to the plan and its seats, or on a separate usage invoice when it cannot go on a renewal.
What if my server sends the same usage event twice?
It is counted once. Each event has an operation ID, and each event in a batch gets its own answer, so you can resend after a timeout without billing twice. Usage up to 30 days late still lands on the right period.
Can I use my own payment gateway?
Yes. Connect your own gateways, such as Stripe, Braintree or PayPal, or get paid through Comecero Express Payments. With two or more of your own gateways, a declined new card payment can be sent on to the next one.
Can my AI assistant help me build the integration?
Yes. Connect Claude, Cursor, VS Code or ChatGPT to the docs MCP server at https://docs.comecero.com/mcp, and it can search the guides and read every endpoint's fields while it writes your code.
Ready when you are
Bill for usage. Get paid for it.
Set it up in test mode with the quickstart, or talk to us about your pricing.
Northwind AI · Pro plan
API calls, 1 to 30 Nov
84,210 calls
| Tier | Calls | Price | Amount |
|---|---|---|---|
| 0 to 10,000 | 10,000 | Included | $0.00 |
| 10,001 to 100,000 | 74,210 | $0.004 | $296.84 |
| 100,001 and up | 0 | $0.002 | $0.00 |



















