> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Limits and billing

> Plans, the rate card, how batches, storage and queries are priced, cost estimates, rate limits per plan, 429 handling and resource limits.

| Section | Answers |
| - | - |
| [Plans](#plans) | What each plan costs and includes |
| [Rate card](#rate-card) | The price of each feature, per unit |
| [How a batch is priced](#how-a-batch-is-priced) | What one ingestion run costs |
| [Storage and queries](#storage-and-queries) | Monthly costs after indexing |
| [Estimate a cost](#estimate-a-cost) | Quote files or a whole manifest before running |
| [Spending limits and usage](#spending-limits-and-usage) | Caps, usage reports and invoices |
| [Rate limits](#rate-limits) | Requests per minute and the rate limit headers |
| [When you get a 429](#when-you-get-a-429) | Organization limits, retriever admission, retries |
| [Resource limits](#resource-limits) | Namespaces, collections, file sizes per plan |

Everything is priced in dollars. For a file type, **price = units x (base rate + rates of the features you enable)**, where a unit is an image, a video or audio minute, a page, a token or a crawled page. Each plan is a monthly fee that includes a usage pool; usage past the pool bills at the same rate card.

## Plans

| | Build | Scale | Enterprise |
| - | - | - | - |
| Monthly fee | \$25 | \$250 | Custom |
| Included usage pool | \$10 | \$100 | Custom |
| Pool equals, for example | 6,734 images, or 222 video minutes, or 6,734 pages | 67,340 images, or 2,222 video minutes, or 67,340 pages | Contract |
| Overage | Rate card | Rate card | Contract |
| Custom extractors | Included | Included | Included |
| Support | Email | Priority and private Slack | Dedicated |

The pool is one dollar amount you spend on any mix of file types and features; the equivalents are the pool divided by each base rate. It does not roll over. Upgrades take effect at once and are prorated; downgrades take effect next cycle. Plans bill monthly by card through Stripe; Enterprise is invoiced on contract terms and runs on [dedicated infrastructure](https://docs.mixpeek.com/docs/production/deployment.md#mixpeek-cloud-dedicated).

`GET /v1/organizations` returns `requires_plan`. While it is `true`, creating namespaces and billable work return `403 PlanRequiredError` with a link to [choose a plan](https://studio.mixpeek.com/signup/plan). `account_type`, `credit_count` and `requires_plan` on the organization are the whole plan surface.

## Rate card

`GET /v1/billing/pricing` returns the live rate card with no API key. Studio, the website and the billing engine read the same payload, so read rates from it instead of hardcoding them.

```bash cURL theme={null}
curl "https://api.mixpeek.com/v1/billing/pricing"
```

Rates on 2026-12-04:

| File type | Unit | Base feature | Add-on features |
| - | - | - | - |
| `image` | image | `image_search` \$1.485 per 1,000 | `faces` $0.771 per 1,000; `multimodal_understanding` $0.30 per 1,000 |
| `video` | minute | `video_search` \$0.045 | `faces` $0.1698; `onscreen_text` $0.1098; `audio_fingerprint` $0.0033; `video_transcode` $0.012; `transcript` $0.012; `multimodal_understanding` $0.3186 |
| `audio` | minute | `audio_search` \$0.0033 | `transcript` $0.012; `multimodal_understanding` $0.00088 |
| `document` | page | `document_search` \$1.485 per 1,000 | `faces` $0.771 per 1,000; `document_layout` $3.234 per 1,000; `multimodal_understanding` \$0.30 per 1,000 |
| `text` | token | `text_search` \$1.35 per 1M | `multimodal_understanding` \$1.50 per 1M |
| `web` | crawled page | `web_crawl` \$16.968 per 1,000 | None |

Clustering and taxonomy enrichment are `kind: "included"` on every file type and cost nothing extra.

| Payload field | Meaning |
| - | - |
| `modalities[].base` | Rate to make a file type searchable; every collection for that type gets it |
| `modalities[].addons` | Opt-in features at the same unit. `kind: "external"` rows run on an external LLM |
| `usage_pools` | Each plan's fee, pool and pool equivalents |
| `mvs_usage_rates` | Storage, vector, query and write rates |
| `reads` | Query overage and query-image embedding rates |
| `full_res_multiplier`, `batch_minimum_usd`, `custom_model_markup`, `inference_passthrough_markup` | Modifiers described below |
| `placeholder_rates` | `false` means the rates are live and billable |

Base and add-on rates are set at 3 times Mixpeek's compute cost, external rows at 2 times the model provider's cost, and object storage at 4 times the storage provider's price. A `custom:<plugin>` feature takes its rate from the compute profile the plugin declares. The nested `v2` object in the payload is a deprecated alias of the top-level keys.

To cost a workload from code before signing up:

```python price_workload.py theme={null}
import requests

card = requests.get("https://api.mixpeek.com/v1/billing/pricing").json()
video = next(m for m in card["modalities"] if m["modality"] == "video")
rates = {video["base"]["key"]: video["base"]}
rates.update({a["key"]: a for a in video["addons"]})

minutes = 6000
wanted = [video["base"]["key"], "faces", "onscreen_text"]
usd = sum(minutes / rates[k]["per"] * rates[k]["rate_usd"] for k in wanted if k in rates)
print(f"~${usd:,.2f} per month before your plan's included usage")
```

## How a batch is priced

Each object bills **units x (base rate + enabled add-on rates)**. A 10-minute video with `faces` and `onscreen_text` bills 10 x ($0.045 + $0.1698 + $0.1098) = **$3.25\*\*.

| Rule | Effect |
| - | - |
| Measured units | Minutes come from measured duration and pages from real page counts; estimates at submit are trued up at completion in both directions |
| Batch minimum | Each batch bills at least \*\*$0.05** (`batch_minimum_usd`). An upload with `auto_process=true` starts one batch per object, so 50 single-image uploads pay $2.50 where one batch of 50 pays about \$0.07. Upload with `auto_process=false` and submit one batch |
| Your own models | A collection running a model you imported bills its base rate plus 50% (`custom_model_markup`), shown as a `custom_model_compute` line |
| Full resolution | Content is normalized once at ingest (video to a 720p mezzanine, images capped, audio to 16 kHz mono); originals stay in your bucket. `full_res: true` bills 2 times (`full_res_multiplier`) |
| Deduplication | Content already processed with the same content hash skips extraction and is not billed again |
| `POST /v1/inference` | A call on Mixpeek's provider key costs 2 times (`inference_passthrough_markup`) the provider's token price. A call passing its own `api_key` is not charged for the model |

There is no fee for deploying a template or manifest. Compute scales to zero when idle; storage and the plan fee still bill.

## Storage and queries

| Item | Rate | Payload field |
| - | - | - |
| Vectors stored | \$1.56 per 1M per month | `mvs_usage_rates.vectors_stored_per_million_month_usd` |
| Storage, Standard | \$0.08 per GB-month | `mvs_usage_rates.storage_per_gb_month_usd` |
| Storage, colder classes | Nearline $0.04, Coldline $0.016, Archive \$0.0048 per GB-month | |
| Hot cache | \$25 per GB-month | `mvs_usage_rates.hot_cache_per_gb_month_usd` |
| Queries | \$2 per 1M | `reads.overage_usd_per_1m_queries` |
| Writes (MVS) | \$2 per 1M | `mvs_usage_rates.writes_per_million_usd` |
| Image as a query | \$0.001 per image embedded, listed as `retriever_query_embedding` | `reads.image_query_embedding_usd` |

A query that sends a precomputed vector embeds nothing and is not billed for embedding. Cached retriever responses are free. Using the vector store with your own embeddings and no extraction bills the plan fee plus these MVS rates; see `mvs_plans` in the payload and [Vector store](https://docs.mixpeek.com/docs/manage/vector-store.md).

## Estimate a cost

`POST /v1/organizations/billing/estimate` quotes with the same rating engine that bills, so the quote matches the charge. It needs an API key on an active plan.

```bash cURL theme={null}
curl -X POST "https://api.mixpeek.com/v1/organizations/billing/estimate" \
  -H "Authorization: Bearer $MIXPEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "items": [{ "mime_type": "video/mp4", "minutes": 42 }], "features": ["faces"] }'
```

```python Python theme={null}
import os
import requests

quote = requests.post(
    "https://api.mixpeek.com/v1/organizations/billing/estimate",
    headers={"Authorization": f"Bearer {os.environ['MIXPEEK_API_KEY']}"},
    json={"items": [{"mime_type": "video/mp4", "minutes": 42}], "features": ["faces"]},
).json()
print(quote)
```

```javascript JavaScript theme={null}
const resp = await fetch("https://api.mixpeek.com/v1/organizations/billing/estimate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MIXPEEK_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ items: [{ mime_type: "video/mp4", minutes: 42 }], features: ["faces"] }),
});
console.log(await resp.json());
```

The response itemizes dollars per file type and feature, and splits what falls inside your remaining pool from overage. Pass `batch_count` to price several batches, such as one per `auto_process` upload.

### Quote a namespace

Send a [manifest](https://docs.mixpeek.com/docs/manage/manifests.md), the files each bucket will hold, and queries per month:

```bash cURL theme={null}
jq -n --rawfile manifest namespace.yaml '{
    manifest: $manifest,
    inventory: {"product-photos": {objects: 200, images: 200}},
    queries_per_month: 10000
  }' |
curl -X POST "https://api.mixpeek.com/v1/organizations/billing/estimate" \
  -H "Authorization: Bearer $MIXPEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d @-
```

`inventory` takes, per bucket name: `objects`, `videos`, `minutes`, `audio_minutes`, `images`, `pages`, `tokens`. A bucket you leave out is quoted at zero; a bucket the manifest does not declare returns `422` naming it.

| `manifest_quote` field | Meaning |
| - | - |
| `index_usd` | Indexing the files, charged once |
| `monthly_usd` | Storage for what they produce, plus your queries |
| `storage_usd`, `queries_usd` | The two parts of `monthly_usd` |
| `unit_prices` | The charge for each additional file, per feature |
| `collections` | Each figure per collection |
| `unpriced_collections` | Collections whose extractor has no rate-card price, with the reason; never priced at \$0 |

Studio's Apply page shows these three figures before you deploy a template or manifest.

## Spending limits and usage

Set a hard spending limit in [Studio Billing](https://studio.mixpeek.com/billing) or the [spending caps API](https://docs.mixpeek.com/docs/api-reference/organization-billing/get-spending-caps.md); Studio's Apply page can set one at twice a quote. At the limit, a batch submit returns `400` with `details.reason: "spending_cap_reached"` and a message naming this month's cost and the limit; search keeps working. Budgets per namespace are on [Namespaces](https://docs.mixpeek.com/docs/manage/namespaces.md). The default alert **Spend reached 80 percent of the monthly budget** emails you first ([Default alerts](https://docs.mixpeek.com/docs/enrich/alerts-and-triggers.md#default-alerts)).

Mixpeek also has a monthly spending stop across all organizations. While it holds, new paid work returns `402 PaymentRequiredError`; it lifts when Mixpeek lifts it or on `details.lifts_on`, and search keeps working.

| To read | Call |
| - | - |
| Current-period usage: units per file type and feature, storage, reads, pool used, overage, total | [Get current usage](https://docs.mixpeek.com/docs/api-reference/organization-billing/get-current-usage.md), or Studio Billing |
| Spend by category | `GET /v1/organizations/usage` |
| Spend per API key | `GET /v1/organizations/api-keys/{key_id}/usage` |
| Invoices (plan fee plus overage, by file type and feature) | [List invoices](https://docs.mixpeek.com/docs/api-reference/organization-billing/list-invoices.md) |

A legacy `credits` field in an older response is an internal unit worth \$0.001; the dollar fields beside it are canonical.

## Rate limits

Each request counts against one of five categories. Each category has its own counter per organization, reset 60 seconds after the first request in the window. All API keys in an organization share the counters, so spreading traffic across keys does not raise the limit. Studio session requests do not count. `GET /v1/me` returns your plan as `account_type` and your limits as `rate_limits`.

| Category | What counts against it |
| - | - |
| `metadata` | Configuration calls: namespaces, collections, retrievers and other resources |
| `data` | Object and document reads and writes |
| `search` | Retriever and taxonomy executions |
| `upload` | File uploads |
| `compute` | Cluster runs and batch processing |

Requests per minute:

| Category | Build | Scale | Enterprise |
| - | - | - | - |
| `metadata` | 120 | 500 | Custom |
| `data` | 120 | 500 | Custom |
| `search` | 300 | 1,000 | Custom |
| `upload` | 30 | 60 | Custom |
| `compute` | 15 | 30 | Custom |

An account created without a plan, for example through agent sign-up, has lower limits. A key's `rate_limit_override` adds a second, lower cap for that key alone ([API keys](https://docs.mixpeek.com/docs/production/security.md#create-an-api-key)).

A successful response carries the counter for its category:

```http Rate limit headers theme={null}
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 41
```

`X-RateLimit-Reset` is the seconds until the window resets.

## When you get a 429

### Organization limit

```json 429 body theme={null}
{
  "success": false,
  "status": 429,
  "error": {
    "message": "Rate limit exceeded. Please wait before making more requests.",
    "type": "TooManyRequestsError",
    "details": {
      "organization_id": "org_abc123",
      "rate_limit": 120,
      "current": 121,
      "api_name": "metadata",
      "period_seconds": 60,
      "account_type": "build",
      "reason": "rate_limit_exceeded",
      "retry_after_seconds": 41
    }
  }
}
```

`api_name` is the category that ran out. Wait `retry_after_seconds`; a retry counts against the same window.

### Retriever executions under load

Retriever executions have a second limit. When a server is busy, each namespace gets an equal share of its executions, and your background work (alerts, triggers, evaluations) gets a smaller share than user requests, so a burst in one namespace does not slow your others. An execution that waits more than 10 seconds for its share, or that the vector store sheds because a namespace is past its share of capacity, returns `429` with a `Retry-After` header:

```json 429 body theme={null}
{
  "success": false,
  "status": 429,
  "error": {
    "message": "Namespace ns_abc123 has more retriever executions in flight than its share of this server; waited 10.0 s. Retry after 2 s.",
    "type": "TooManyRequestsError",
    "details": {
      "reason": "namespace_admission_wait",
      "namespace_id": "ns_abc123",
      "waited_seconds": 10.0,
      "retryable": true,
      "retry_after_seconds": 2
    }
  }
}
```

`reason` is `namespace_admission_wait` when the API server ran out of slots (only this one carries `waited_seconds`) and `namespace_shed` when the vector store did. Cap the concurrency of a process that sends many executions at once, such as an evaluation loop. A cached result never waits.

### Retry

```python retry.py theme={null}
import os
import time

import requests


def post_with_retry(url, payload, max_retries=5):
    headers = {
        "Authorization": f"Bearer {os.environ['MIXPEEK_API_KEY']}",
        "X-Namespace": os.environ["NAMESPACE_ID"],
    }
    for attempt in range(max_retries):
        resp = requests.post(url, headers=headers, json=payload)
        if resp.status_code != 429:
            return resp
        details = resp.json().get("error", {}).get("details", {})
        wait = details.get("retry_after_seconds") or int(resp.headers.get("Retry-After", 2 ** attempt))
        time.sleep(wait)
    raise RuntimeError("rate limited after retries")
```

To stay under the limits, use batch endpoints instead of one call per object, enable retriever caching, submit batches and poll tasks instead of blocking, and set `budget_limits` on LLM-heavy retrievers. Enterprise contracts set custom limits, reserved capacity and SLAs; support can grant a temporary increase for a one-off spike such as a reindex.

## Resource limits

| Resource | Build | Scale | Enterprise |
| - | - | - | - |
| Namespaces | 5 | 25 | No limit |
| Collections | 25 | 200 | No limit |
| Buckets | 25 | 200 | No limit |
| Retrievers | 10 | 50 | No limit |
| Webhooks | 10 | 100 | No limit |
| Documents per collection | 1,000,000 | 10,000,000 | No limit |
| Results per query | 10,000 | 100,000 | No limit |
| Storage | 50 GB | 500 GB | No limit |
| File size per upload | 5 GB | 10 GB | 50 GB |
| Processing time per job | 2 hours | 3 hours | No limit |
| Apps | 5 | 50 | No limit |

Creating a resource past the limit returns `422`, and existing resources keep working:

```json 422 body theme={null}
{
  "success": false,
  "status": 422,
  "error": {
    "message": "Resource limit exceeded. build tier allows maximum 25 collections",
    "type": "ValidationError",
    "details": { "resource_type": "collections", "current_count": 25, "limit": 25, "tier": "build" }
  }
}
```

An upload past the storage limit fails with `422` and `Storage quota exceeded`; existing documents stay queryable. Delete what you no longer use or move to a larger plan.

## Related

* [Authentication and access](https://docs.mixpeek.com/docs/production/security.md): API keys and per-key caps
* [Monitoring and troubleshooting](https://docs.mixpeek.com/docs/production/monitoring.md): usage analytics and error types
* [Namespaces](https://docs.mixpeek.com/docs/manage/namespaces.md): per-namespace budgets
* [Get pricing](https://docs.mixpeek.com/docs/api-reference/pricing/get-pricing-configuration.md) and [organization billing](https://docs.mixpeek.com/docs/api-reference/organization-billing/get-current-usage.md) in the API reference


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