From the source
Databricks has extended prompt caching to the open-source models behind its Foundation Model APIs, covering batch, pay-per-token and provisioned-throughput workloads with no setup required.
- The feature reuses repeated prompt prefixes so the prefill stage can be skipped on a cache hit, which Databricks says lowers latency and raises throughput.
- Databricks already offered built-in prompt caching for proprietary models such as GPT, Gemini and Claude, and says the capability now also applies to higher-level services powered by a foundation model, including Agent Bricks, Genie and AI Functions.
- Supported open-source models include GPT-OSS 20B and 120B, Gemma 3 12B, Llama 3.1 8B and 3.3 70B, and a fine-tuned Llama 3.1 8B served through PEFT.
- In a large-scale production batch-inference pipeline on GPT-OSS, Databricks measured 2.5x higher per-replica input-token throughput and 3x lower P50 latency, with a cache hit ratio of 30%.
- Databricks says prompt caches are isolated, reside only in volatile memory and are never persisted, and that caching is implicit so customers configure nothing.





