Google Introduces Implicit Caching for Gemini AI Models

May 9, 2025
Google has launched 'implicit caching' in its Gemini API, promising up to 75% cost savings for developers using its latest AI models.

Google has introduced a new feature called 'implicit caching' in its Gemini API, which aims to reduce costs for developers using its latest AI models. This feature is designed to automatically enable up to 75% savings on repetitive context passed to models, specifically benefiting the Gemini 2.5 Pro and 2.5 Flash models.

Implicit caching differs from Google's previous explicit caching method by automating the process, thus eliminating the need for developers to manually define high-frequency prompts. This change comes after feedback from developers who found the explicit caching method cumbersome and costly.

The new caching system is activated by default for Gemini 2.5 models. It works by identifying requests that share a common prefix with previous ones, allowing them to hit a cache and pass on cost savings. The minimum prompt token count required for a cache hit is 1,024 for 2.5 Flash and 2,048 for 2.5 Pro models.

We hope you enjoyed this article

Consider subscribing to one of our newsletters like AI Programming Weekly or Daily AI Brief.

Also, consider following us on social media:

Free newsletter

AI Programming Weekly

Weekly news about AI tools for software engineers, AI enabled IDE's and much more.

Industry analysis

2025 Global Business Services Agenda: Gen AI Takes Center Stage

The Hackett Group

This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.