Repository navigation
Conversation
Refs simonw#45. Values taken verbatim from the Standard-tier "Context caching" column of https://ai.google.dev/gemini-api/docs/pricing (read 2026-08-22), using the text/image/video figure where the page prices audio separately.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #45. Fills in
input_cachedfor 4 Gemini models.Source: the Standard-tier Context caching column of https://ai.google.dev/gemini-api/docs/pricing, read 2026-08-22. Where the page prices audio separately I took the text/image/video figure, which is what
inputin this dataset already tracks.Deliberately still
null:gemini-2.0-flash-lite— the page says context caching is "Not available" for it. Thenullthere is correct, not missing.gemini-3-pro-preview/-200k,gemini-2.5-pro-preview-03-25/-200k, and the fivegemini-1.5-*entries — none of these appear on the current pricing page under those names, so there's nothing live to quote. I'd rather leave a hole than infer one.I also checked
gemini-3.6-flashandgemini-3.7-flashagainst the page and the two-entryprice_historysplit you already have ($0.75/$3.75/$0.075to 2027-01-01, then$1.50/$7.50/$0.15) matches it exactly, including the caching figure. Nothing to do there — noting it so you know it was verified rather than skipped.python3 scripts/build.pyruns clean.Companion to #67, which does the same for
data/anthropic.json. Same reason: for coding-agent workloadsinput_cachedis the field that decides the answer — one measurement over 8.04B tokens put the mix at 95.6% cache reads, so the price that dominates the bill is the one that'snullhere.