You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cluster-only has no --model flag, auto-detects wrong Gemini model and hits free-tier rate limits #1277
The process eventually completes via retries, but takes significantly longer than necessary and is unreliable on the free tier.
Expected behavior
Either:
a)cluster-only and label accept a --model flag (same as extract) so the user can specify the model explicitly.
b) The model used during extract is persisted (e.g. in .graphify_analysis.json) and reused automatically by cluster-only.
Workaround
None. The label command has the same gap (no --model flag). Passing --no-label avoids the rate limit errors but leaves all communities as Community N — which defeats the purpose.
Notes
cluster-only documentation shows --backend=<name> but no --model flag.
The label command has the same gap.
extract ran 48 semantic chunks against the same API key with zero rate limit errors because it used gemini-3.1-flash-lite. The model switch in cluster-only is the sole cause of the failures.
This looks like Gemini rate-limit conditions. Running npx ai-doctor might point out missing Retry-After handling and unsafe retry logic.
Thanks for the suggestion. The Retry-After header is already being respected - the observed retry delays (48s, 45s, 42s…) match exactly what the API returned, so retry logic is working correctly.
The root cause is model selection, not retry handling: cluster-only auto-detects gemini-3-flash (free tier: 5 RPM / 20 RPD), while extract was run explicitly with gemini-3.1-flash-lite (free tier: 500 RPD). With 135 labeling batches, the daily quota is exhausted regardless of how retries are handled. The fix needed is a --model flag for cluster-only (or persisting the model from extract), not changes to retry logic.
Activity
carter-smalls commentedon Jun 12, 2026
This looks like Gemini rate-limit conditions. Running
npx ai-doctormight point out missing Retry-After handling and unsafe retry logic.sub4biz commentedon Jun 12, 2026
Thanks for the suggestion. The Retry-After header is already being respected - the observed retry delays (48s, 45s, 42s…) match exactly what the API returned, so retry logic is working correctly.
The root cause is model selection, not retry handling: cluster-only auto-detects gemini-3-flash (free tier: 5 RPM / 20 RPD), while extract was run explicitly with gemini-3.1-flash-lite (free tier: 500 RPD). With 135 labeling batches, the daily quota is exhausted regardless of how retries are handled. The fix needed is a --model flag for cluster-only (or persisting the model from extract), not changes to retry logic.