Skip to content

Commit 1bf7af3

Browse files
devin-ai-integration[bot]fern-api[bot]devalog
authored
Document quotas for remote generation (#3680)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Devin Logan <devinannlogan@gmail.com>
1 parent e4f5062 commit 1bf7af3

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

fern/products/sdks/how-it-works.mdx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,21 @@ sequenceDiagram
5858
![SDK generation architecture diagram](./images/sdk-gen.png)
5959
</Frame>
6060
</Accordion>
61-
</AccordionGroup>
61+
</AccordionGroup>
62+
63+
## Quotas
64+
65+
Cloud (remote) generation uses a [leaky bucket](https://en.wikipedia.org/wiki/Leaky_bucket) rate-limiting algorithm with the following default limits:
66+
67+
| Parameter | Value |
68+
| --- | --- |
69+
| Burst capacity | 10 generations |
70+
| Refill rate | 5 generations per minute |
71+
72+
You can run up to 10 generations in quick succession. Fern then replenishes your allowance at 5 generations per minute, so if you hit the limit, subsequent requests will be throttled until enough capacity is restored. In practice, this only affects automated workflows that trigger many generations in a tight loop — occasional manual runs won't come close to the limit.
73+
74+
<Note>
75+
Rate limits apply only to cloud generation. [Local generation](/learn/sdks/deep-dives/self-hosted) using `--local` isn't subject to any quotas.
76+
</Note>
77+
78+
If your team needs higher quotas, contact support@buildwithfern.com.

0 commit comments

Comments
 (0)