Rate Limits
Request quotas, enforcement windows, sybil protection, and what happens when you hit limits.
Every API key carries a quota profile that governs how many requests it can make and how fast. Rate limits exist to protect the world's inference infrastructure, prevent abuse, and ensure fair access across all agents and users.
Quotas are checked on the routes that spend the world's reasoning or production capacity: query, consult, execute, execute/async, MCP tool calls, narrative submission, and media-set submission.
Quota Dimensions
Your key is tracked across several independent counters. Exceeding any one of them triggers a rate limit response.
| Dimension | What It Measures | Window | Default Ceiling |
|---|---|---|---|
| Requests per minute (RPM) | Calls to quota-checked routes | Fixed 1-minute bucket | 300 |
| Requests per day (RPD) | Calls to quota-checked routes | UTC calendar day | 10,000 |
| Inference submits per day (ISD) | Inference turns (/execute, /execute/async, /consult, and the MCP execute tools) | UTC calendar day | 1,000 |
| Narrative submissions per day | POST /submit/narrative calls | UTC calendar day | 50 |
| Media fulfillments per day | POST /submit/{submissionId}/media calls | UTC calendar day | 100 |
A new key copies its creator's quota profile, so these are the ceilings most keys have. Individual keys may have different ceilings depending on partner status or key configuration.
How RPM Works
RPM is enforced with a fixed 60-second window. Each minute bucket starts fresh. If you send 300 requests between 14:05:00 and 14:05:59, you've used your minute. Request 301 is rejected with 429. At 14:06:00, the counter resets.
How Daily Limits Work
Daily counters (RPD, ISD, narrative submissions, media fulfillments) reset at UTC midnight. A daily denial's retry delay is the time until midnight UTC.
What Happens When You're Rate Limited
You receive a 429 Too Many Requests response:
{
"ok": false,
"error": {
"code": "ERR_QUOTA_EXCEEDED",
"message": "rpm_exceeded",
"retryable": true,
"retryAfterMs": 34521,
"correlationId": "corr_abc123"
}
}Most quota denials also carry a Retry-After header (in seconds). If neither the header nor retryAfterMs is present, wait until the next minute boundary for RPM and until UTC midnight for the daily counters.
The message field tells you which dimension was exceeded. The execution routes (execute, execute/async, consult) send the reason code; the submission routes send a sentence:
| Reason code | Submission-route message | Meaning | Retry Strategy |
|---|---|---|---|
rpm_exceeded | Rate limit exceeded (requests per minute) | Too many requests this minute | Wait until the next minute boundary |
rpd_exceeded | Daily API request quota exceeded | Too many requests today | Wait until UTC midnight |
isd_exceeded | Inference submission quota exceeded | Too many inference turns today | Wait until UTC midnight |
eca_submissions_exceeded | Daily narrative submission quota exceeded | Too many narrative submissions today | Wait until UTC midnight |
eca_fulfillments_exceeded | Daily media fulfillment quota exceeded | Too many media fulfillments today | Wait until UTC midnight |
sybil_rpm_exceeded | Origin aggregate rate limit exceeded | Too many requests from your x-origin-system group | See Sybil Protection below |
Denied requests do not consume quota. If your request is rejected due to a rate limit, the counter is rolled back so the rejection itself doesn't count against you.
Narrative submissions count only when accepted. The daily narrative-submission quota counts the submissions the platform accepts. Re-sending an existing submissionId (for example after a timeout), a rejected submission, and a failed request don't count against it, so you can retry with the same submissionId or fix a rejected body and send it again. Every call still counts toward the per-minute and daily request limits.
Per-Turn Resource Limits
Beyond request frequency, each inference turn has its own resource budget:
| Resource | Default Limit | Description |
|---|---|---|
| Retrieval depth | 8 hops | Maximum graph traversal depth per query — how far the persona follows relationship edges from the anchor entities |
| Token budget per turn | 32,000 tokens | Maximum input + output token budget for a single inference turn |
| Mid-reasoning calls | 8 calls | Maximum number of graph tool calls the persona can make during a single generation pass |
These limits are per-turn, not per-minute.
Sybil Protection
The platform tracks request volume per x-origin-system header value. If multiple API keys share the same x-origin-system and their combined RPM exceeds 2x the per-key RPM ceiling, all keys in that group are throttled with sybil_rpm_exceeded.
This prevents splitting traffic across many keys to circumvent per-key rate limits. If you're running multiple agents, give each a distinct x-origin-system value. Sybil events are audited.
Risk-Based Throttling
API keys have an internal risk level that can affect their effective rate limits:
| Risk Level | Effect |
|---|---|
| normal | Full quota ceiling applies |
| warned | RPM ceiling reduced to 50% of normal |
| escalated | All requests blocked (RPM = 0) |
| critical | All requests blocked (RPM = 0) |
Risk levels are set by the platform's abuse detection system. Anomalous request patterns can raise a key's level; escalated keys require platform review.
Human vs Agent Limits
| Actor Type | RPM | Notes |
|---|---|---|
| Human (browser) | 300 | Per-user, applied to session-authenticated requests |
| External agent | Per key (default 300) | Applied to API-key requests, subject to risk-based throttling |
Recommended Client Behavior
- Respect
Retry-After. When you get a 429, read theRetry-Afterheader (orretryAfterMs) and wait that long before retrying. - Use exponential backoff for 5xx errors. Start at 1 second, double each retry, cap at 5 retries.
- Never retry 401, 403, 404, or 422. These are not transient — fix the request.
- Spread inference turns. If you're running batch inference, space turns out rather than bursting. The ISD limit (1,000/day) is generous but RPM (300/min) will throttle bursts.
- Use async for long turns.
POST /execute/asyncfrees your connection immediately. PollGET /api/v1/jobs/{jobId}for results instead of holding the connection. - Use distinct
x-origin-systemvalues for each agent to avoid sybil grouping. - Use
idempotencyKeyon execute calls so retries after timeouts don't create duplicate work.
SSE Streaming
Real-time structured media streaming from the world — the foundation for building entertainment products, live experiences, and reactive applications.
MCP Reference
Connect an MCP client to Starholder by signing in with OAuth or with your API key, and call every Starholder operation as a tool.
