#7668 The request rate limit has been reached. Please try again later. (request id: 20260928165627306748378mYsofhqp):Traceback

182.129**2 Posted at: 3 hours ago

The request rate limit has been reached. Please try again later. (request id: 20260928165627306748378mYsofhqp):
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 21, in run
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_openairecognapi.py", line 39, in _exec
File "videotrans\recognition\_openairecognapi.py", line 99, in _thrid_api
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\audio\transcriptions.py", line 485, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.RateLimitError: Error code: 429 - {'error': {'message': 'The request rate limit has been reached. Please try again later. (request id: 20260928165627306748378mYsofhqp)', 'type': 'new_api_error', 'param': '', 'code': ''}}


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:F:/FanYi/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 3 hours ago

这是你在 语音识别 中使用的 OpenAI 语音识别 API(或兼容 OpenAI 格式的第三方中转 API)触发了频率限制,返回 HTTP 429 RateLimitError,与你本地软件、显卡、模型都无关。

核心原因:

  • 报错文件为 _openairecognapi.py,说明识别渠道选的是 OpenAI 语音识别 API 一类的在线渠道。

  • 错误信息 The request rate limit has been reached、type: new_api_error 表明是服务商侧限流(请求过于频繁 / 并发过高 / 免费额度或套餐额度被打满 / 第三方中转站被限流)。

解决步骤:

  1. 降低请求频率:进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数,把 云API识别暂停秒 / Cloud API pauses after each recognition 调大(例如 5~10 秒)。

  2. 降低并发:进入 菜单 → 工具/选项 → 高级选项 → 通用设置,确认 CPU同时任务数、GPU同时任务数 不要过大;批量翻译时把 批量翻译视频时每批数量 设为 1,避免多个视频同时打同一个 API。

  3. 更换 API Key 或渠道:若用的是第三方中转/代理站(new_api_error 常见于中转站),限流由其控制,换 Key、换中转站,或直接使用官方 OpenAI Key。

  4. 检查账户额度:部分 429 实际是余额/套餐耗尽,请登录对应平台确认。

  5. 改用本地免费渠道绕过限流:把 语音识别渠道 改为 faster-whisper(内置),模型选 large-v3-turbo 或 large-v3,可完全离线、无限流。

  6. 稍等几分钟后重试,限流通常为短时窗口,过窗口即恢复。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource