# Pricing and estimates

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

> How the prepaid Credit balance works, why a cached result costs the same as a fresh one, and how to ask the price of an operation before you spend anything on it.

- Balance: One prepaid balance of Credits per organization. A Top-up buys 1,000 credits per US dollar.
- Cached: A result from a stored observation younger than 3 hours (24 for a creator profile without videos) costs the same as a fresh one.
- Estimate: `estimate=true` quotes the price with no Run and no charge.
- Reads: Reading the balance, the spend log, a Run or its items is free.
- Failures: A `failed` Run costs nothing. A short balance is refused up front with `402`.

Spending is prepaid and charged per Run. You top a balance up, each paid operation draws its price from it, and every charge is a line you can read back. You can ask the price of a call without making it, and a call you cannot afford is refused before any work starts.

## Prices are in Credits drawn from one prepaid balance

Each organization has one prepaid balance of Credits. Every price, charge and balance is a whole number of Credits, and a Top-up buys 1,000 credits per US dollar. Every key the organization issues spends the same balance, so a runaway script on a staging key drains the same balance as production.

Reads never cost anything. That covers the balance, the spend log, a Run you already paid for and a page of Run items. Only work costs Credits, and each Run is charged once.

## When to ask the price first

Estimate before a call whose price you do not know, or before an agent spends on someone else’s behalf. An estimate is free and creates no Run, so checking first costs nothing. Read the balance before a large batch so the batch is not refused partway through your loop.

| You want to know | Use |
| --- | --- |
| What a call would cost, and whether it is cached | `estimate=true` |
| How many Credits are left | `GET /v1/account/balance` |
| What you were charged, and for which Run | `GET /v1/account/usage` |
| What each item of a Run cost | `GET /v1/runs/{id}/items` |

## How pricing works

### One charge per Run

Each paid operation creates a [Run](https://www.shortsintel.com/docs/concepts/runs), and each Run carries exactly one charge. The Run records `list_price_credits`, what the operation costs at list, and `charge_credits`, what you paid. The two differ only when a Run is charged for part of its work.

### Cached results cost the same as fresh ones

A result is cached when a stored observation of the same subject is younger than 3 hours, so answering needs no upstream fetch. A creator lookup without videos uses 24 hours. That answer costs the same as a fresh one. The cache saves the upstream call. It does not lower your price.

Caching is a property of the data, and your account settings do not affect it. Another customer asking for the same video a minute before you is what makes your call cached. You cannot opt in or out. The `cached` field on the Run and in the spend log says which you got.

[Scoring](https://www.shortsintel.com/docs/reference/videos/score-video) is never served from store. Every score is a fresh fetch at 9 credits, because asking for a score is asking for the fetch.

### Estimates quote the price without charging

Almost every paid operation takes `estimate`. `true` returns `{ estimate_credits, cached }` from what is already stored, creating no Run. Nothing is charged. Only `true` or `false`, else a 400. A POST may send it in the body instead; different values in both places are a 400.

The estimate is computed from the same stored state the real call prices itself against, so an agent that estimates and then calls pays what it was quoted. An estimate cannot promise timing. A stored observation can age past the cache window between the two calls, and the real call is then fresh work at the same price.

Some estimates also check whether a source is down, unless cache answers: `POST /v1/research`, `POST /v1/breakdowns`, `POST /v1/videos/search`, `POST /v1/videos/lookup`, `POST /v1/videos/lookup/batch`, `GET /v1/videos/{platform}/{id}`, `POST /v1/videos/{platform}/{id}/intelligence`, `POST /v1/videos/{platform}/{id}/score`, `GET /v1/videos/{platform}/{id}/comments`, `GET /v1/videos/{platform}/{id}/comments/{comment_id}/replies`, `GET /v1/creators/{platform}/{handle}`, `POST /v1/creators/lookup/batch`, `GET /v1/hashtags/{platform}/{tag}`, `GET /v1/sounds/{platform}/{id}`, `GET /v1/keywords/{platform}`, `POST /v1/ads/search` (Meta library only), `GET /v1/ads/meta/{library_id}`, `GET /v1/ads/tiktok/{ad_id}`, `GET /v1/ads/google/{creative_id}` and `GET /v1/advertisers/{page_id}`.

If only some of the sources it reads are unavailable, the estimate quotes the part it can reach and adds `unavailable`, a list of `{ platform, capability }` entries such as `{ "platform": "instagram", "capability": "search" }`. Those are the parts the Run would mark failed.

If no source is reachable, the estimate answers `503` `source_unavailable` instead of a price. Every other estimate quotes the price without checking, and an outage shows up on the Run instead.

### A short balance is refused before work starts

The balance is checked against the operation’s quoted price before any work starts. For Research and enriched searches, that is the worst-case quote. If the balance is too low, the call is refused at once with `402`, a code to branch on, and the two numbers that explain the refusal:

402 · insufficient_balance

```json
{
  "type": "https://www.shortsintel.com/docs/reference/errors/insufficient_balance",
  "title": "Insufficient balance",
  "status": 402,
  "code": "insufficient_balance",
  "detail": "Your balance is 0 Credits and this operation needs 3 Credits. Nothing was charged.",
  "retryable": false,
  "action": "Tell the Customer to top up the Balance, then repeat the same request.",
  "balance_credits": 0,
  "required_credits": 3
}
```

Nothing is charged and no Run is created, so you can retry a `402` as soon as the balance is topped up. The [errors guide](https://www.shortsintel.com/docs/concepts/errors) covers the other codes.

### Failed work is free and partial work is charged per item

A Run that ends `failed` costs nothing. There is no refund step and no credit to claim, because the charge is written only when work succeeds.

A Run that fans out over many items and lands only some of them ends `partial` and is charged per item that arrived. If the balance runs short while it works, completed items are charged in order up to the balance and the rest fail with `insufficient_balance`.

A Run that could pay for none of its work ends `failed` and costs nothing. `GET /v1/runs/{id}/items` lists the items with their individual charges, so the bill for a large research pass reconciles item by item.

## Limits and prices

| Item | Value |
| --- | --- |
| Top-up rate | 1,000 credits per US dollar |
| Minimum Top-up | $10 |
| Cache window | Stored observations younger than 3 hours (24 for a creator profile without videos) |
| Estimates and reads | Free, with no Run created |
| Look a video up (`GET /v1/videos/{platform}/{id}`) | 3 credits |
| Analyse a video (`POST /v1/videos/{platform}/{id}/intelligence`) | 23 credits |
| Score a video (`POST /v1/videos/{platform}/{id}/score`) | 9 credits |

Every operation’s price is on its entry in the [reference](https://www.shortsintel.com/docs/reference).

## Example: estimate a lookup, then check the bill

Read the balance. This is free and instant:

`GET /v1/account/balance` · Free.

curl:

```bash
curl "https://www.shortsintel.com/v1/account/balance" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/account/balance",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/account/balance",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

200 · `{ balance_credits, grants }`.

```json
{
  "balance_credits": 42310,
  "grants": [
    {
      "source": "starter",
      "amount_credits": 100,
      "remaining_credits": 64,
      "expires_at": "2026-10-01T00:00:00.000Z"
    }
  ]
}
```

Ask the price of a lookup. The response gives the price and whether a stored result can already answer:

`GET /v1/videos/{platform}/{id}` · 3 credits. With `include=intelligence`: 23 credits instead of the lookup price. With `include=transcript` only: a flat 10 credits. With `include=download`: 3 credits alone, else 3 credits on top of the analysis or transcript price. A stored answer (or an existing copy) costs the same as a fresh one.

curl:

```bash
curl "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000?wait=30&estimate=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000?wait=30&estimate=true",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000?wait=30&estimate=true",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

[Run it in the Playground](https://www.shortsintel.com/console/playground?op=getVideo&platform=tiktok&id=7300000000000000000) (no API Key needed)

200 · With `estimate=true`: the price, no Run, no charge.

```json
{
  "estimate_credits": 3,
  "cached": false
}
```

After the real call, read the spend log:

`GET /v1/account/usage` · Free.

curl:

```bash
curl "https://www.shortsintel.com/v1/account/usage?limit=25" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/account/usage?limit=25",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/account/usage?limit=25",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

`GET /v1/account/usage` · Free. One row per charge, each naming the Run behind it.

For a Run that fans out, read its items with their charges:

`GET /v1/runs/{id}/items` · Free: the charge happened once, when the work did.

curl:

```bash
curl "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b/items?limit=25&type=videos" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b/items?limit=25&type=videos",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b/items?limit=25&type=videos",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

`GET /v1/runs/{id}/items` · Free: the charge happened once, when the work did.

## Questions about Pricing and estimates

### Does a cached result cost less?

No. A cached result costs the same as a fresh one. The `cached` field tells you which you got.

### Does an estimate cost anything?

No. An estimate creates no Run and charges nothing. A paid operation that takes no estimate shows its price on its reference entry.

### Am I charged when a Run fails?

No. A `failed` Run costs nothing. A `partial` Run is charged only for the items that arrived.

### What happens when my balance runs out?

A call you cannot afford is refused with `402` before any work starts, with no Run and no charge. Top up and retry.

### Do all my API keys share one balance?

Yes. Every key an organization issues spends the same prepaid balance.
