Hosted
Better Data Cloud provides sophisticated rate limiting to protect your commerce infrastructure from being overwhelmed by AI agents or malicious actors.
We apply rate limits at three different levels:
Enforced based on your Subscription Tier. This protects the Better Data infrastructure.
You can set limits on specific LLM providers. For example, you might want to allow Claude to make 500 calls/hr but limit OpenAI to 200 calls/hr.
Prevent a single user or bot from monopolizing your resources.
Every request to the Hosted Gateway includes headers indicating your current status:
1X-RateLimit-Limit: 10002X-RateLimit-Remaining: 9503X-RateLimit-Reset: 1704456000When a limit is reached, the gateway returns:
1{2 "error": "rate_limit_exceeded",3 "message": "You have exceeded your hourly quota. Upgrade to a higher tier for more capacity.",4 "retry_after": 3005}We recommend that your client application or LLM adapter handles these errors gracefully by notifying the user or retrying after the retry_after duration.
