# Credits and rates

Usage is paid in credits. `billing.rates.list` returns the rates that apply to
your workspace, or with `space_id` to whoever pays for that Space: work inside
a Space is always paid by the workspace that owns it, whoever triggers it.
Prices change with the pricing version, so read them instead of assuming them.

## How a rate charges

- `mode` `flat`: `credits_per_unit` per `unit` (call, minute, page, row, token, item).
- `mode` `cost`: credits = cost in USD × 1000 × `multiplier`. The cost is what
  the work really costs Adlass (model tokens, for example), so there is no
  price per unit and `credits_per_unit` is `null`.
- `credit_usd` is the dollar value of one credit (1000 credits are 1 USD).
- `at_cost: true`: the payer is charged at cost; every `multiplier` is 1.

## Public rate keys

| Key | What it charges |
|---|---|
| `ai.tokens` | Model tokens of the assistant, agents, AI steps in scripts and reviews |
| `ai.web_search` | One web search of an agent |
| `tools.audio.transcribe.minute` | One minute of audio transcribed with `tools.audio.transcribe` |
| `browser.minute` | One minute of the browser agent |
| `document.page` | One page read with OCR |
| `document.extraction` | Model tokens of the AI facts pass over a document |
| `script.run` | One script run |
| `script.minute` | One minute of script runtime |
| `workflow.step` | One executed workflow step |
| `records.rows` | One row written to a record type |
| `agent.action` | One successful operation call over MCP or the API |
| `integrations.call` | One provider operation call without a rate of its own |

## Provider prices

Many providers and operations have their own price instead of
`integrations.call`. `integrations.catalog.get` returns it per operation
(`credits_per_call`, `credits_per_minute`, `credits_per_document`,
`credits_per_item`).
