Skip to main content

Bill · Usage and invoices

Track usage. Bill it once.

Count calls, tokens, orders or outcomes as they happen. Turn usage into an invoice your customer understands.

Test keys are free.

Usage · example billing period demo

API calls counted · research.calls · agt_7x2c

12,48026,90038,15041,200

Your priceR$ 0.0019 per call
Invoice inv_2209 · 1 line · API callsOne line for the billing periodR$ 78.28invoice issuedsettled
issued Sep 30 · settled Oct 1 through Collect · Pix · rec_2209 signed
control record demorec_2209
invoiceinv_2209 · 1 line
payeragt_7x2c · under its mandate
railpix via Collect · settled Oct 1, 09:12
ed25519:5b20…d417verified

Sandbox run · demo data

Who it's for

Businesses that price by usage.

APIs, inference, data and any product sold per call, token or outcome.

The problem

Thousands of small events can't become thousands of charges.

And a spreadsheet at the end of the month is where the errors start.

The result

One invoice line per customer per period.

Counted as it happens, paid through Collect.

the rounding · inv_2209 demo
events12,480 calls26,900 calls38,150 calls41,200 calls
unit priceR$ 0.0019
charges1
rounding · once · R$ 78.28countingone line

Sandbox run · demo data

How it works

From many events to one line on an invoice.

Step 04 of 04 · Paid through Collect

demo

Steps

01Count each eventEvery call, token or order is counted as it happens.
02The price lives in the productSet the unit price where the usage happens.
03One invoice per periodThe billing period closes into one line your customer understands.
04Paid through CollectThe customer, or its agent, pays the invoice like any charge.

Conversation and control record · simulated

Customer agent · agt_7x2c

Calling /v1/quote.
14:03:02research.calls · +1 · evt_9k2…counted

Your agent

Usage is counted per call at R$ 0.0019.
14:03:04running total · 41,200 calls · Septembercounting

Your agent

September invoice: one line, R$ 78.28.
14:03:06invoice inv_2209 · R$ 78.28 · issued Sep 30issued

Customer agent · agt_7x2c

Inside my mandate. Paying.
14:03:08via Collect · rec_2209 · ed25519 ✓settled
rec_2209ed25519:5b20…d417

Sandbox run · demo data

What can happen

Every invoice ends in a clear state.

An invoice that is refused or fails stays open and is recorded.

Invoices this period demo
Research API · Orbital Datainv_2209 · settled by the customer's agent agt_7x2cR$ 78.28settled
Inference · Tessera AIinv_2214 · issued, waiting for paymentR$ 412.60open
Data feed · Bello Marketinv_2221 · period still opencounting
Research API · Prisma Labsinv_2230 · the customer's mandate refused it: above its capR$ 2,940.00refused
Inference · Atlas Logísticainv_2236 · payment failed; the invoice stays openR$ 96.40failed

Demo data

Price

What it costs.

Invoices are paid through Collect and priced there.

inv_2209 · settled through Collect demo
Invoice · 41,200 callsR$ 78.28issuedsettled
Collected throughCollect · 1% · cap R$ 2.00 · from general availability
Payeragt_7x2c · under its mandate

Related

Product

Gate

Charge agents per call on your API.

GET /v1/risk/scoreUS$ 0.02402200 OK
Open →

Product

Collect

Payment links and checkout for people and agents.

inv_2209R$ 78.28issuedsettled
Open →

Product

Spaces

Usage per customer account.

spc_bello · research.callscounting
Open →

Sandbox run · demo data

Give your agents a way to pay and get paid.

Build is free: hosted MCP, SDK and sandbox.

Test keys are free.

terminal · test modedemo
$ claude mcp add --transport http codespar \ https://connect.codespar.dev/mcp> "bill research.calls at R$ 0.0019 per call" research.calls · counting · agt_7x2c inv_2209 · 41,200 calls · R$ 78.28 · issued rec_2209 · settled through Collect

Sandbox run · demo data

CodeSpar · Bill