[KongchangAI]
Conceptexplicit caching / cachedContents / caches.create

Explicit Caching

A caching mechanism in which developers must actively upload content and obtain a cache handle, allowing precise control over the cache lifecycle. It was removed in Gemini 4 Argon.

Core Facts

Timeline (last 90 days)

Oct 18

Explicit caching requires marking cacheable prefixes in the request; some vendors require first calling a cache-creation API, then referencing the cache ID in subsequent requests.

Unverified50%
Oct 18

For scenarios with highly stable prefixes and dense calls, prefer explicit caching; for scenarios with variable prefixes and sporadic calls, the zero-modification advantage of automatic caching is more practical.

Unverified50%
Oct 13

The cache is not permanently valid; providers usually have a TTL of a few minutes to an hour, and the hit rate fluctuates with user behavior.

Verified75%
Oct 4

Disabling file caching eliminates double-caching waste, but once data misses shared buffers it goes directly to the storage layer, requiring a sufficiently high hit rate; otherwise the cost of a miss may be amplified.

Unverified50%

All Facts (4)

Source Articles