Rate and plan limits
OpenPike applies your own limits (budgets, pauses, loop limits) and your plan’s limits before forwarding a request; this page lists them in the order they are checked.
Order of checks
Section titled “Order of checks”- Virtual key. Invalid or revoked:
401 invalid_virtual_key. Too many invalid keys from one IP in a minute:429 too_many_auth_failures. - Tags.
x-openpike-tagsbreaking the limits:400 invalid_tags. - Pauses. A manual pause on the key or one of the request’s tags:
429 scope_paused. A loop pause still running:429 loop_detected. - Hard budgets. Any matching budget used up for its period:
429 budget_exceeded. - Plan’s monthly requests. Over the limit in block mode:
429 plan_limit_reached; in throttle mode, more than 10 a minute:429 plan_limit_throttled. - Loop request rate. The request would exceed a loop limit’s requests per minute:
429 loop_detected, and the scope is paused. - Run limits. The request’s run (
x-openpike-run) has reached a spend, request or time cap:429 run_limit_exceeded. See Run budgets. - Model and provider. Malformed body or model, unknown provider or alias:
400. Provider not enabled:403. No provider key:424.
Checks 3 to 7 run in one call to the organization’s limit service, in parallel with reading the body and resolving the model, so they add little time. A request that passes them counts toward the plan’s monthly requests, even if step 8 then rejects it. The provider’s own rate limits apply after that as usual; its 429 comes back as upstream_error.
Your limits
Section titled “Your limits”Budgets, loop limits, run limits and pauses are yours to set per workspace, key or tag. See Budgets, Loop detection and pausing and Run budgets.
Plan limits
Section titled “Plan limits”| Free | Team | Business | |
|---|---|---|---|
| Price | $0 | $49/month or $490/year | $199/month or $1,990/year |
| Requests a month | 10,000 | 1,000,000 | 10,000,000 |
| Active virtual keys | 3 | 50 | Unlimited |
| Log retention | 3 days | 30 days | 90 days |
| Loop detection | No | Yes | Yes |
| Slack alerts | No | Yes | Yes |
| Audit log | No | No | Yes |
| Prompt logging | No | No | Yes |
Limits count across the organization’s workspaces. The monthly count resets at 00:00 UTC on the 1st. See Billing and plan limits.
No per-second rate limit
Section titled “No per-second rate limit”OpenPike sets no requests-per-second limit of its own beyond the plan’s monthly requests and the throttle. Your providers’ rate limits for your keys still apply.