---
title: Limits
description: Per-space quotas, request and rate limits, and the size limits on each field. These are the hosted defaults.
---

The hosted service has per-space limits. There is no SLA.

## Per-space quotas

| Item | Limit | When full |
| --- | --- | --- |
| Memories | 5,000 | `422 quota_exceeded` |
| Records (all collections) | 2,000 | `422 quota_exceeded` |
| Open actions (`pending`, `approved`, `executing`) | 500 | `422 quota_exceeded` |
| Journal entries (day and week) | 800 | `422 quota_exceeded` |
| KV keys | 1,000 | `422 quota_exceeded` |
| Events | 10,000 | Oldest dropped automatically |
| Members | 10 | `422 quota_exceeded` |
| Open invites | 5 | `422 quota_exceeded` |

`GET /v1/space` (MCP `space_get`) returns current `usage` and `limits`. `usage` counts memories, records, open actions, journal entries, KV keys, events, members, and open invites.

From 80% of a limit, `GET /v1/space` lists it in `warnings`, one line per limit with what to do, and `GET /v1/context` (MCP `get_context`) adds the same `warnings`, so the agent can tell the person before anything is refused. Events never warn, since the oldest are dropped instead.

To make room, [forget](/docs/forget-and-privacy) or delete items. Finished actions do not count toward the open-actions quota.

## Requests

| Limit | Value |
| --- | --- |
| Requests per space (all members together) | 120 per minute (`429 rate_limited`) |
| New spaces per IP address | 10 per hour (`429 rate_limited`) |
| Invite and recovery codes tried per IP address (accepting an invite, using a recovery code, or pasting either on the OAuth sign-in page) | 10 per hour (`429 rate_limited`) |
| Request body | 256 KB (`413`) |
| Ops per batch | 50 |
| Facts per import (`POST /v1/memories/import`) | 500 (all must fit in the memories quota, or nothing is stored) |
| KV value size | 64 KB (JSON-encoded) |

## Meaning search

The hosted service caps what it spends on embeddings, to stay within Cloudflare's free Workers AI allowance, and how many vectors it stores, to fit its database. Vectors are stored in Postgres (pgvector) next to the facts. When a cap is reached, meaning search pauses until the next UTC day (or month) and recall answers with word search only (`search.meaning` is `budget`). Nothing else is affected.

| Limit | Value |
| --- | --- |
| AI budget, all spaces | 9,000 Workers AI neurons per UTC day |
| Embedding budget, one space | 300 neurons per UTC day (roughly 1,500 short facts, or thousands of recalls) |
| Meaning queries, all spaces | 1,000,000 per UTC month |
| Stored embeddings, all spaces | 100,000 (checked hourly; past it, new facts are found by words only) |
| Text embedded per fact | The first 1,500 characters of subject and text |

New and edited facts become findable by meaning after a few minutes at most, usually two or so (words work immediately). A space using [its own OpenAI key](/docs/own-openai-key) doesn't use the AI budgets above. It has its own limit of 2,000,000 estimated tokens per UTC day, and still counts towards the query and stored-embedding limits.

Facts that could not be embedded (budget reached, or an outage) are embedded by the hourly maintenance run once there is room.

## Retention and dreaming

| Setting | Value |
| --- | --- |
| Inactive space deletion | 90 days after the last request |
| Activity log | 30 days, and at most 5,000 rows per space |
| Scratch facts | Removed by dreaming after 14 days if never recalled |
| Dream interval | At most one scheduled dream per 20 hours |
| Scheduled dreams | 2 per hourly run across the service, oldest first. Client-mode dreams you start yourself aren't limited. |
| Changes per dream | 50 (LLM stage) |
| Server-mode dreams | Share the daily AI budget above; skipped (not failed) when it is used up |
| Dream undo window | 7 days |

## Field sizes

| Field | Limit |
| --- | --- |
| Memory `text` | 1 to 4,000 characters |
| Memory `subject` | 200 characters |
| Memory `tags` | 20 tags, 50 characters each |
| `source_ref` | 500 characters |
| Journal `summary` | 4,000 characters |
| Journal `decisions`, `open_loops`, `source_refs` | 50 items, 500 characters each |
| Collection and KV namespace names | 1 to 64 characters: letters, digits, `_`, `.`, `-` |
| Record and KV `key` | 200 characters |
| Record `status` | 50 characters |
| Action `class` | 64 characters |
| Action `summary` | 1,000 characters |
| Action `idempotency_key` | 200 characters |
| Event `kind` / `status` | 64 characters each |
| Recall `q` | 500 characters (first 16 words are used) |
| Extract `messages` | 100 messages, 8,000 characters each |
| Extract `about` | 500 characters |
| Extract facts | 20 per submission |
| Forget `ids` | 200 per call |
| Forget `query` | 2 to 200 characters |
| Forget matches | 500 per scope per call (`truncated: true` means run it again) |

## Page sizes

| List | Default | Max |
| --- | --- | --- |
| `GET /v1/memories` | 20 | 100 |
| `open_records` in `GET /v1/context` | 20, or 50 if you name collections | 50 |
| `GET /v1/collections/{c}/records` | 50 | 100 |
| `GET /v1/actions` | 50 | 100 |
| `GET /v1/journal` | 31 | 100 |
| `GET /v1/events` | 50 | 200 |
| `GET /v1/activity` | 50 | 200 |
| `GET /v1/kv/{ns}` | all, up to 500 | 500 |

`GET /v1/context` reads up to 200 pinned and core facts (cut to `budget_chars`, 200 to 20,000), 50 due records, 50 open records, and 50 open actions.
