# Pricing (/docs/pricing)

> For AI agents, the [documentation index](https://bitrouter.ai/llms.txt) lists all pages. Append .md to a documentation URL to read its Markdown.

You pay per token, at one net price, with 0% markup. There are no fees on top: no platform fee, no
routing fee, and none on calls made with [your own key](https://bitrouter.ai/docs/fleet/byok). New accounts get $5 of free tokens.

For current prices, see [Pricing](https://bitrouter.ai/pricing).

## How a request is billed \[#how-a-request-is-billed]

* **Three token prices.** Input, cached input and output are priced separately, in USD per 1M tokens.
  Cached input is input the provider served from its prompt cache; repeated prefixes are cached for you.
* **Five-minute windows.** Live prices are set per five-minute window. A request is billed at the price
  of the window in which it **started**, even if it streams into the next one.
* **A target ceiling.** We aim to keep the live price of each window below the market index minus 20%.
  You can also set your own max price, which is optional.

## See what a request cost \[#see-what-a-request-cost]

Every response carries an `x-bitrouter-request-id` header. Look the request up with
[settlement](https://bitrouter.ai/docs/api/settlement) to get its token counts, the prices it was billed at and the total:

```bash
curl https://api.spareinference.ai/v1/requests/$REQUEST_ID/settlement \
  -H "Authorization: Bearer $SPARE_API_KEY"
```

Only the key that sent the request can read it. For your remaining credit, use
[balance](https://bitrouter.ai/docs/api/balance). Totals and history across requests are on the console's **Activity** and
**Billing** pages.

## Check prices before sending \[#check-prices-before-sending]

[`GET /v1/models`](https://bitrouter.ai/docs/api/models) returns every model with its current prices. No key is needed.

```bash
curl https://api.spareinference.ai/v1/models
```

```json
{
  "data": [
    {
      "id": "deepseek-v4.1-flash",
      "pricing": {
        "input_tokens": { "no_cache": 0.084, "cache_read": 0.0017 },
        "output_tokens": { "text": 0.336 }
      }
    }
  ]
}
```

Prices are USD per 1M tokens. Use them to schedule work for cheaper windows, or to show your own users a
price before a run.

## Invoices \[#invoices]

Invoices are itemized by window: tokens and price for each window you used. Fallback calls made with [your own key](https://bitrouter.ai/docs/fleet/fallbacks) are billed by your
provider and never appear on ours.