I am seeking assistance from an AI Studio community manager or engineer. My account is completely blocked from using Google AI Studio due to an account-level entitlement/quota error, and Google One customer support has been unable to route the issue internally for nearly two weeks.
The Core Issue:
Error:“Your message exceeded the maximum number of tokens allowed.” This persists on basic/standard prompts across the web interface and API calls.
Account Status: Subscribed to Google AI Pro on August 31, 2026. The upgraded quotas and higher context window limits are not reflecting in AI Studio, and usage metrics fail to display.
Key Restrictions Followed: In accordance with the June 19, 2026 update regarding unrestricted keys, I generated a brand-new restricted API key directly inside AI Studio on September 2nd. The issue persists across all models and newly generated keys.
Support Timeline & Runaround:
Aug 28–29: Issue began.
Aug 31: Subscribed to Pro to resolve quota constraints; entitlement failed to provision.
Sept 2: Contacted support. Agent requested irrelevant client-side details (OS versions, age verification links) along with a screen recording. I provided my exact OS (macOS 26.6.2), browser environment details, and attached the screen recording showing the error and dashboard behavior.
Sept 4: Support replied asking for dates/times already documented in the thread.
Sept 5: Re-stated timeline and provided a direct Google Drive link to the video reproduction.
Sept 10–11: Support ignored all previous submissions and reset the ticket back to square one, asking for Windows/ChromeOS screenshots, speed tests, and device-level tests for what is clearly a cloud-level quota and account provisioning failure.
This is a backend synchronization failure between the consumer Pro subscription tier and the Generative Language API quota provisioning for my account UID.
Could a Google team member or developer advocate please look into my account provisioning or escalate this to the appropriate API engineering team?
Thank you for reaching out and sharing the details.
The error “Your message exceeded the maximum number of tokens allowed.” specifically originates from Google AI Studio’s Build Mode when a project’s accumulated chat and iteration history grows beyond the model’s 1M input token context window. Because the Build Agent includes prior conversation turns and tool actions to maintain continuity, submitting a new prompt—even a single line—evaluates the entire history and exceeds the input limit. This is a per-project conversation context limit within Build Mode, rather than an account-level Google AI Pro subscription or API key quota issue.
You can clear the conversation overhead directly in your project while keeping all your code and workspace files intact:
Open your project in Google AI Studio Build Mode.
In the chat panel on the left, click “Start new chat”.
Thanks for the response. After initiating the new chat, it worked for 1 query and then failed afterwards. I am having same issue with other chats as well. Any other troubleshooting steps?
If Start new chat works for only one query or still returns “Your message exceeded the maximum number of tokens allowed” immediately, its possible that the files inside your project workspace or large pasted text in the prompt are pushing the context over the 1,048,576 token limit:
Try removing Large Workspace Files: In the Code / File Explorer panel of AI Studio Build Mode, delete or move oversized files out of the workspace—such as dependency lockfiles (bun.lock, package-lock.json), large JSON/CSV files in src/data/, or large media files in assets/.
Avoid Pasting Full Logs: Instead of pasting full CLI transcripts (Paste ...) into the prompt box, include only the specific 10–20 lines of error output needed.
Start a New Chat: Once those large files are removed from the File Explorer, click the + (Start new chat) button in the left panel (do not click Restore on an older checkpoint) and send your prompt.
I have the same issue and tried everything you said, but nothing helps. I started a brand new APP chat and it’s been running for seconds, then stopped and error again. I explored every billing pages—it’s very confusing why there are different billing pages on my google account— upgrading and enough balance in Gemini account is not working. I couldn’t find the exact billing page for Google AI studio.
And can you please share what challenge are you facing why accessing the billing page? What is the exact confusion so we can help you better? Any screenshots would be greatly appreciated!