Back
Prompt Caching & Batch ROI CalculatorsGoogle

Google: Gemma 4 31B Prompt Caching Calculator

Connect API
Base Input Rate$0.2/M
Cache Hit Read$0.050/M(-75%)
Cache Write SurchargeFree (Automatic)
Output Rate$0.4/M

Simulation Parameters

Monthly Requests100,000
Input Tokens / Req8,000
Prompt Cache Hit Rate75%
Output Tokens800
Gross Uncached Cost$192.00
Net Bill$102.00
Cache Savings$90.00 (-47%)