> This page is for version Current (default).
> For other versions, use one of these documentation indexes:
> - Current (default): https://docs.paid.ai/current/llms.txt
> - Preview: https://docs.paid.ai/preview/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.paid.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.paid.ai/_mcp/server.

# Sub-cent pricing

> Price usage at fractions of a cent, such as $0.0004 per token, and bill it exactly: Paid keeps every rate to 15 decimal places of a cent and rounds each invoice line once.

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](#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.

| Fee                                                 | Sub-cent price        | Where                                                           |
| --------------------------------------------------- | --------------------- | --------------------------------------------------------------- |
| Usage pricing, flat                                 | Yes                   | The price per unit, or per N units                              |
| Usage pricing, graduated or volume tiers            | Yes                   | Each tier's price per unit and flat amount                      |
| Overage on prepaid credits                          | Yes                   | The price per credit, on a fee priced in credits                |
| A custom price on an order or plan, for a usage fee | Yes                   | The price per unit                                              |
| Custom tier prices on an order                      | In the dashboard only | Each tier's price in the order wizard                           |
| Custom tier prices on a plan                        | No                    | Set the sub-cent tier prices on the product; the plan uses them |
| Platform fee                                        | No                    | Whole cents                                                     |
| One-time fee                                        | No                    | Whole cents                                                     |
| Per unit fee, such as seats                         | No                    | Whole 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.

| Step                    | Value                          |
| ----------------------- | ------------------------------ |
| Price                   | 0.04¢ per token (\$0.0004)     |
| Tokens in November      | 1,234,567                      |
| Price × quantity, exact | 1,234,567 × 0.04¢ = 49,382.68¢ |
| Rounded once, half up   | 49,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:

| Step                          | Value                       |
| ----------------------------- | --------------------------- |
| Tokens 1 to 1,000,000         | 1,000,000 × 0.04¢ = 40,000¢ |
| Tokens 1,000,001 to 1,234,567 | 234,567 × 0.03¢ = 7,037.01¢ |
| Sum, exact                    | 47,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**](https://app.paid.ai/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.

| Field                      | Where                                                    | What it holds                                                         |
| -------------------------- | -------------------------------------------------------- | --------------------------------------------------------------------- |
| `unitPriceDecimal`         | A price of a `UsagePerUnit` fee, or an order's own price | The price per unit: `"0.04"` is 0.04¢                                 |
| `unitAmountDecimal`        | A tier of a `UsageGraduated` or `UsageVolume` fee        | The tier's price per unit                                             |
| `flatAmountDecimal`        | A tier of a `UsageGraduated` or `UsageVolume` fee        | The tier's flat amount                                                |
| `overageUnitPricesDecimal` | The overage on a prepaid credits fee or a credit grant   | The 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](/api-reference/api-reference/products/update-product-by-id):

```bash
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:

```json
"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.

| Where                                                                    | What it shows for 1,234,567 tokens at \$0.0004                                                                                                                                                                                                                                                                |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Invoice PDF                                                              | Unit 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 webhook](/documentation/billing/webhooks#invoice-posted) | `unitAmount: "0.04"` (in cents), `per: "1"`, `amount: 49383`                                                                                                                                                                                                                                                  |
| Stripe                                                                   | The 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-invoices                                                      | The 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.

## Related

* [Create a product](/documentation/getting-started/create-a-product)
* [Meters](/documentation/billing/meters)
* [Credits](/documentation/credits/credits)
* [Webhooks](/documentation/billing/webhooks)
* [Update product API reference](/api-reference/api-reference/products/update-product-by-id)