Overview
PromptGuard implements two types of limits to ensure fair usage and system stability:- Monthly Request Quotas - Based on your subscription plan
- Rate Limiting - Maximum requests per minute (anti-abuse)
Monthly Request Quotas
Your subscription plan determines how many “fast” requests you get per month:| Plan | Monthly Limit | Over-Quota Behavior |
|---|---|---|
| Free | 10,000 | Hard block (429 error when exceeded) |
| Pro | 100,000 | Hard block (429 error when exceeded) |
| Scale | 1,000,000 | Soft limit (alerts only, never blocks) |
Hard vs Soft Limits
Free and Pro plans use hard limits:- When you exceed your monthly quota, requests return
429 Too Many Requests - You must upgrade to continue using the service
- Free (10K) → Upgrade to Pro (100K)
- Pro (100K) → Upgrade to Scale (1M)
- When you exceed 1M requests/month, requests continue processing
- You receive email alerts about overage
- No blocking - your application keeps running
- Overage is logged for analytics and billing
Checking Your Usage
View current usage in the dashboard:Rate Limiting (Anti-Abuse)
To prevent system abuse, we enforce a global rate limit: 100 requests per minute (all plans) This is an anti-abuse measure, not a pricing feature. All tiers get the same limit.Rate Limit Headers
API responses may include rate limit information:Rate limit headers are added by the bot detection middleware when applicable. The exact headers may vary.
Handling Rate Limits
If you exceed 100 req/min, you’ll receive a429 Too Many Requests response:
Best Practices
1. Implement Exponential Backoff
2. Monitor Usage Proactively
Set up monitoring to alert before you hit limits:3. Batch Requests When Possible
Instead of:4. Cache Responses
Cache frequently requested results:Upgrading for Higher Limits
Need more than 100 requests/minute? Contact us at [email protected] for:- Enterprise rate limits (custom req/min)
- Dedicated infrastructure
- SLA guarantees
Frequently Asked Questions
Why do all plans get the same rate limit?
The 100 req/min limit is an anti-abuse measure to protect infrastructure, not a pricing feature. Monthly quotas (1K vs 100K vs 1M) are how plans differ.What happens if I consistently go over my monthly quota?
Nothing! We never block your app. However:- Overage is logged for analytics
- You may receive emails suggesting an upgrade
- Enterprise plans can set up overage billing
Can I increase my rate limit?
Yes. Contact [email protected] for custom rate limits on Enterprise plans.Do retries count against my quota?
Yes. Every request to our API counts, including retries. Implement smart retry logic with exponential backoff to minimize wasted quota.How is usage calculated?
One request = one API call to/api/v1/chat/completions or /api/v1/completions, regardless of:
- Number of tokens
- Response length
- Model used
Monitoring Tools
Dashboard Analytics
Track usage in real-time:- Current period usage
- Daily/weekly/monthly trends
- Over-quota events
- Rate limit hits
Usage API
Programmatically monitor usage:Need Help?
- Questions: [email protected]
- Enterprise Limits: [email protected]
- Technical Issues: [email protected]