Skip to navigation

Sub-cent pricing

AI products sell in units that cost a fraction of a cent: a token, an API call, a second of compute. With sub-cent pricing you set those rates as they are, such as $0.0004 per token or $0.00025 per call, instead of rounding them up to a whole cent or repackaging them as “per 1,000”. Paid keeps the rate exact through every calculation and rounds only once, when the charge becomes an invoice line, so a month of usage bills to the cent you’d work out by hand.

Use sub-cent pricing to:

  • Price usage at its real unit cost, per token or per call, without inventing bundles.
  • Quote a rate per million, such as $3.75 per million tokens, and bill it exactly.
  • Build tiers below a cent, such as $0.0004 a token for the first million and $0.0003 after that.
  • Charge overage below a cent per credit when your customers use more than their prepaid credits.

Prerequisites

  • Sub-cent pricing is on for your organization. It is on for organizations created since 23 November 2026. For an organization created earlier, ask your Paid contact to turn it on. Until then, a usage or overage price field in the dashboard refuses a rate below a cent and says that sub-cent prices aren’t turned on for your organization.
  • A usage-based fee priced in a currency with two decimal places, such as USD, EUR or GBP. See Currencies.
  • For the API, a Paid API key.

What can take a sub-cent price

Only prices charged for usage can go below a cent. Fixed fees are always whole cents.

FeeSub-cent priceWhere
Usage pricing, flatYesThe price per unit, or per N units
Usage pricing, graduated or volume tiersYesEach tier’s price per unit and flat amount
Overage on prepaid creditsYesThe price per credit, on a fee priced in credits
A custom price on an order or plan, for a usage feeYesThe price per unit
Custom tier prices on an orderIn the dashboard onlyEach tier’s price in the order wizard
Custom tier prices on a planNoSet the sub-cent tier prices on the product; the plan uses them
Platform feeNoWhole cents
One-time feeNoWhole cents
Per unit fee, such as seatsNoWhole cents, even when multiplied by a quantity

A USD platform fee can be $0.25, but not $0.025. A seat price is whole cents per seat. The credits a signal consumes can already be fractional and are unchanged.

How precise a price can be

A price can have up to 15 decimal places of the currency’s smallest unit: 15 decimal places of a cent, or 17 of a dollar. The smallest price is $0.00000000000000001, far below any real per-token cost.

Paid keeps the price exact from the moment you save it to the invoice line:

  1. The price is saved exactly as the decimal you entered, never approximated.
  2. Usage is multiplied at full precision. The quantity times the price, divided by N for a price per N units, and the sum across tiers, all stay exact.
  3. The usage line is rounded once, half up, to a whole cent. 2.5¢ becomes 3¢. This holds for a price per unit or per N units, for tiers, and for overage on credits.
  4. Totals add the rounded lines, so an invoice total is always the sum of its lines.

Rounding once matters at scale. Rounding $0.00025 up to $0.01 per call would bill 40 times the price, and rounding each signal’s charge would compound the error a million times a month.

Example: price tokens at $0.0004 each

Lumen Labs sells a model API and charges $0.0004 per token, which is 0.04¢. In November its customer Northwind Traders uses 1,234,567 tokens.

StepValue
Price0.04¢ per token ($0.0004)
Tokens in November1,234,567
Price × quantity, exact1,234,567 × 0.04¢ = 49,382.68¢
Rounded once, half up49,383¢
Invoice line$493.83

Priced per million instead, at $3.75 per million tokens, the same usage bills 1,234,567 × 375¢ ÷ 1,000,000 = 462.962625¢, rounded once to $4.63. You can write that rate as $0.00000375 per token or as $3.75 per 1,000,000 tokens: both are exactly the same price.

With graduated tiers, the price changes as usage grows. At 0.04¢ a token for the first 1,000,000 tokens and 0.03¢ above that:

StepValue
Tokens 1 to 1,000,0001,000,000 × 0.04¢ = 40,000¢
Tokens 1,000,001 to 1,234,567234,567 × 0.03¢ = 7,037.01¢
Sum, exact47,037.01¢
Invoice line$470.37

Set a sub-cent price in the dashboard

The dashboard takes prices in dollars (or your currency’s main unit), not cents: type 0.0004 for $0.0004 per token.

  1. Open Products and choose Create product, or open a product and choose Edit.
  2. In Pricing, choose Add element, then Usage pricing or Outcome pricing, and choose the signal.
  3. If the product has credit currencies, under How should this signal be priced? choose In fiat currency.
  4. Under Pricing model, choose Flat and type the price in Price per unit, such as 0.0004. For Volume or Graduated, type a sub-cent price per unit or flat amount in any tier.
  5. Choose Add to product, then Create product, or Save when you’re editing.

For overage on prepaid credits, open the usage or outcome fee priced in credits and choose Configure overage. Turn on Enable overage, type the price per credit in each currency, such as 0.004, and choose Save overage.

The product page and the order wizard show the exact price you entered, such as $0.0004. A plan shows an exact flat usage price and overage price.

Set a sub-cent price through the API

The legacy API takes prices in the currency’s smallest unit, cents for USD: 12 is $0.12. A sub-cent price goes in a text field beside the whole-number one, so it is never rounded on the way in: "0.04" is 0.04¢, or $0.0004.

FieldWhereWhat it holds
unitPriceDecimalA price of a UsagePerUnit fee, or an order’s own priceThe price per unit: "0.04" is 0.04¢
unitAmountDecimalA tier of a UsageGraduated or UsageVolume feeThe tier’s price per unit
flatAmountDecimalA tier of a UsageGraduated or UsageVolume feeThe tier’s flat amount
overageUnitPricesDecimalThe overage on a prepaid credits fee or a credit grantThe overage price per credit, by currency: { "USD": "0.4" } is 0.4¢

Each takes up to 15 decimal places, such as "0.000375". Keep sending the whole-number field beside it (unitPrice, unitAmount or flatAmount) as the whole-cent part of the price, 0 for a price below a cent: when the text field is there, it is the price.

To price Lumen Labs’ tokens, add the fee to the product with Update product:

curl -X PUT https://api.agentpaid.io/api/v2/products/prod_8HqL2xT \
-H "Authorization: Bearer YOUR_PAID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"productAttributes": [
{
"name": "Tokens",
"pricing": {
"pricingType": "UsagePerUnit",
"eventName": "tokens_generated",
"pricePoints": [
{ "currency": "USD", "unitPrice": 0, "unitPriceDecimal": "0.04" }
]
}
}
]
}'

The product you get back shows the price with unitPriceDecimal: "0.04". A price is returned with unitPriceDecimal only when it has a fraction of a cent: send "12" and you get back an ordinary unitPrice of 12.

To quote a price per million, send unitSize with the price for that many units: "unitPrice": 375, "unitSize": 1000000 is $3.75 per million tokens, and "unitName": "1M tokens" names the unit in the invoice posted webhook and on current invoice PDFs. unitSize works on UsagePerUnit and UsagePrepaidCredits fees.

For tiers, put the sub-cent price on each tier. Each tier starts one above where the previous one ends:

"pricing": {
"pricingType": "UsageGraduated",
"eventName": "tokens_generated",
"pricePoints": [
{
"currency": "USD",
"unitPrice": 0,
"tiers": [
{ "lowerBound": 0, "upperBound": 1000000, "unitAmount": 0, "unitAmountDecimal": "0.04" },
{ "lowerBound": 1000001, "unitAmount": 0, "unitAmountDecimal": "0.03" }
]
}
]
}

When you create or update a product or its pricing, the API refuses a sub-cent price if sub-cent pricing isn’t on for your organization, or on a fee that only takes whole cents, and the error names the field.

Change a price without losing its fraction

An update that leaves out a saved sub-cent price keeps it, as long as the price itself doesn’t change. If you change the price (unitPrice, unitSize, the tiers or the pricing type) without sending the new sub-cent field, Paid refuses the update and names the field. That way an integration that doesn’t know about sub-cent prices can never quietly reset one. To replace a sub-cent price with a whole one, send the new price in the sub-cent field, such as "unitPriceDecimal": "500" for $5.00. Replacing a sub-cent price needs sub-cent pricing to be on for your organization.

Orders, plans and checkout

When sub-cent pricing is on, an order built from a product with a sub-cent price per unit bills that exact price, whether you create it in the dashboard, through the API, from a checkout link or a plan, or from Salesforce or HubSpot. A few limits apply:

  • To give one order its own sub-cent price per unit, send unitPriceDecimal on the order line’s price. The legacy order API doesn’t take sub-cent tier prices; set those in the order wizard.
  • Creating an order through the legacy API for a product whose default plan has a sub-cent price is refused. Subscribe the customer to the plan instead.
  • Checkout carries a sub-cent price per unit, but not sub-cent tier prices.
  • A plan change can move a subscription onto a sub-cent price per unit, but not onto sub-cent tier prices.

The new API

The new API at api.paid.ai/v1 writes every price as text in the currency’s smallest unit, so a sub-cent price needs no separate field: "unitAmount": "0.04" is $0.0004. Its prices endpoints aren’t available yet.

How invoices show it

A usage line priced per unit, or per N units, keeps the price it was billed at when the quantity times that price, divided by N for a price per N units and rounded to the cent, gives the line’s amount before any discount. A discounted line keeps its price. A prorated line, or one whose included or minimum quantity changed the amount, keeps none. The invoice PDF then shows the real price, not the line total divided by the quantity.

WhereWhat it shows for 1,234,567 tokens at $0.0004
Invoice PDFUnit price $0.0004, amount $493.83. A price per N units reads “$3.75 per 1,000,000”. On current invoices it reads with the unit’s name instead, such as “$3.75 per 1M tokens”, when you gave the unit a name.
Invoice posted webhookunitAmount: "0.04" (in cents), per: "1", amount: 49383
StripeThe line’s amount, with the exact price added to its description, such as “Lumen API - Tokens (1234567 at USD 0.0004 each)“
Xero and e-invoicesThe exact price when that system can hold it and the quantity, and quantity times price, divided by N for a price per N units, gives back the line’s amount before discount. Otherwise a quantity of 1 at that amount, with any discount shown separately and the real quantity and price in the description.

Xero takes unit prices to 4 decimal places of a dollar and has no “per N units”, so a price it can’t show exactly arrives as a quantity of 1. For a line that keeps its price, your customer owes the same amount everywhere.

The webhook’s older unitPrice field is the line total divided by the quantity, rounded to a whole cent, so it is 0 in this example. For a price per N units it is the whole-cent price per N units instead, with N in unitSize. Read unitAmount and per for the price.

A tiered line keeps no price, since no single price applies to every unit. The webhook sends its unitAmount and per as null. The PDF shows the line’s amount before discount divided by its quantity when that is a whole number of cents that multiplies back to the amount, and no unit price otherwise. Xero gets the amount divided by the quantity, rounded to 4 decimal places of a dollar, and e-invoices get it rounded to the cent, alongside the line’s exact amount.

Currencies

Sub-cent pricing works in every currency you can price in from the dashboard or the API, all of which have two decimal places: USD, EUR, GBP, AUD, CAD, INR and others. In each, a price can have up to 15 decimal places of the smallest unit: "0.04" in EUR is €0.0004.

A sub-cent price is in the currency of the price it belongs to, and Paid never converts it with an exchange rate. Prices in currencies with no decimal places, such as JPY and KRW, or three, such as KWD and BHD, can’t be set in the dashboard or through the API. The one exception is yen prices that come from Salesforce, for organizations where Paid has turned that on.