貌似是 OpenRouter的账户没钱了?报的余额不足。
不知道是配置错了还是就这样的?
错误信息里面的 "model\": \"gemini-2.0-pro-exp\"
{
"message": "Provider returned error",
"error": {
"message": "Provider returned error",
"code": 429,
"metadata": {
"raw": "{\n \"error\": {\n \"code\": 429,\n \"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.\",\n \"status\": \"RESOURCE_EXHAUSTED\",\n \"details\": [\n {\n \"@type\": \"type.googleapis.com/google.rpc.QuotaFailure\",\n \"violations\": [\n {\n \"quotaMetric\": \"generativelanguage.googleapis.com/generate_content_paid_tier_input_token_count\",\n \"quotaId\": \"GenerateContentPaidTierInputTokensPerModelPerMinute\",\n \"quotaDimensions\": {\n \"model\": \"gemini-2.0-pro-exp\",\n \"location\": \"global\"\n },\n \"quotaValue\": \"10000000\"\n }\n ]\n },\n {\n \"@type\": \"type.googleapis.com/google.rpc.Help\",\n \"links\": [\n {\n \"description\": \"Learn more about Gemini API quotas\",\n \"url\": \"https://ai.google.dev/gemini-api/docs/rate-limits\"\n }\n ]\n },\n {\n \"@type\": \"type.googleapis.com/google.rpc.RetryInfo\",\n \"retryDelay\": \"53s\"\n }\n ]\n }\n}\n",
"provider_name": "Google AI Studio"
}
},
"code": 429
}