Cache hit rate vs. idle time
Step cache hit rate by inter-turn gap across Antigravity models, Claude Opus 5.5, and external Cursor data
Antigravity Gemini models stay above 90% hit rate under 2 minutes, then decay across 3 to 30 minutes. Post-rollout Neon Medium pool expansion lifted organic survival to 16.7m (and 17.6m in controlled probes) with 0 sub-minute cold misses. Toggle models in the right sidebar or click any point to pin its details.
Cache survival summary by idle window
Step hit rate by bucket · Cursor sub-row reports median cached token share| Model | < 1m | 1 to 3m | 3 to 5m | 5 to 10m | 10 to 30m | 30 to 60m | 1h+ | Longest hit | Overall cache % | Pairs |
|---|
Verified post-rollout findings & quota calibration
Controlled Neon Medium idle-gap ladder (Nov 20 20:00Z & Nov 25 17:24Z rollouts) and exact <200k 5h / weekly quota burn formula
Fact-checking the Nov 25 claim (+4.5% hit rate = +28% tasks, +75% in 5 days)
Verified by live probe + 13x quota math“We’ve increased the cache hit rate for Neon in Antigravity again by another 4.5%. This means you can complete 28% more tasks within quota. In the last 5 days, we’ve effectively increased Neon usage on the subscription by close to 75% through caching and harness improvements!”
What actually improved ~2x TTL
- Pre-Nov 20:
3–5malready missed ~55–59% of the time;30m+=0%. - Nov 20 rollout: Survived to
17.6m, hard0%cliff by33m 46s. - Nov 25 probe:
5m 05s(95.67%),10m 05s(95.93%),18m 05s(96.58%), 35m 05s (95.71% HIT),60m 05s(0.0%MISS).
Why +4.5% hit rate = +28% tasks 13x nonlinear
Cached input is 12.9x (~13x) cheaper than cold input (0.80% vs. 10.33% of 5h pool per 1M). Near ~88–90% cache, the tiny cold tail (1 − r) dominates your input bill.
88.0% → 92.5% (+4.5 pts, −37.5% cold)
1.944% → 1.515% ⇒ 1.944 / 1.515 = 1.283x
Why ~75% in 5 days checks out 5-day delta
Climbing from ~80.5% (pre-Nov 20, frequent 3–5m evictions) to ~92.5% (post-Nov 25, 35m survival) slashes cold-input burn by more than half across multi-turn sessions.
2.658% → 1.515% (% 5h / 1M input)
2.658 / 1.515 = 1.754x effective capacity
1. Controlled Neon Medium idle-gap ladder (Pre-rollout vs. Nov 20 vs. Nov 25)
Nov 25 update (@_mohansolo, 17:24Z): +4.5% Neon cache hit rate (+28% tasks within quota, ~75% 5-day usage boost) · 3 synthetic probes excluded from organic stats| Idle gap | Pre-rollout (organic) | Nov 20 rollout (20:00Z+) | Nov 25 rollout (17:24Z+) | Outcome & notes |
|---|---|---|---|---|
| Sub-minute (<1m) | 18s–49s cold misses observed | 0 cold misses (95 real turns) | 94.4% step hit (2,605 organic turns) | Sub-minute cold churn eliminated post-rollout |
| ~5m (5m 05s) | 45% hit rate (3–5m bucket) | 2/2 hit (92.7% / 92.6% cached) | HIT — 95.67% (50.8k / 53.1k) | Full prefix survival at 5 minutes |
| ~10m (10m 05s) | 17% hit rate (5–10m bucket) | 2/2 hit at 9.5m (92.8% cached) | HIT — 95.93% (55.8k / 58.2k) | Warm prefix held cleanly past 10m |
| ~18m (18m 05s) | 29% hit rate (old max 13.1m) | 2/2 hit at 17.6m (92.8% cached) | HIT — 96.58% (57.8k / 59.9k) | Beats Nov 20 17.6m record |
| ~35m (35m 05s) | 0% hit rate (30m+) | 0/2 miss at 33m 46s (0.0%) | HIT — 95.71% (59.2k / 61.9k) | New 35.1m record — beats old 33m 46s 0% cliff |
| ~60m (60m 05s) | 0% hit rate (1h+) | Evicted by 33m 46s | MISS — 0.0% (0 / 64.4k) | New eviction cliff sits between 35m 05s and 60m 05s |
2. Measured 5h & weekly quota burn formula (gemini-4-neon-medium, <200k context)
Verified out-of-sample to 0.0009% error · Weekly pool = exact 3.50x of 5h pool>200k long-context quota multiplier is still unmeasured in live quota deltas. All calibrated tables below apply strictly to verified <200k (and the 200k 1x boundary) gemini-4-neon-medium pricing.
3a. Single-turn burn by context × cache hit % (with 1k reply)
Every cell: % of 5h quota gone / % of weekly quota gone| Context size | 99% cache | 95% cache | 90% cache | 50% cache | 0% cache (cold) |
|---|
3b. Warm-turn burn by existing cached context × new prompt/file size (with 1k reply)
Every cell: % of 5h quota gone / % of weekly quota gone| Existing cached context | +500 new | +5k new | +20k new | +50k new |
|---|
3c. Turns per full 100% 5h pool / 100% weekly pool by context × cache hit % (with 1k reply)
Every cell: turns to drain 100% 5h pool / turns to drain 100% weekly pool| Context size | 99% cache | 95% cache | 90% cache | 50% cache | 0% cache (cold) |
|---|
3d. 20-turn coding session (100k avg ctx) by cold misses
98% warm baseline + 1k reply · 5h% / wk%| Cold misses | Warm / cold turns | 5h / weekly gone | vs. 0-miss |
|---|
3e. Output token cost alone (reply + thinking)
30.04% 5h / 8.58% wk per 1M · 5h% / wk%| Output tokens | 5h quota gone | Weekly quota gone | Cold-input equiv |
|---|
Cumulative usage after a 2-hour break
Uncached-equivalent tokens and calibrated 5h Gemini quota across Steps 1 to 20 by recovery strategy
At 462k context with the 2x over-200k weight active, resuming cold burns 924k effective tokens on Step 1 alone, equal to 9.55% of the 5h Gemini quota. Starting a new session with a 25k handoff burns 25k on Step 1 and saves 94% of total quota over 20 steps.
1 cold miss vs. 1 warm turn
Verified <200k rates: 10.33%/2.95% cold · 0.80%/0.23% cached (13.0x cheaper) · 30.04%/8.58% output (>200k 2x est. unmeasured)| Chat size | 1 cold miss (5h pool) | 1 cold miss (weekly) | 1 warm turn (5h pool) | 1 warm turn (weekly) | Cold / warm penalty |
|---|
Context size vs. quota usage
Turn share compared against unweighted and 2x-weighted quota share across 34,336 turns
Turns above 200k context account for only a small fraction of turns, yet consume disproportionate unweighted and 2x-weighted quota.
Context window quota cost
Using calibrated 10.33% 5h / 2.95% wk per 1M effective tokens · >200k 2x multiplier still unmeasured| Context window | Turns | Avg cache % | 5-hour pool / turn | Weekly pool / turn | Turns to drain 5h pool |
|---|
Cache rate vs. quota usage
Turn share, quota share, and effective cost multiplier across cache-hit brackets
Turns with 0% cache carry a 10.0x effective cost multiplier compared to warm 90%+ cache turns.
Cache rate quota breakdown
2x-weighted pool share per turn · Summary rows compare turns below 90% against 90% and above| Cache rate | Avg chat size | 5-hour pool / turn | Weekly pool / turn | Share of total quota |
|---|
Idle time vs. average quota per turn
Average tokens and 5-hour pool share consumed per turn by inter-turn pause across measured transitions
Average weighted cost rises steeply as inter-turn idle gap widens and prefix caches evict.
Cold-miss wall-clock latency
Median turn duration in seconds comparing warm hits at 80% cache or higher against 0% cold misses
Server cache mechanics
Gemini prefix caches in Antigravity do not expire on a single hard timer. KV blocks live in shared replica memory under LRU eviction pressure. Varun Mohan’s Nov 20 20:00Z Neon pool expansion first lifted Neon Medium survival from 13.1m max to 17.6m (with a 33m 46s cliff), and the Nov 25 17:24Z update (+4.5% Neon hit rate, ~75% 5-day effective usage gain) pushed controlled survival to 95.71% cached at 35m 05s.
The new Neon Medium eviction cliff now sits between 35m 05s (95.71% hit) and 60m 05s (0.0% miss). Claude Opus 5.5 still enforces a strict 5 minute ephemeral TTL (96.5% cached at 3m 21s, 0% at 6m 55s).
Cached reads are 13.0x cheaper than cold input (0.80% vs 10.33% of 5h quota per 1M), while output + thinking tokens cost 2.91x cold input (30.04% per 1M).
Cursor comparison solved
External pre-rollout Cursor data on Gemini 4 Neon High showed 96% to 99% median cached share up to 30 minutes, then collapsed to 33% all-tokens cached at 40.8 minutes and 19% past 1 hour.
Before Nov 20 20:00Z, Antigravity Neon Medium trailed Cursor in the 3 to 30 minute window (45% at 3–5m, 17% at 5–10m) due to LRU pressure on the default pool. Following the Nov 20 and Nov 25 rollouts, controlled Antigravity Neon Medium probes hold 95.7%–96.6% cached through 35m 05s—matching or beating pre-rollout Cursor’s 30m window.
Past 45–60 minutes, conversation caches are gone on both tools; Cursor’s 40.8m (33%) and 73.4m (49%) points reflect bundled multi-call turns (cold first call + warm follow-up calls).
Decision playbook
- Under ~35 minutes idle on Neon Medium. Stay in the active thread post-Nov 25 rollout. Controlled probes hold 95.7%–96.6% cached through 35m 05s, and warm 95%+ turns burn just 0.16% of 5h quota at 100k context.
- Over 45–60 minutes idle on large context. Open a new session with a 25k handoff note. By 60m 05s the cache is cold (0%), and 20 cold misses at 100k burn 21.27% of 5h quota vs. 2.57% warm.
- Never run /compact on a cold session. Compacting reads the full uncached history first, paying the entire cold-miss penalty before shrinking context.
- Cap subagent context under 100k. Subagents drive nearly half of unweighted burn; keeping them narrow preserves high cache density and avoids the unmeasured >200k tier.
| Session | Model | Step | Idle gap | Uncached input | 2x-weighted burn | Est. 5h quota |
|---|