Skip to content

Limits and Billing Fields ​

Limits and billing fields are used to determine whether a request is allowed to execute, how much it consumes after execution, and whether it triggers cost or rate controls.

Limit Types ​

TypeDescription
User quotaUser account balance or subscription benefits
Token quotaQuota, expiration time, or model scope of an individual API Token
Model rate limitingRequest limits configured by model
User model rate limitingSuccessful request frequency limit for a user and a model
System rate limitingGlobal API rate limits, Critical operation rate limits, and anonymous request body limits
Upstream rate limitingRPM, TPM, concurrency, or balance limits returned by the provider

Billing Reference Fields ​

FieldDescription
modelRequest model, which affects pricing
prompt_tokensInput Tokens
completion_tokensOutput Tokens
cache_readCache read Tokens, depending on the upstream provider
cache_creationCache write Tokens, depending on the upstream provider
groupUser group, which may affect the multiplier
channel_idActual channel, used to track upstream costs

429 Diagnosis ​

A 429 response does not necessarily originate from the platform; it may also come from the upstream provider. Use the error body, the channel in the logs, and the Request ID to determine whether it is Token rate limiting, model rate limiting, system rate limiting, or provider rate limiting.