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
| Type | Description |
|---|---|
| User quota | User account balance or subscription benefits |
| Token quota | Quota, expiration time, or model scope of an individual API Token |
| Model rate limiting | Request limits configured by model |
| User model rate limiting | Successful request frequency limit for a user and a model |
| System rate limiting | Global API rate limits, Critical operation rate limits, and anonymous request body limits |
| Upstream rate limiting | RPM, TPM, concurrency, or balance limits returned by the provider |
Billing Reference Fields
| Field | Description |
|---|---|
model | Request model, which affects pricing |
prompt_tokens | Input Tokens |
completion_tokens | Output Tokens |
cache_read | Cache read Tokens, depending on the upstream provider |
cache_creation | Cache write Tokens, depending on the upstream provider |
group | User group, which may affect the multiplier |
channel_id | Actual 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.
