在使用openai的API时,发现有gpt的token限制,很奇怪
Error code: 429 - {'error': {'message': 'Rate limit reached for gpt-4-1106-preview in organization org-l Bs on tokens_usage_based per min: Limit 10000, Used 2509, Requested 9206. Please try again in 10.29s. Visit https://platform.openai.com/account/rate-limits to learn more.', 'type': 'tokens_usage_based', 'param': None, 'code': 'rate_limit_exceeded'}}
1、查看等级
出现的原因是因为:API不同的等级有Rate limits,查看自己的等级,具体参考:
https://platform.openai.com/account/limits
每一个等级,所需要的限制不同,查看自己的等级,具体参考官网:https://platform.openai.com/docs/guides/rate-limits/usage-tiers?context=tier-two
2、充值提升等级
官网:https://platform.openai.com/account/billing/history
3、充值
官网:https://platform.openai.com/account/billing/overview