#4840 openai.RateLimitError: Error code: 429 - {'error': {'code': '1113', 'message': '余额不足或无可用资源包,请充值。'}}

129.128* Posted at: 2 hours ago

请求过于频繁或余额不足:余额不足或无可用资源包,请充值。:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 1011, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_zhipuai.py", line 41, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1211, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.RateLimitError: Error code: 429 - {'error': {'code': '1113', 'message': '余额不足或无可用资源包,请充值。'}}


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:E:/pyvideotrans

1 Replies

核心原因是你的智谱AI(GLM)账户余额不足或资源包已耗尽,导致API调用被拒绝(错误码1113)。

解决方案:

  1. 登录智谱AI开放平台(open.bigmodel.cn),检查你的API Key对应的账户余额或资源包状态。
  2. 如果余额不足,请充值或续费资源包。
  3. 充值后重新执行任务即可。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource