# Gemini-3.8-flash: implicit cache no longer shares an identical prefix across requests (worked until Oct 27, 2026)

**URL:** <https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481>\
**Category:** Gemini API\
**Tags:** bug\
**Created:** [November 2, 2026, 4:11am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481 "2026-11-02T04:11:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammed\_Endisha](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mohammed_endisha/32/86049_2.png) [@Mohammed\_Endisha](https://discuss.ai.google.dev/u/Mohammed_Endisha)\
**Post date:** [November 2, 2026, 4:11am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481/1 "2026-11-02T04:11:08Z")

</div>

Since about 20:00 on Oct 27, 2026 (UTC+2), implicit caching on `gemini-3.8-flash` returns `cachedContentTokenCount` = 0 for a request that shares a large identical prefix with an earlier, different request. Before that, the same traffic got 70–95% cached.

**Production (agent loop, ~330 runs/day, 56K-token fixed prefix):**

- Request #2 of each run: cached share was **77% before Oct 27 ~20:00 and 0% after**. That is every run on Oct 28 and 20 of 20 on Oct 29–31.
- Requests #3 onward: 91% before, 94% after, unchanged.
- Our prompt and tool definitions are byte-identical between runs.
- Cost per run rose by about 35%.

**Test on Oct 31 (synthetic text, ~42.6K tokens, same system instruction, different user message, 5 s apart):**

| Request | prompt tokens | cached |
| --- | --- | --- |
| First request | 42,636 | 0 |
| Same system instruction, different user message | 42,636 | **0** (every run) |
| Extends the first request | 42,645 | 40,581 in some runs, 0 in others |

Moving all per-request data into the user message (so the system instruction is byte-identical) did not change the second result. `gemini-3.6-flash` behaves the same.

**Questions:**

1. Did implicit caching for 3.8 Flash change around Oct 27 so it matches only the previous request of the same conversation?
2. Is that intended? The docs describe it only for Gemini 4 and newer.
3. Is there a supported way to keep a large fixed prefix cached across independent requests in an agent loop? Explicit caching covers the prefix but not the growing conversation.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sutar](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mahesh_sutar/32/31644_2.png) [@Mahesh\_Sutar](https://discuss.ai.google.dev/u/Mahesh_Sutar)\
**Post date:** [November 4, 2026, 4:01am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481/2 "2026-11-04T04:01:33Z")

</div>

Hello @Mohammed_Endisha ,  
Thank you for sharing the detailed comparison tests. We have reproduced this behavior. We are looking into it.

---

<div class="post-metadata">

**Author:** ![Karthik\_Hebbar](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@Karthik\_Hebbar](https://discuss.ai.google.dev/u/Karthik_Hebbar)\
**Post date:** [November 9, 2026, 10:57am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481/3 "2026-11-09T10:57:24Z")

</div>

Hello @Mahesh_Sutar ,

Any updates on this?

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sutar](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mahesh_sutar/32/31644_2.png) [@Mahesh\_Sutar](https://discuss.ai.google.dev/u/Mahesh_Sutar)\
**Post date:** [November 12, 2026, 4:57am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-implicit-cache-no-longer-shares-an-identical-prefix-across-requests-worked-until-oct-27-2026/197481/4 "2026-11-12T04:57:15Z")

</div>

Hi @Karthik_Hebbar ,  
We are still working on a fix for this issue.
