Skip to content

Commit 559f2a8

Browse files
Merge pull request #397 from geturbackend/mintlify/49eae180
Update from code changes: AI Collection Creator tier limits
2 parents 56d8123 + dec005c commit 559f2a8

2 files changed

Lines changed: 25 additions & 10 deletions

File tree

‎mintlify/docs/guides/ai-byok.mdx‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ If a BYOK key is used, no urBackend-side session cap applies. Groq's own rate li
2828

2929
## Plan-tier behavior
3030

31-
| Plan | Personal Groq key allowed? | Platform-key AI sessions per month |
32-
| :--- | :--- | :--- |
33-
| Free | Yes | 5 |
34-
| Pro | Yes | 20 |
31+
The AI Query Builder and the AI Collection Creator (Schema Design) each have their own monthly counter on the platform key:
32+
33+
| Plan | Personal Groq key allowed? | Query Builder requests per month | Collection Creator schema designs per month |
34+
| :--- | :--- | :--- | :--- |
35+
| Free | Yes | 5 | 1 |
36+
| Pro | Yes | 20 | 5 |
37+
38+
Monthly counters reset on the first of each calendar month (UTC).
3539

36-
The monthly counter resets on the first of each calendar month (UTC).
40+
Collection Creator chat sessions that use the platform key are also capped at **20 iterations per session**. BYOK requests are not subject to this per-session cap.
3741

38-
Once your plan's platform-key cap is reached, further AI requests return `403 Forbidden` until either the counter resets or you configure a BYOK key.
42+
Once your plan's platform-key cap (monthly or per-session) is reached, further AI requests return `403 Forbidden` until either the counter resets or you configure a BYOK key.
3943

4044
## Get a Groq API key
4145

‎mintlify/docs/limits-and-quotas.mdx‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,27 @@ When your project approaches the database quota, writes may be rejected with `40
3333

3434
## AI session limits
3535

36-
AI features (like the AI Query Builder) that use urBackend's platform Groq key are capped per account, per calendar month:
36+
AI features that use urBackend's platform Groq key are capped per account, per calendar month. The AI Query Builder and the AI Collection Creator (Schema Design) each have their own separate monthly counter.
3737

38-
| Plan | AI sessions per month (platform key) |
38+
### AI Query Builder
39+
40+
| Plan | Query Builder requests per month (platform key) |
3941
| :--- | :--- |
4042
| Free | 5 |
4143
| Pro | 20 |
4244

43-
Requests beyond the monthly cap return `403 Forbidden` until the counter resets on the first of the next calendar month (UTC).
45+
### AI Collection Creator (Schema Design)
46+
47+
| Plan | Schema designs per month (platform key) |
48+
| :--- | :--- |
49+
| Free | 1 |
50+
| Pro | 5 |
51+
52+
In addition to the monthly cap, each Collection Creator chat session using the platform key is limited to **20 iterations** (turns) before you must start a new session. This per-session cap protects platform resources against long, runaway conversations.
53+
54+
Requests beyond either the monthly cap or the per-session iteration cap return `403 Forbidden`. Monthly counters reset on the first of the next calendar month (UTC).
4455

45-
To bypass this cap, configure a personal Groq API key at the developer or project level. Requests that resolve to a BYOK key are not counted against the platform cap. See [BYOK for AI](/guides/ai-byok).
56+
To bypass both the monthly cap and the per-session iteration cap, configure a personal Groq API key at the developer or project level. Requests that resolve to a BYOK key are not counted against any platform cap. See [BYOK for AI](/guides/ai-byok).
4657

4758
## HTTP status codes
4859

0 commit comments

Comments
 (0)