Skip to content

exceeded current quota ... ... "generate_content_free_tier_input_token_count" #13112

Description

@timrichardson

What happened?

I get a quota error referring to "generate_content_free_tier_input_token_count". I'm authenticated as a paid user of google developer plan, and my API key is not accepted either. And download the /model choice to flash isn't helping

/compress

? Failed to compress chat history: {"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/usage?tab=rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_input_token_count,
limit: 250000, model: gemini-2.5-flash\nPlease retry in
39.844676573s.","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":[{"quotaMetri
c":"generativelanguage.googleapis.com/generate_content_free_tier_input_token_count","quotaId":"GenerateContentInputTokensPerModelPerMinute-FreeTier","
quotaDimensions":{"location":"global","model":"gemini-2.5-flash"},"quotaValue":"250000"}]},{"@type":"type.googleapis.com/google.rpc.RetryInfo","retryD
elay":"39s"}]}} ?

What did you expect to happen?

should be able to fall back to API key

Client information

? ?
? About Gemini CLI ?
? ?
? CLI Version 0.17.0-nightly.20251114.0fcbff506 ?
? Git Commit 0fcbff5 ?
? Model gemini-2.5-flash ?
? Sandbox no sandbox ?
? OS linux ?
? Auth Method gemini-api-key ?
? GCP Project gen-lang-client-0951792225 ?
?

Login information

  • oauth to an individual gmail account subscribed to the month dev plan
  • fallback: use API key associated with the project

Anything else we need to know?

has never failed like this before

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtpriority/p1Important and should be addressed in the near term.status/need-triageIssues that need to be triaged by the triage automation.status/possible-duplicate

    Type

    Projects

    Status
    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions