Free models
Models whose id ends in:free share one limit per account. Every key and every free model on the account counts toward it.
The limit applies at any balance. Over the limit you get
429 rate_limit_exceeded with a Retry-After header in seconds.
Paid models
Paid models have no requests-per-minute or requests-per-day limit. Two things bound them instead. Balance. While a paid request runs, NagaAI reserves 0.05 credits of your balance and releases the reserve when it charges the real cost. The number of paid requests that can run at the same time is your balance divided by 0.05, rounded down. With 0.05 a paid request fails with402 insufficient_quota.
Key spending limit. A key can carry its own credit_limit, set on the API Keys page or through the API. When the key’s spend reaches the limit, its requests fail with 403 credit_limit_exceeded. NagaAI checks the limit before a request starts, so the last request can take the spend slightly past it.
Request size and time
Traffic from one IP address
More than 300 requests in 10 seconds from one IP address toapi.naga.ac are blocked for 10 seconds at the network edge, before they reach NagaAI.
Overload
When NagaAI is shedding load it returns503 with Retry-After: 1.
NagaAI sends no x-ratelimit-* headers.