| Limit | Value |
|---|---|
| Document id | At most 128 bytes, from the characters A-Z a-z 0-9 . _ : / -. An id cannot be exactly . or ... |
| Document state | 1 MB. Images do not count toward it, since they are in the document’s images rather than state. |
| Images per document | 16, across the document’s images. Each image of a list counts, even when two names hold the same image, and a patch counts the images after it merges. |
| Images per compiled context | 16, from the document and the documents it reads together. On an engine that reads images, the images past the limit, and those that do not fit in the context’s tokens, are marked over_the_limit. An engine that reads no images gets each image’s digest. |
| Image | PNG, JPEG or WebP, at most 20 MB decoded and 64 megapixels. Brussle refuses a larger image with too_large. It scales an image that covers more than 2,048 tiles of 32 × 32 pixels down until it fits, and keeps its aspect ratio and format. |
| Attributes per document | 64 |
| Attribute names per namespace | 1,024 different names across the namespace’s documents. A write that adds a name past it gets too_large with details.limit attribute_names, details.id (the document), details.path (its first new attribute) and details.attribute_names (the count). A name counts from its first write until you delete the namespace, even when no document has it any more. A namespace that had more names before this limit keeps them but cannot add more. Keep values that vary, such as ids and timestamps, in attribute values or state, not in names. |
| Documents per write | 1,000 documents or 64 MB, whichever comes first |
A written document’s created_at | At most 5 minutes in the future. Not before 1970. |
| Judgments per namespace | 100 active |
| Subscriptions per namespace | 100 created, on every plan, inherited ones included. A template that gains subscriptions later can take a namespace past it. |
| Fields per subscription | 24 attributes and answers, counting those that its filter reads and those in its include. |
| Versions per judgment | No limit, and Brussle keeps each version until you delete the namespace. |
| Choice options | 254, plus none_of_the_above, which Brussle adds to each choice |
| Score levels | 2 to 10 |
text columns | max_chars is 1 to 16,000 characters, 2,000 when you give none. A longer text is cut there and marked truncated. Each value counts toward the namespace’s bytes. |
json columns | A schema of at most 16 KB, and values of at most 64 KB: a larger value fails its evaluation with too_large. Each value counts toward the namespace’s bytes. |
embedding columns | dimensions is 1 to 4,096. Each value counts toward the namespace’s bytes, 4 bytes a number. |
| Compiled context | The engine’s limit (jev current: 32,000 tokens; jev 1.14.0: 32,000 tokens; gpt-6-luna current: 32,000 tokens), or max_tokens if it is lower |
| Questions per engine request | 32 |
| Model id on your own key | At most 128 characters, from A-Z a-z 0-9 . _ : -, after <provider>/. |
| Provider key | 16 to 512 characters. One live key per provider for your organization, and one for each namespace. |
| Key tests | 50 per organization a UTC day, counting each PUT with a new key and each POST /credentials/{provider}/test. Past it, a test gets rate_limited with Retry-After until the next day. Storing the same key again tests nothing. |
| Judging rate | 5 rows a second for an organization with no credit yet, rising with the credit it has had in total, to no rate of its own from $50,000. See Judging rate. Brussle does not refuse work past the rate, which waits instead. It counts rows a second on the included engines only. |
top_k | 1,000 |
| Namespaces per organization | No limit on the number. An organization creates at most 1,000 new namespaces in each UTC minute. A write, judgment, group or subscription that would create one more gets rate_limited, details.limit, and Retry-After until the next minute, which the SDKs retry up to their retry count (2 by default). A write to a deleted namespace creates it again, so it counts, while writes to namespaces that exist do not. |
| Namespace size | 100,000,000 documents or 256 GB, whichever comes first. The bytes are the namespace’s storage: documents, history, outcomes, evaluations and images. A write that would take the namespace past either limit gets too_large, with details.limit (documents or bytes) and the current details.documents and details.bytes. A write that does not make the namespace larger, such as a delete, still goes through. The size checked can be a few seconds behind your writes, so a namespace can go a little past a limit. Judging continues in a full namespace, and its evaluations still add bytes. default/quickstart has lower limits (below). |
| Namespace name | 256 bytes |
| Non-production prefixes | 20 marked at the same time in each organization. |
Periodic interval | At least 1 hour, and Brussle judges the whole namespace again at each interval. |
| Outcome rules per judgment | 4. Each rule reads one path, and has at most 16 values in in. A rule applies to the writes after you set it. |
| Labelling-queue draw | 1 to 200 documents (default 50), from 10 probability bands, leased for 7 days. A label’s queue_item_id is accepted while the lease holds. |
| Recipe tuning | One run for each judgment version, engine epoch and month |
| Alternatives | One run for each judgment version, engine epoch and month. A confirm after that run extends it. At most 10 engine and named alternatives scored a month, and at most 10 named at the same time, for each judgment version. Each alternative is scored on at most 500 labelled answers. A named alternative past the limit gets invalid_request, so remove one first. |
| Drafted wordings | Up to 4 in each call. Each call uses one of the day’s suggest_parts calls (see composite judgments). |
| Suggested recipe | max_tokens at most 2,000 less the question’s tokens, so that the context and question stay in the standard size class. The recipe keeps long values with a max_chars that fits. excluded tells what the recipe left out and why. |
default/quickstart | 10,000 documents and 100 MB. A write past that gets too_large. The namespace is free, and its judging pauses for the rest of the billing period when it reaches its usage limit. |
| Organizations that coding agents create | 100 in each UTC day, across every agent, with POST /signups. Past it, the route answers rate_limited (HTTP 429) with Retry-After until 00:00 UTC, and a person can still sign up on the dashboard. Each organization waits 7 days for a person to claim it. Unclaimed by then, its key stops working and its namespaces are deleted. |
| Evaluation history export | At most 366 days in each export, the last 30 days by default. Each file has up to 100,000 evaluations, and an export at most 1,000 files. Brussle deletes each file 7 days after it writes it. Each download link works for 1 hour. |
Relations
These limits apply to judgments that read other documents through relations, and Brussle refuses a request over a limit withinvalid_request unless a row gives a different error.
| Limit | Value |
|---|---|
Keys in applies_to and in each relation’s match | 8 each |
| Relations per judgment | 4. Each relation has a last_n, a window or both. A relation that reads a referenced document has no window, and a last_n only to read a named list. A blocking relation needs a window, unless it has relative, which cannot have one. |
last_n on a relation | 1,000. The limit is 254 on a blocking relation and 254 on a named list. It is 10 on a relation whose documents a choice picks from with options.from. |
| Named list | 254 different document ids in an attribute that a named list reads. Brussle refuses a write that puts more there. If documents hold more when you create the judgment, it stays unavailable, and its reference_index job names them. Lists in other attributes have no limit. |
| Judgments whose answers one relation reads | 4. Their paths count toward the relation’s aggregate paths. The relation reads a probability or a score only as a band. |
| Depth of answer reads | 3: judgment A can read B, B can read C, and C can read D. A chain cannot come back to a judgment already in it. No relation reads a composite judgment with parts. A relation reads a choice among candidates (options.from) only through a link to the documents that the choice picks. A count_where can also count whether its value is none_of_the_above. |
| Links to the documents a choice among candidates picks | The link needs when, naming one of that judgment’s thresholds, and reads nothing else of its answers. It reads the judged document’s block, at most that judgment’s block_cap documents. Past the cap, the answer keeps its last value and reads stale until the block is back within it. A link has no reference index of its own. |
A relation that selects by an answer or an outcome in match | Checks every one of the newest 1,000 documents that match on attributes, then keeps the newest last_n that qualify. It shows capped: true when more than 1,000 matched and fewer than last_n of those qualify, because an older one may qualify too. |
| Related documents a relation reads | The newest 1,000 created, whatever its last_n, window and order. A relation to a referenced document reads one. A named list reads the first last_n documents that it names. An order sorts only those 1,000. range_full: true tells you that more documents matched. |
order on a relation | by is created_at, updated_at, state.<path> or attributes.<name>. You can set order on a relation that reads the documents that point at the judged document, and on a named list. You cannot set it on a blocking relation, or on a relation that reads one referenced document. |
relative on a relation | before or after, only on a blocking relation. A relation with relative has no window and no order. It reads at most last_n documents (254 when you do not set it), and a change to one document judges again at most last_n judged documents. |
max_chars on a fields entry | At least 1, counted in Unicode characters. You can set it in a recipe’s fields, in a relation’s fields and in previous.fields, but not in aggregates. |
| Aggregate paths per relation | 8 across sum, avg, min, max, latest and the keys of count_where |
| Bands on a field | 1 to 9 strictly increasing cut points, and one more label than cut points. Each label is up to 64 bytes. |
Features per bool judgment | 12, from every source together: aggregates from relations, the judged document’s own values, ages and previous.p. An age reads only RFC 3339 text, so a number (such as seconds since 1970) is missing. Each feature is a 64-bit number. Counts and whole numbers are exact up to 2^53. A decimal amount is the nearest 64-bit floating-point number. |
| Feature names that Brussle refuses | age(updated_at) and age(id); a feature on a path that an outcome rule reads, where one path is the same as the other or inside it; an aggregate that the recipe does not declare, such as any relation form on a judgment without relations; previous.p on a composite. Each is invalid_request. |
| Reference indexes per namespace | 8, one for each attribute that relations key on, whichever side points through it and however many ways relations use it. Inherited judgments count. One more is refused, and details.reference_indexes names the current ones. |
| Groups per namespace | 8, including inherited groups. Each group has at most 1,000 live key values and 8 aggregate paths. By default, a key value stays live for 90 days after its newest document (keep_keys). The rows of a group are at most about 1 hour behind your writes. |
discover | Up to 10 proposed options (5 by default), from a sample of the escaped documents of the last 7 days by default. Each organization has 10 calls a day, separate from the suggest_parts calls. Past that, a call gets rate_limited, details.limit and details.resets_at, the next midnight UTC. |
escape_alert | Above 0 and at most 1, or null to turn it off. The value is a share of the answers of the last 7 days. Brussle uses it only when there are at least 20 answers. |
simulate | Up to 1,000 sampled documents (200 by default). Each call uses one of the day’s suggest_parts calls. |
| Fan-out settings | fanout.max_wait_ms at least fanout.debounce_ms. rolling_limit 0 or more. block_cap 1 or more. The namespace’s share above 0 and at most 1. |
freshness.budget | calls at least 1, and per day or month, or null to remove it. Past it, the judgment’s changed documents read stale (budget_reached) until the period ends. budget_window shows the last 7 days. |
Composite judgments
These limits apply to composite judgments and their suggested parts.| Limit | Value |
|---|---|
| Parts per composite judgment | 2 to 8. With features, 1 to 8. |
suggest_parts calls | 20 per judgment and 50 per organization a day, across all its namespaces. Past either, a call gets rate_limited with no Retry-After, details.limit (20 or 50) and details.resets_at, the next midnight UTC. A call that fails with engine_unavailable before any work starts does not count, although one that times out does. |
suggest_parts count | 2 to 8 |
Labelled examples suggest_parts needs | 10 of each answer |
Fan-out defaults
A change to a document that other documents read, through a reference or a shared key, makes Brussle judge those documents again within the scope below, the fan-out.rolling_limit applies to each judgment with a relation, roll-ups included. You confirm the limits once, when you create the judgment, and work past a limit waits, with its answers stale, until the limit has room. A PATCH changes each setting without a new version.
| Setting | Default |
|---|---|
fanout.scope.created_within | 30 days. Judged documents created more than 30 days before the change keep their answer. |
fanout.scope.where | none |
fanout.debounce_ms | 600,000 (10 minutes) |
fanout.max_wait_ms | 6 × fanout.debounce_ms, so 3,600,000 |
fanout.rolling_limit | 300,000 documents judged again in any 30 days. The count includes changes to referenced documents and blocks, and changes to the answers that a judgment reads. It counts each document judged again, with or without an engine call. Past the limit, Brussle judges as many documents as fit, at most 1,000 at a time. The rest wait. Set null for no limit. |
fanout.block_cap | 1,000 judged documents per key value of a blocking relation |
Namespace fanout.share | 0.5 of the namespace’s in-flight engine requests. Always at least one request. |
Requests
| Limit | Value |
|---|---|
| Estimated query scan | 4 GB. Brussle refuses a larger query with too_large and does not bill it. |
wait_ms on a get | 10,000 ms. Brussle refuses a larger value with invalid_request. |
wait_timeout_ms on a write | 10,000 ms. Brussle lowers a larger value to 10,000 ms. |
| Documents of one write judged at interactive priority | The first 16. Brussle judges the rest with ordinary catch-up, so a large wait_for write usually returns them pending. |
| Request time | 35 seconds. Brussle stops a longer request and answers unavailable (503) with Retry-After. Retry after that time, as the SDKs do, with the same Idempotency-Key for a request that changes something. |
| Answer time of a change that estimates first | 20 seconds. Three requests estimate a cost before they change something: create a judgment version, change a judgment with PATCH, and ask for a backfill, with or without confirm. If the estimate takes longer, the request answers 202 with a job that finishes it. See when a change takes long. |
| Start of a change that estimates first | 25 seconds. The same three requests do not start their change after this much of the request has passed, so when one gets unavailable because of the request time, nothing changed, and a retry makes the change once. |
| Calibration report and threshold recommendation | Each reads every outcome and evaluation up to the request. If that takes more than 25 seconds, the request gets unavailable with Retry-After: 5 while Brussle continues, and a retry after that time gets it. This can happen the first time that you read the report of a judgment with a long history. |
| Query cursor validity | 10 minutes |
| Requests per key | 1,000 per second by default, for each API key. Each dashboard user also has this limit. |
| Requests per organization | 2,000 per second by default, for all your organization’s API keys together, so more keys do not give more requests. The dashboard does not count toward it. |
| A request past a rate limit | A request must be inside both limits. Past either, it gets rate_limited (429) and Retry-After, with details.rate_limit (per_key or per_org) and details.limit. A refused request does not count. Each limit is counted over about one second, so a burst can be refused a little before it. Retry after Retry-After seconds, as the SDKs do. |
| Rate-limit headers | A response to a request whose key Brussle accepted has X-RateLimit-Limit and X-RateLimit-Remaining, for the limit with fewer requests left, or on a refusal the limit that refused it. A request refused before the key is known has none: unauthorized (401), a route that does not exist (404) and a malformed namespace name (400). |
| API keys per organization | 10,000 that are not revoked, by default. At the limit, the dashboard creates no key until you revoke one; your keys keep working. |
| Higher limits | To ask for a higher limit per key, per organization or for keys, email scale@brussle.com with your organization’s id and the limit that you need. |
| Reads in flight per namespace | 32 gets and queries of one namespace at the same time, from all your keys together. One more gets rate_limited, Retry-After: 1 and details.concurrent_reads (the limit), whatever the rate-limit headers say. Retry the read, as the SDKs do, or spread reads over time or namespaces. |