> ## Documentation Index
> Fetch the complete documentation index at: https://eddy-ac74d702.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing & credits

> What a credit is, what each call costs, what is free, and how credits are granted, held, charged, bought and reconciled.

Every call that computes, costs or reaches outside the engine is metered, priced from a versioned price book and charged in **credits** to the billing account of the org you act in. Reads, edits and cache hits are free.

## Credits

* **1 credit = US\$0.01.** Amounts are kept as integer millicredits (a thousandth of a credit) in an append-only, double-entry ledger, never as floating-point money; a usage row keeps microcredits, and the ledger rounds once per debit.
* **Who pays:** the org you are acting in (`/v1/me/org`). An API key bills its owner's org; an app's or an agent run's calls bill the person who used it.
* **Your balance:** `GET /v1/credits` (available, held by running agents, owed, the grants and their expiry). The console's Billing page shows it with your usage by app, agent, solver, member and day.

## What things cost

Prices are our cost × the markup (1). A price change is a new version of the book and never retroactive: each usage row records the version it was priced under.

**Compute** is charged by the CPU time a call uses (measured per request; work fanned out to solver threads is wall time × threads), per vCPU-hour of the engine's machine class:

| Machine class | vCPUs | US\$ per vCPU-hour | Credits per vCPU-hour |
| - | - | - | - |
| `micro-1x` | 1 | 0.018 | 1.8 |
| `small-2x` | 2 | 0.018 | 1.8 |
| `standard-2x` | 2 | 0.036 | 3.6 |
| `performance-4x` | 4 | 0.036 | 3.6 |
| `hpc-8x` | 8 | 0.0362 | 3.625 |
| `hpc-16x` | 16 | 0.0362 | 3.625 |
| `gpu-t4-4x` | 4 | 0.2 | 20 |
| `gpu-l4-4x` | 4 | 0.2375 | 23.75 |
| `gpu-a100-12x` | 12 | 0.3083 | 30.8333 |
| `gpu-48gb-8x` | 8 | 0.175 | 17.5 |

A machine class with a GPU is **billed whole**: a job on it pays the whole machine per second from its start to its exit, whatever its threads use, not the CPU it uses — `gpu-t4-4x` (1× NVIDIA T4: 80 credits an hour), `gpu-l4-4x` (1× NVIDIA L4: 95 credits an hour), `gpu-a100-12x` (1× NVIDIA A100: 370 credits an hour), `gpu-48gb-8x` (1× NVIDIA 48 GB: L40S, L40, RTX 6000 Ada or RTX A6000: 140 credits an hour). Such a job holds credits before it starts (3600 s of the machine, or what the account has) and is refused if the account cannot pay for 600 s of it; under enforcement a job that spends its hold is stopped at its next heartbeat (`OUT_OF_CREDITS`) and charged for the time it ran.

**Model tokens** through the managed gateway, per million tokens:

| Model | Input (credits / M) | Output (credits / M) | Cache read | Cache write |
| - | - | - | - | - |
| `claude-fable-5-1` | 1000 | 5000 | 25 | 1250 |
| `claude-opus-5-5` | 400 | 2000 | 20 | 500 |
| `claude-opus-5` | 500 | 2500 | 50 | 625 |
| `claude-sonnet-5-5` | 200 | 1000 | 20 | 250 |
| `claude-sonnet-5` | 200 | 1000 | 20 | 250 |
| `claude-haiku-5-5` | 10 | 50 | 1 | 12.5 |
| `claude-haiku-4-5` | 100 | 500 | 10 | 125 |

Not yet priced (not charged): `images from krea/gpt-image-2`, `images from krea/nano-banana`.

**Storage** is metered and shown, not billed (about US\$0.026 per GB-month).

## Free

* cache hits (an identical solve served from its content address)
* direct edits, restores, variants and drafts
* the engine's own checks and tests
* a builder turn that errors before it changes anything
* tokens on a bring-your-own model key (its compute is billed)
* buying credits: checkout, the receipts portal, auto top-up and the payment webhook are never metered and never refused

A cache hit is free by design: you never pay twice for the same answer.

## Free credits

* **A monthly allowance:** every billing account gets 500 credits each calendar month (UTC), granted at its first metered moment of the month and expiring at the month's end. Grants are spent oldest-expiry first, so the allowance goes before anything you bought.
* **A trial:** a new org gets 500 credits once — your personal org, or the first org you create (one trial per person). They do not expire.
* **A personal org:** signing in without an org of your own gives you one, so your usage is yours. Switch orgs with `POST /v1/me/org`.

## Agents and holds

An agent run (and a builder run) takes **one hold** when it starts: its budget, or the deployment's default hold, never more than the account has. Its model turns and its tool calls are charged against that hold, not the rest of the account. The run is asked at every step boundary whether the hold is spent, and ends `out_of_credits` there — no step is cut in half. When it ends, the hold is settled once: what it spent is captured, the rest released, and any overage of its last step is a debit. A hold is never topped up mid-run; the next run takes a new one.

`POST /v1/credits.estimate` answers what a run would hold and whether it would start, the median of an agent's or an app's past runs here, or what vCPU-seconds cost.

## Running out

Under enforcement a billable call from an account with nothing left (below the overdraft floor, default 0) is refused **before any compute runs**:

```json theme={null}
{"error": {"code": "CREDITS_EXHAUSTED", "message": "…", "top_up": "/console#credits", "available_credits": 0.0}}
```

Reads are never refused. A run whose hold is spent gets the same 402 for its own calls and ends at its next step. The org's admins are told when the balance falls under the low-balance line and when it is used up.

## Buying credits

* **Packs:** starter 1,000 credits (US$10), team 5,000 credits (US$50), studio 20,000 credits (US\$200); or any amount from 500 to 100,000 credits. Payment is by the provider's hosted checkout (Stripe): card data never reaches the engine. Tax is added by the provider where it applies; an invoice follows every payment.
* **Auto top-up** (an org admin's): a threshold and an amount, charged to the card saved at a checkout, one charge per need.
* **Receipts and invoices:** the provider's customer portal (`POST /v1/credits/portal`).
* **Your own model key:** with your own Anthropic key stored (`PUT /v1/me/llm-provider`), its tokens cost 0 credits; the engine's compute in the same run is billed as usual.

## Statements and reconciliation

* `GET /v1/credits/statement?month=YYYY-MM` and `GET /v1/credits/statement.csv` — every ledger entry of your account in a month, with its effect on the balance.
* `GET /v1/credits/usage.csv` — the usage rows behind the charges.
* Instance admins: `GET /admin/credits/{account}/statement.csv` for any account, and `GET /admin/credits/statements.csv?month=` — one row per org: opening balance, granted, charged, expired, closing, the usage priced and the month's reconcile state.
* **Every night** the engine reconciles the day before: each account's ledger against its own fold, the usage the meter priced against what the ledger charged, and the payment provider's settled payments against the purchase grants. A mismatch alarms (the instance admins are notified, `GET /admin/credits/reconcile` shows the report) and is **never corrected automatically**: a correction is an admin's grant or refund, an entry of its own.

The numbers above are the development book (at cost) and the default grants; an engine serves its own at `/pricing` and `GET /v1/prices`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.