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

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

# Rate cards

> Price each slice of what a meter measures, such as each endpoint or model, and change those prices on a schedule with numbered versions.

A **rate card** is a [product](/catalog/products)'s usage price list. Each of its rates prices one slice of what a [meter](/usage/meters) measures, such as requests to one endpoint. The prices live in numbered **versions**: you prepare a version as a draft, commit it with the date it takes effect, and existing [orders](/orders-and-billing/orders) stay on the version they have until you move them. [Introduction to pricing](/core-concepts/introduction-to-pricing) shows how rate cards, orders, negotiated pricing and migrations fit together.

Rate cards are in the `rate_cards=v1` internal beta. Send `Paid-Beta: rate_cards=v1` with each request. The beta includes four read operations: list and retrieve rate cards, and list and retrieve a card's versions. Write and lifecycle requests return `404` until those routes are available.

## How a rate card works

1. **It belongs to a product and prices in one thing.** Its `pricedIn` is money, in each currency a version lists, or one credit currency. The product and `pricedIn` never change.
2. **A version holds the prices.** It names the meter versions it prices, its rates and its modifiers. Once committed, a version never changes.
3. **A rate prices one measure.** Its `target` names a meter, one of its measures and, with `match`, a slice of the meter's dimensions.
4. **An order pins a version.** An order line keeps its version until a [migration](/core-concepts/introduction-to-pricing#migrations) moves it to a later one.

## Planned rate card creation

A search API charges per request by endpoint: Search at \$0.005, Answer at \$0.01 and Deep at \$0.025. Its `requests` meter has a `requests` measure and an `endpoint` dimension.

The planned API creates the card first and then its first version. A rate is a decimal string in minor units, so \$0.005 is `"0.5"`.

**`POST /v1/rate-cards`**

```json title="POST /v1/rate-cards"
{
  "key": "proseware_api",
  "product": "prod_7Hc1Za",
  "pricedIn": { "type": "money" },
  "name": "Proseware API list prices"
}
```

**`POST /v1/rate-cards/proseware_api/versions`**

```json title="POST /v1/rate-cards/proseware_api/versions"
{
  "startsAt": "2026-12-01T00:00:00Z",
  "currencies": ["usd"],
  "meters": [{ "meter": "requests", "version": 1 }],
  "rates": [
    {
      "key": "search",
      "displayName": "Search",
      "target": {
        "meter": "requests",
        "measure": "requests",
        "match": [{ "dimension": "endpoint", "op": "eq", "value": "search" }]
      },
      "pricing": { "type": "perUnit", "perUnit": { "unitAmount": "0.5" } }
    }
  ]
}
```

The version is a draft at revision 1. Review it, then commit the revision you reviewed:

**`POST /v1/rate-cards/proseware_api/versions/1/commit`**

```json title="POST /v1/rate-cards/proseware_api/versions/1/commit"
{ "revision": 1 }
```

If the draft changed after you reviewed it, the commit fails with 409, so what becomes binding is what you saw.

## Versions

Every version moves through the same lifecycle as other changes to what orders bill:

| Status       | Meaning                                                                                                                     |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| `draft`      | Being prepared. `update` edits it and adds a revision, `restore` brings back an earlier revision, and `delete` discards it. |
| `scheduled`  | Committed, waiting for its `startsAt`. `cancel` withdraws it.                                                               |
| `inEffect`   | Its `startsAt` has passed, and no later version is in effect.                                                               |
| `superseded` | A later version is in effect.                                                                                               |

To change prices, create a draft `copiedFrom` the current version, edit it and commit it. To go back to earlier prices, commit a later version with those prices. To find the version in effect at a time, list versions with `status=inEffect` and `startsAt[lte]` set to that time.

Before you commit, `preview` lists each rate of the draft with how it differs from the version it follows (`added`, `changed`, `unchanged` or `removed`), and warns about anything commit would allow but may be a mistake. A **backtest** shows what the draft would have charged each customer in each billing period since its `startsAt`, next to what was billed. It runs once on the draft's latest revision and is `stale` once the draft changes, so create a new one instead of rerunning it.

## Rates and matching

A rate's `key` is unique within the card and stays the same across versions, so orders, negotiated pricing and migrations can name it. `match` conditions use `eq`, `in` (with a list) or `prefix`. A dimension that `match` leaves out matches every value, and a rate with no `match` is a fallback.

When several rates match one reading, the most specific wins: `eq` beats `in`, `in` beats `prefix`, a longer prefix beats a shorter one, and any condition beats none; across dimensions, the rate that constrains more dimensions wins. Two rates that match the same values equally are rejected when you commit (`ambiguous_match`). A reading that no rate matches is charged nothing and flagged, and the preview warns when a priced measure has no fallback rate.

A rate's `pricing` is `perUnit`, `graduated` or `volume`, as on a [price](/catalog/prices#pricing), and its tiers can count over the billing period, each event or each workflow instance (`tierScope`). On a card priced in money, `pricing` is in the version's first currency and `currencyOptions` prices each of its other `currencies`; a committed version keeps every currency earlier versions of the card offered. A rate priced in credits can't use pricing whose charge for one reading could go negative or depends on the end of the period, such as volume tiers over the billing period.

When a later version replaces a rate, for example by splitting Search into slow, medium and fast, each new rate lists the old one in `replaces`. A migration then keeps a customer's percentage discount on every rate that replaces the old one.

## Modifiers

A modifier multiplies the charges of the targets it lists, for every customer, such as half price for batch requests. It can apply only when another measure passes a threshold, with `when`. Every modifier that matches a reading applies, and their multipliers multiply. Prices for one customer don't go on the rate card: they're negotiated pricing on that customer's order.

## Change or archive a rate card

A rate card's `key`, `product` and `pricedIn` never change, and `update` changes only its `name`. Prices change only through a new version. Archive a rate card to stop it going on new orders or gaining versions. Orders already on it keep billing through every version, including scheduled ones. A rate card is never deleted.

## Related

* [Prices](/catalog/prices)
* [Meters](/usage/meters)
* [Introduction to pricing](/core-concepts/introduction-to-pricing)