# Extract pricing and limits

A price for each mode, charged for pages that succeed. A live page is half a credit.

## What a page costs

**1 credit is $0.001, and a live page is half a credit:** $0.50 per 1,000 pages at the list price. A page is charged at the price of the mode that produced it, and only when it succeeded, with one exception below.

| Mode | Credits per page | Per 1,000 pages |
|---|---|---|
| `cached` | 0.25 | $0.25 |
| `live` | 0.5 | $0.50 |
| `rendered` | 2 | $2.00 |
| `unblock` | 10 | $10.00 |
| `stealth` | 25, not switched on yet | $25.00 |
| `auto` | By the mode used | |
| A page as JSON of your shape, on top of the mode | 3 | $3.00 |

`stealth` is not switched on yet. When it is, it will work on the plans that include it (below).

A page as JSON of your shape is asked for with [`json`](https://millionshort.com/docs/extract/parameters#json-of-your-shape): an object with a `schema` and an optional `prompt`. A call with `json` takes up to three URLs, and a page whose JSON failed costs only its fetch. JSON is on Starter and up; on Free it is refused with `400 UNSUPPORTED_OPTION`.

| Call | Credits |
|---|---|
| 1 URL, `live`, succeeds | 0.5 |
| 10 URLs, `live`, 8 succeed | 4 |
| 1 URL, `rendered`, succeeds | 2 |
| 1 URL, `rendered`, the site says the page does not exist (404) | 2 |
| 5 URLs, all fail | 0 |
| 10 URLs, `live`, all succeed, 6 left out by `page_types` | 5 |
| 1 URL, `live`, returned as JSON of your shape | 0.5 + 3 = 3.5 |

- The call holds `urls × the price of the mode asked for` before any work (`auto` holds the `live` price), charges each page that succeeded at the price of the mode actually used, and hands the rest back in the same request.
- A URL that fails is free. A page left out by a label list is charged for its fetch.
- **The one exception:** in `rendered`, `unblock` and `stealth`, a browser reaches the site for you. When the site answers that the page does not exist (`404` or `410`), the page is charged at the mode's price: the browser did the work. It comes back with `status: "error"`, `error.code: "FETCH_FAILED"`, `error.target_status` and `charged: true`.
- Our own refusals are never charged: robots.txt, the URL rules, a site that opted out, our caps and our capacity.
- [Labels](https://millionshort.com/docs/extract/labels) are free in every mode.
- `usage.breakdown` has one line per mode used.

## Limits of a request

| Limit | Value |
|---|---|
| `urls` | 1 to 20, distinct; 1 to 1,000 in a [batch](https://millionshort.com/docs/extract/batch) |
| A URL | up to 2,048 characters |
| `max_chars` | 1 to 500,000 |
| A page | 10 MiB; up to 5 redirects |
| Time for one page | 20 seconds for `live`, 60 for `rendered`, 130 for `unblock` and `stealth` |

## Limits of a plan

| | Free | Starter | Growth | Scale | Business |
|---|---|---|---|---|---|
| Fetches at once, per team | 2 | 4 | 8 | 16 | 32 |
| `rendered` | No | Yes | Yes | Yes | Yes |
| `unblock` | No | No | Yes | Yes | Yes |
| `stealth` (not switched on yet) | No | No | Yes | Yes | Yes |

## Limits that protect sites

- For all customers together, one site gets at most 2 fetches at once and 1 a second.
- Per team, per site, per day: 2,000 fetches in any mode other than `cached`. A page fetched again and found unchanged does not count again. [The daily limit per site](https://millionshort.com/docs/extract/parameters#the-daily-limit-per-site) says exactly what counts.

The numbers on this page are those of [Parameters](https://millionshort.com/docs/extract/parameters#limits); when the two differ, that page is right.
