API limits
Each key can send 60 requests a minute and 8 at once, with up to 128,000 tokens of context and 32,000 tokens of output.
Rate limits, per key
- 60 requests a minute
- 8 requests at once
Past either, you get 429 with rate_limit_exceeded or concurrency_limit_exceeded, and a Retry-After header saying when to try again. Need more? Contact us and we'll raise the ceiling on your key.
Sizes
- Context: 128,000 tokens per request, prompt and answer together.
- Output: up to 32,000 tokens per answer, also the default.
- Attachments: up to 20 per message (images, PDFs and audio).
- Request size: up to 50 MB.
- Speech to text: files up to 50 MB and 60 minutes.
Details for every parameter are in the API documentation.