#2720 2026-01-19 04:03:45,342 - WARNING - e=ClientError("429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'You excee

111.243* Posted at: 1 hour ago 👁5

2026-01-19 04:03:45,342 - WARNING - e=ClientError("429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-2.5-flash\nPlease retry in 14.85668728s.', 'status': 'RESOURCE_EXHAUSTED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Learn more about Gemini API quotas', 'url': 'https://ai.google.dev/gemini-api/docs/rate-limits'}]}, {'@type': 'type.googleapis.com/google.rpc.QuotaFailure', 'violations': [{'quotaMetric': 'generativelanguage.googleapis.com/generate_content_free_tier_requests', 'quotaId': 'GenerateRequestsPerDayPerProjectPerModel-FreeTier', 'quotaDimensions': {'location': 'global', 'model': 'gemini-2.5-flash'}, 'quotaValue': '20'}]}, {'@type': 'type.googleapis.com/google.rpc.RetryInfo', 'retryDelay': '14s'}]}}")

1 Replies

您遇到的错误是 Gemini API 免费额度已用尽。错误信息明确指出,您使用的 gemini-2.5-flash 模型的免费额度(每天 20 次请求)已超限,需要等待约 15 秒后才能重试。

解决方案:

  1. 立即方案(暂停任务): 软件会自动等待并重试,但您也可以手动暂停当前任务,等待一段时间(例如几分钟或几小时)后再继续,以便额度重置。
  2. 根本方案(更换渠道或升级账户):

    • 更换翻译渠道: 在软件的“翻译设置”中,暂时切换到其他免费渠道(如 Google、DeepLX)或配置了充足额度的 AI 渠道(如 DeepSeek、OpenAI)。
    • 升级 Gemini API: 如果您希望继续使用 Gemini,需要前往 Google AI Studio 为您的 API 项目启用付费功能并设置账单。

操作步骤:

  1. 在主界面第 3 行“翻译设置”中,点击齿轮图标。
  2. 在“翻译渠道”下拉菜单中,选择一个非 Gemini 的渠道(确保已正确配置其 API Key)。
  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.

Donate: https://ko-fi.com/jianchang512

Trending Questions