> ## Documentation Index
> Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing

> Pay-as-you-go, per-API pricing for the Video Datalake — management and reads are free; you pay for indexing, search, media, and storage.

The Video Datalake is **pay-as-you-go** against a prepaid balance. **Management and read-from-database operations are free** — you pay only for the APIs that do real work: indexing, search, media generation, and storage.

Check your balance with [Get Balance](/datalake/operations/get-balance). When it reaches zero, billable requests fail with `402 quota_exceeded`. **Failed requests are never billed.**

## Free APIs

Every collection / video / person management call and every list or detail read is **free**:

| Category    | APIs                                                                                                                        |
| ----------- | --------------------------------------------------------------------------------------------------------------------------- |
| Collections | `POST /collections` · `GET /collections` · `GET /collections/{id}` · `PATCH /collections/{id}` · `DELETE /collections/{id}` |
| Videos      | `GET /videos` · `GET /videos/{id}` · `PATCH /videos/{id}` · `DELETE /videos/{id}` · `POST /videos/{id}:move`                |
| Operations  | `GET /operations/{id}` · `POST /operations/{id}:cancel` · `GET /operations/{id}/deliveries`                                 |
| Persons     | `GET /persons` · `GET /persons/{id}` · `PATCH /persons/{id}` · `DELETE /persons/{id}`                                       |
| Usage       | `GET /usage/balance`                                                                                                        |

## Priced APIs

Indexing is priced **per minute of video** and always embeds with **OmniRetriever** (3072-dim, multilingual). Everything else is per call, per image, or per GB.

| API                                                                                                                                                            | Unit                | Cost                  |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | --------------------- |
| **Index video** — [`POST /videos`](/datalake/videos/upload-video-url) (URL / file / resumable)                                                                 | per minute of video | **\$0.04**            |
| **Index live stream** — [`POST /streams`](/datalake/streams/open-stream)                                                                                       | per minute streamed | **\$0.04**            |
| **Build / append face library** — [`POST /persons`](/datalake/persons/create-person), [`/persons/{id}/faces`](/datalake/persons/add-person-faces)              | per reference image | **\$0.00005**         |
| **Search** — [`POST /search`](/datalake/search/search)                                                                                                         | per call            | **\$0.008**           |
| **Upload search image** — [`POST /search/images`](/datalake/search/upload-search-image)                                                                        | per image           | **\$0.00012**         |
| **Get moment** — [`GET /moments/{ref}`](/datalake/moments/get-moment) (data expands)                                                                           | per call            | **\$0.008**           |
| **Get moment** — clip slice + media egress                                                                                                                     | per call + per GB   | **$0.005 + $0.01/GB** |
| **Derived read** — frame · clip · caption · transcription · title · summary · speakers · entities                                                              | per call            | **\$0.001**           |
| **Events read** — [video events](/datalake/events/get-video-events) · [list events](/datalake/events/list-events) · [event detail](/datalake/events/get-event) | per call            | **\$0.001**           |
| **Storage** — videos, frames, vectors, face images                                                                                                             | per GB / month      | **\$0.02**            |

<Note>
  **Indexing cost is per minute at `fps = 1.0`** (the default) and scales roughly linearly with `fps`. It covers standard indexing (OmniRetriever embeddings, audio transcription, OmniCaptioner captions & summary). Collections that enable **face recognition** or **safety detection** run additional detection on every indexed video, at additional per-minute cost.
</Note>

<Note>
  **Search `rerank: true`** runs an extra cross-encoder pass and is billed on top of the base search call.
</Note>

## Billing notes

* **Failed requests are not billed** — the balance is only deducted on success.
* **Idempotent replays are not double-billed** — resubmitting with the same `Idempotency-Key` (or `idempotency_key` on uploads) returns the first result at no extra charge.
* **Cancelled ingests** — an ingest [cancelled](/datalake/operations/cancel-operation) before the `index` phase starts is not billed for indexing.
* **Insufficient balance** — billable requests fail immediately with `402 quota_exceeded`; nothing is queued.

## Plans

Pay-as-you-go needs no plan. A **\$20 / month** starter plan is also available — it bundles 10,000 free simple-API calls, 2 QPS, 1 project, and 2 API keys, with all indexing / search / AI processing billed at the per-API rates above. For higher rate limits, more projects, volume discounts, or an SLA, [contact sales](https://memories.ai/contact-sales).

## Manage balance

View and top up your balance in the **Developer Console**:

[https://console.memories.ai/stripe](https://console.memories.ai/stripe)

For enterprise pricing, contact [support@memories.ai](mailto:support@memories.ai).
