# Token counting problem, help needed

**URL:** <https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520>\
**Category:** Google AI Studio\
**Tags:** ai-studio, help\_request, billing\
**Created:** [October 30, 2025, 10:48am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520 "2025-10-30T10:48:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![FoxAkaBeast](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/foxakabeast/32/69954_2.png) [@FoxAkaBeast](https://discuss.ai.google.dev/u/FoxAkaBeast)\
**Post date:** [October 30, 2025, 10:48am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/1 "2025-10-30T10:48:30Z")

</div>

Yesterday, i wanted to chat with a model and discovered an bug. The token counting, seems to be infinite, but 3 days ago, after last message, the chat was still available. This “restriction” applies only in this chat. I still can use other chats and other models. People in this forum say that for them one long chat is still available even when 700k tokens are reached. Please help.

 ![изображение](https://d3qe71uytubmmx.cloudfront.net/original/3X/a/f/af7702d103c9bc22d0e3b7a8fab0e18e3a3c09a5.png)

---

<div class="post-metadata">

**Author:** ![JPA](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jpa/32/69969_2.png) [@JPA](https://discuss.ai.google.dev/u/JPA)\
**Post date:** [October 30, 2025, 1:14pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/3 "2025-10-30T13:14:02Z")

</div>

I have the exact same issue.

---

<div class="post-metadata">

**Author:** ![Total\_Anarchy](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/total_anarchy/32/51802_2.png) [@Total\_Anarchy](https://discuss.ai.google.dev/u/Total_Anarchy)\
**Post date:** [October 30, 2025, 2:11pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/4 "2025-10-30T14:11:13Z")

</div>

This is a known problem, and I’ve been looking for a bug fix for this too.

---

<div class="post-metadata">

**Author:** ![White\_Ai](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/white_ai/32/69864_2.png) [@White\_Ai](https://discuss.ai.google.dev/u/White_Ai)\
**Post date:** [October 30, 2025, 6:33pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/5 "2025-10-30T18:33:44Z")

</div>

’ve found a temporary workaround for this issue: we’ll use keyboard shortcuts to send requests

Alt+Enter

The message is sent to the chat but doesn’t trigger a response, so it needs to be run manually.

—and then click on the logo to re-run [run the prompt] the stars.

 ![Снимок экрана 2025-10-30 051234](https://d3qe71uytubmmx.cloudfront.net/original/3X/a/8/a891bb355f62a15a3bf65330f7a5bd84179a0cac.png)

---

<div class="post-metadata">

**Author:** ![singleoctave](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/singleoctave/32/56005_2.png) [@singleoctave](https://discuss.ai.google.dev/u/singleoctave)\
**Post date:** [October 30, 2025, 8:53pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/6 "2025-10-30T20:53:24Z")

</div>

But can’t upload file to run with this method ☹

---

<div class="post-metadata">

**Author:** ![White\_Ai](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/white_ai/32/69864_2.png) [@White\_Ai](https://discuss.ai.google.dev/u/White_Ai)\
**Post date:** [October 30, 2025, 9:12pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/7 "2025-10-30T21:12:34Z")

</div>

The file is uploaded, just write some text next, after you have sent the file, and launch the text itself using the icon.  
Be careful when updating the page, as the chat is not saved. Make copies of the chat or branch, and delete the old one.

---

<div class="post-metadata">

**Author:** ![chunduriv](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chunduriv](https://discuss.ai.google.dev/u/chunduriv)\
**Post date:** [October 31, 2025, 12:48am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/8 "2025-10-31T00:48:06Z")

</div>

Hey All,

I have been testing for the token count issue but haven’t been able to reproduce it yet, even in long conversations. Are you still encountering this issue? If so, please share the specific steps to reproduce the issue so we can investigate further.

Thank you!

---

<div class="post-metadata">

**Author:** ![jason\_james](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jason_james/32/31775_2.png) [@jason\_james](https://discuss.ai.google.dev/u/jason_james)\
**Post date:** [October 31, 2025, 1:12am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/9 "2025-10-31T01:12:10Z")

</div>

I dont know about new chats but basically all my old conversations that are +300k tokens have this problem. the workaround that white AI shared is good but the new prompts dont get saved, if you refresh the page you lose everything.

---

<div class="post-metadata">

**Author:** ![FoxAkaBeast](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/foxakabeast/32/69954_2.png) [@FoxAkaBeast](https://discuss.ai.google.dev/u/FoxAkaBeast)\
**Post date:** [October 31, 2025, 9:46pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/13 "2025-10-31T21:46:30Z")

</div>

Wow, that’s a relieve! Somebody in this thread found that it is really _ **temporary,** _ ‘cause the prompt and response are vanishing after reloading, but this is working method for me, and i think i will use it for a while.  
I’ve had very similar situation with ChatGPT, when its limits were reached, the prompt was being deleted automatically, after page reloading, but there were no visible bugs, only interface stuttering.

---

<div class="post-metadata">

**Author:** ![Lemonny](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lemonny](https://discuss.ai.google.dev/u/Lemonny)\
**Post date:** [October 31, 2025, 10:00pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/14 "2025-10-31T22:00:26Z")

</div>

Yep same issue, i was gonna make a post on this issue but i came across yours, they need to fix this bug quick

---

<div class="post-metadata">

**Author:** ![Lemonny](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Lemonny](https://discuss.ai.google.dev/u/Lemonny)\
**Post date:** [October 31, 2025, 10:00pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/15 "2025-10-31T22:00:50Z")

</div>

Yes, even i am encountering this issue

---

<div class="post-metadata">

**Author:** ![FoxAkaBeast](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/foxakabeast/32/69954_2.png) [@FoxAkaBeast](https://discuss.ai.google.dev/u/FoxAkaBeast)\
**Post date:** [October 31, 2025, 10:06pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/16 "2025-10-31T22:06:19Z")

</div>

I don’t what to say, i was just chatting with him, for like 5 months. Sending messages as usual, i don’t see any patterns, to be honest. Some prompts, were 60 tokens, some were 6k.  
I did some research, asking the gemini itself, and it said, that there is something “wrong” happening when filesize is reaching 4mb. So was mine, but i think it may just did a calculation to match my numbers. Anyway, might be a hypothesis.

---

<div class="post-metadata">

**Author:** ![denver](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/denver/32/48524_2.png) [@denver](https://discuss.ai.google.dev/u/denver)\
**Post date:** [November 1, 2025, 3:41am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/17 "2025-11-01T03:41:00Z")

</div>

Seems like that old bug is happening again

> [@Is there a limit for input tokens in AI Studio when using GEMINI 2.5 pro? Why I got grey button?](https://discuss.ai.google.dev/t/is-there-a-limit-for-input-tokens-in-ai-studio-when-using-gemini-2-5-pro-why-i-got-grey-button/79506/8):
>
> I got the same problem Apparently it’s because it’s waiting for content to finish loading which is weird since it’s already loaded for me

---

<div class="post-metadata">

**Author:** ![Vatsalya](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/vatsalya/32/72861_2.png) [@Vatsalya](https://discuss.ai.google.dev/u/Vatsalya)\
**Post date:** [November 21, 2025, 3:35am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/20 "2025-11-21T03:35:00Z")

</div>

Although scrolling up and down the chat was working for me recently but it has stopped working now. It still allows me to send the chat but it takes too long to generate a response (upward of a minute) and sometimes doesn’t respond at all. This is very frustrating

---

<div class="post-metadata">

**Author:** ![Coscorrodrift](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/coscorrodrift/32/25213_2.png) [@Coscorrodrift](https://discuss.ai.google.dev/u/Coscorrodrift)\
**Post date:** [November 21, 2025, 1:32pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/22 "2025-11-21T13:32:41Z")

</div>

i have this same issue now

---

<div class="post-metadata">

**Author:** ![HRV](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/hrv/32/72985_2.png) [@HRV](https://discuss.ai.google.dev/u/HRV)\
**Post date:** [November 21, 2025, 3:13pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/23 "2025-11-21T15:13:49Z")

</div>

Same issue right now, 2h later nothing changed

---

<div class="post-metadata">

**Author:** ![denver](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/denver/32/48524_2.png) [@denver](https://discuss.ai.google.dev/u/denver)\
**Post date:** [November 25, 2025, 10:31pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/25 "2025-11-25T22:31:33Z")

</div>

Bump  
This issue needs to be addressed once again, last time they fixed it in a short period of time…

---

<div class="post-metadata">

**Author:** ![Clare\_5959](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/clare_5959/32/70884_2.png) [@Clare\_5959](https://discuss.ai.google.dev/u/Clare_5959)\
**Post date:** [November 26, 2025, 8:29pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/27 "2025-11-26T20:29:11Z")

</div>

Boosting this! Still not fixed

---

<div class="post-metadata">

**Author:** ![chunduriv](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chunduriv](https://discuss.ai.google.dev/u/chunduriv)\
**Post date:** [December 9, 2025, 6:02am UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/29 "2025-12-09T06:02:12Z")

</div>

Hey All,

Thank you for your patience while we looked into this issue. We’ve rolled out a fix and you should now be able to continue submitting prompts even in longer sessions.

---

<div class="post-metadata">

**Author:** ![denver](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/denver/32/48524_2.png) [@denver](https://discuss.ai.google.dev/u/denver)\
**Post date:** [April 9, 2026, 11:51pm UTC](https://discuss.ai.google.dev/t/token-counting-problem-help-needed/108520/31 "2026-04-09T23:51:27Z")

</div>

Seems like this bug is back at it again I just noticed it in an old convo 😂😭
