#6333 [DeepSeek] 渠道服务端返回错误消息:余额不足。请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/

182.138.**2 Posted at: 1 hour ago

[DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/
:Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 77, in _item_task
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\chat\completions\completions.py", line 1215, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.APIStatusError: Error code: 402 - {'error': {'message': 'Insufficient Balance', 'type': 'unknown_error', 'param': None, 'code': 'invalid_request_error'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 71, in run
File "videotrans\translator\_base.py", line 204, in _run_srt
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 85, in _item_task
videotrans.configure.excepts.StopTask: [DeepSeek] 渠道服务端返回错误消息:余额不足。
请登录该平台查看余额信息,当前API: https://api.deepseek.com/v1/


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/软件/win-pyvideotrans-v4.08-0802

3 Replies

这是 DeepSeek 平台账户余额不足导致的,与软件本身无关。错误 Error code: 402 - Insufficient Balance 表示您填写的 DeepSeek API Key 对应的账户已无可用余额。

解决方案:

  1. 登录 DeepSeek 开放平台 https://platform.deepseek.com/ 查看当前余额;
  2. 按需充值(支持自定义充值小金额,如1元);
  3. 充值完成后,重新点击软件中的「开始」按钮执行任务。
提示:如果您当前使用的是旧版配置或 Microsoft 翻译临时故障,可将翻译渠道切换为 DeepSeek 并配置有效密钥,这是目前质量与性价比都较好的选择。若想恢复免费渠道,也可在「翻译渠道」下拉框选择 Microsoft 翻译或使用内置 M2M100 本地翻译。

后续需要继续充值吗 还是充值1元就可以一直使用

需要。DeepSeek API 是按实际使用量实时扣费的预付费账户,充值 1 元只是平台允许的最低充值金额,并非“一次性买断/永久使用”。余额用完后,若不继续充值,翻译请求会再次报错 402(余额不足)。建议先充值 1 元,在软件中测试一段视频,观察扣费速度,再决定后续是否追加充值。可在 DeepSeek 开放平台“用量信息”中查看具体消耗。

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource