SimpleLLMDocs
HTTP API
Markdown ↗

Read rate-limit status

GET /v1/rate-limit

General minute request and free-model hourly/daily counters. Does not enumerate all key, model or upstream limits.

Base URL: https://api.simplellm.eu. Authenticate using Authorization: Bearer $SIMPLELLM_API_KEY.

Example request

bash
curl --fail-with-body https://api.simplellm.eu/v1/rate-limit \
  -H "Authorization: Bearer $SIMPLELLM_API_KEY"

Responses

HTTP 200

Successful response

Content-Type: application/json

FieldTypeRequiredMeaning
limit_rpmintegerNoGeneral minute request bucket.
used_rpmintegerNoGeneral minute request bucket.
remaining_rpmintegerNoGeneral minute request bucket.
limit_rphintegerNoFree-model rph bucket.
used_rphintegerNoFree-model rph bucket.
remaining_rphintegerNoFree-model rph bucket.
limit_rpdintegerNoFree-model rpd bucket.
used_rpdintegerNoFree-model rpd bucket.
remaining_rpdintegerNoFree-model rpd bucket.
limit_tphintegerNoFree-model tph bucket.
used_tphintegerNoFree-model tph bucket.
remaining_tphintegerNoFree-model tph bucket.
limit_tpdintegerNoFree-model tpd bucket.
used_tpdintegerNoFree-model tpd bucket.
remaining_tpdintegerNoFree-model tpd bucket.
reset_secondsintegerNoMinute-bucket reset only.
bannedbooleanNo
banned_untilstringNo

Illustrative response shape only; IDs, timestamps and counters below are synthetic, not live limits or customer data.

json
{
  "limit_rpm": 0,
  "used_rpm": 0,
  "remaining_rpm": 0,
  "limit_rph": 0,
  "used_rph": 0,
  "remaining_rph": 0,
  "limit_rpd": 0,
  "used_rpd": 0,
  "remaining_rpd": 0,
  "limit_tph": 0,
  "used_tph": 0,
  "remaining_tph": 0,
  "limit_tpd": 0,
  "used_tpd": 0,
  "remaining_tpd": 0,
  "reset_seconds": 0,
  "banned": false,
  "banned_until": "example"
}

Error handling

Errors can occur in authentication, billing, routing or the upstream service; not every status applies to every route.

StatusMeaning
400Invalid request
401Invalid credentials
402Insufficient credits
403Access denied
404Model or resource not found
429Rate or capacity limit
500Internal error
502Routing or upstream error
503Temporarily unavailable
504Deployment timeout

See Troubleshooting for response examples and Rate limits & retries for retry rules.

Machine-readable schema

Download OpenAPI JSON. Operation ID: getRateLimit.

Search the complete documentation.