On average, how many tokens are your requests? Looks like your one request was ~7000 tokens, if your next request was same size it’d be expected to fail because you only have 3200 remaining. Slow down your requests or add an automatic retry with exponential delay. See rate limit docs. Also note that there are different rate limits for free and paid API accounts, and paid accounts get increased rates after 48 hours.
1 Like