Using the API
Limits and fair use
How much you can send, and how often.
| Limit | Value | If you hit it |
|---|---|---|
| Concurrent requests per account | 4 | 429 with rate_limit_exceeded. |
| Size of a request | 2 MB | 413. |
n (answers per request) | 4 | 400. |
| Prompt and answer | The model's context window | 400 with context_length_exceeded. |
| Refused API keys per IP address | 20 per minute | Every request from the address gets 429 with rate_limit_exceeded for up to a minute. |
There is no limit on how many requests you send per minute. The limit is how many run at the same time. When one has finished, you can send the next.
If you need more concurrent requests, write to info@gavn-software.dk.
When the balance is used up
New requests are refused with 429 and insufficient_quota when the balance is 0 kr. or less. Answers already in progress are allowed to finish, so the balance can end slightly below 0.