Research2026-11-19

Google Antigravity’s prompt cache expires after about five minutes of idle time. This forces the next message to re-ingest the entire conversation history at full cost. The author disassembled Antigravity’s Go binary and found a dormant keep-alive engine. It pings every 4 minutes 30 seconds and aborts if the gap exceeds 4 minutes 45 seconds. The engine is currently gated off for Gemini models. Tests confirmed the cache dies between 4 minutes 45 seconds and 5 minutes. A single keep-alive ping saves 29-36% of effective tokens in small sessions. In a 150,000-token session, a 5-minute pause costs 133,065 extra tokens. The `/btw` side-question command can keep the cache warm but is more expensive than a normal ping. The built-in keep-alive engine can be unlocked by bypassing server-side flags and provider checks.

What changed

Prompt cache lifetime was assumed to be longer than typical coding pauses.

What it unlocks

Keeping the prompt cache warm during idle periods to avoid re-ingesting conversation history at full cost.

  • 5-minute prompt-cache lifetime
  • 4 min 30 s ping interval
  • 4 min 45 s staleness cutoff
  • 90% discount on cache_read_tokens

What you need to act on it

  • using Google Antigravity with big frontier models
  • implicit caching enabled
  • same process for multi-turn conversations

Send this to someone who needs it

Shares the story and its sources. Nothing about you.

What does this mean for your job?

This is the story as everyone gets it. Once a week we send you the version written for your role — what changed, why it matters for the work you actually do, and one thing to try. Free while we tune it.