Skip to content
ExplainedBackend

Gemini Pricing: Antigravity's Cache Savings Miss These API Tests

Gemini pricing rewards cache hits, but SemiAnalysis's dated Neon API runs showed no gain alongside Google's Antigravity quota improvements.

By DC Team · · 5 min read

Google and Antigravity logos above the headline More work. Same quota. Whose savings? A diagram contrasts a subscription meter marked +75% with a bill beside a question mark.

Gemini pricing has a split worth checking before you lower your agent budget. Google says caching and tooling improvements let Antigravity subscribers get close to 75% more Neon work from the same quota. But SemiAnalysis reports that its direct Gemini 4 Neon API runs recorded 89% cache hits on November 20–21 and 86–89% on November 24–27. Those dated measurements show no improvement in that workload across the reported windows. Google's subscription update, SemiAnalysis's API measurements.

That is evidence against assuming the subscription gains reached those API runs. It does not establish that every API customer missed out, or describe performance after November 27. The practical question is whether your own requests read more discounted tokens, use fewer tokens per finished task, or simply benefit from a different subscription allowance.

The dated runs behind the Gemini pricing question

SemiAnalysis published its comparison on December 6 UTC, still December 5 in the US Central time zone. It says its GDPx benchmark runs call Neon through the API and that their cache hit rate had not moved. The figures compare November 20–21 with November 24–27, overlapping Google's sequence of subscription improvements. The firsthand report.

The important qualification sits inside that comparison. These are the benchmark operator's reported measurements. The post does not supply request-level logs, counts for each daily sample, an uncertainty interval, or a denominator explaining exactly how its percentage was aggregated. It also does not establish identical workload mixes across the two windows. We verified the post's text through X's public syndication response; we did not rerun GDPx.

That limits the conclusion. The later range reaches the earlier 89% and extends below it. There is no visible upward shift in the reported figures, but calling this a measured API-wide regression would go beyond the evidence. Likewise, an unchanged cache rate alone cannot tell us whether other changes reduced total tokens or the final bill.

The useful finding is narrower: a team buying direct API tokens had no demonstrated cache-rate improvement in these particular runs to put against Google's subscription announcement. Our earlier reporting on Neon's coding limits covers the app-side complaints. This follow-up asks what an API operator can actually budget.

What Google improved, and where it promised the gains

Google's Varun Mohan described several changes on X. Keep the dates and metrics separate:

DateGoogle's reported changeWhat the figure measures
November 20Larger Neon cache pool, around 4% higher hit rate, at least 20% more work within quotaA rollout explicitly scoped to the coding product
November 21Quota reset; caching allowed 22% more work within quotaSubscription usage, according to Google
November 24New tooling consumed 12% less quota per task and finished tasks 17% fasterPer-task quota consumption and completion time
November 25Another 4.5% cache hit-rate increase; 28% more tasks within quota; close to 75% more usage over five daysGoogle's combined subscription improvement claim

Sources: November 20 announcement, November 21 reset, November 24 tooling update, November 25 update.

Those figures should not be added together. They describe different measures, and the five-day total already includes caching and tooling changes. Google's announcements also do not provide enough denominator detail to turn every quoted hit-rate percentage into a universal percentage-point calculation.

More work within a subscription allowance can come from sending less context, making fewer calls, or reusing more cached input. An API customer needs to observe the corresponding change in billable usage. A quota reset, by itself, supplies no evidence of a lower API token price.

Even the 75% claim needs careful translation. If a fixed allowance buys 1.75 times as many identical tasks, quota consumed per task falls by about 42.9%, calculated as 1 - 1 / 1.75. That conditional calculation describes allowance efficiency. It is not a 75% discount on a developer invoice.

A cache miss still costs 20 times a cache hit

Google's current Standard paid-tier table lists Neon input at $3 per million tokens, cached input at $0.15, and output, including thinking, at $15. Explicit caching is unsupported for this model. These are the published rates checked for this article, not a historical invoice reconstruction. Official Neon pricing.

Here is our input-only calculation for one billion total input tokens. The hit share in this example means cached input tokens divided by all input tokens. It is a hypothetical, token-weighted share, not an assertion about the denominator used in GDPx's post.

Hypothetical cached shareUncached input costCached input costTotal input cost
86%$420.00$129.00$549.00
89%$330.00$133.50$463.50
94%$180.00$141.00$321.00
100%$0.00$150.00$150.00

The formula is 1,000 × ((1 - hit_share) × 3 + hit_share × 0.15). At these rates, moving from 89% to 94% cached input would save $142.50 per billion input tokens, about 30.7% of the input charge. Each percentage point shifted from uncached to cached input saves $28.50 at that volume.

Output costs sit outside this table. So do tool charges and any negotiated discounts. A run that generates more output can have a better input hit rate and still cost more overall. Our calculation isolates one billing mechanism; it does not reproduce SemiAnalysis's benchmark costs or estimate the subscription's internal accounting.

What to do: audit the tokens your API actually bills

Start with saved response usage rather than the subscription headline. Google's Interactions examples expose usage.total_input_tokens and usage.total_cached_tokens. Its caching documentation says implicit caching is opportunistic, with no guaranteed retention window or savings. It recommends shared prefixes and requests close together in time. Official caching guide.

For responses saved as a JSON array in responses.json, this offline audit totals those two fields and estimates only the Standard Neon input charge. Export records for a single model and pricing tier. It makes no API calls:

python3 - responses.json <<'PY'
import json, sys

rows = json.load(open(sys.argv[1]))
if not isinstance(rows, list) or not rows:
    raise SystemExit("Expected a nonempty array of Interactions responses")

total = cached = 0
for row in rows:
    usage = row["usage"]
    n = usage["total_input_tokens"]
    c = usage["total_cached_tokens"]
    if not all(type(v) is int for v in (n, c)) or not 0 <= c <= n:
        raise SystemExit("Missing or invalid input/cache counts")
    total += n
    cached += c

cost = ((total - cached) * 3 + cached * 0.15) / 1_000_000
print(f"Cached input share: {cached / total:.2%}" if total else "No input")
print(f"Estimated Standard input charge: ${cost:.4f}")
PY

We checked the arithmetic locally with synthetic records totaling one million input tokens and 890,000 cached tokens. The command returns an 89.00% share and $0.4635. That validates the calculation, not Google's live cache behavior. Other API surfaces use different usage field names, so adapt the export to the actual response schema before running it.

Compare matched tasks over dated windows. Keep the model, thinking setting, client version, prompt prefix, idle gaps and success criteria in the record. Sum tokens before calculating the hit share; averaging each request's percentage can give a tiny call the same weight as a huge one. Then compare total billed cost per accepted result, including output and unsuccessful retries.

Keep shared instructions and reference material stable where practical. Google's guide says Neon uses implicit caching only, so an explicit cache object is not a way to guarantee reuse for this model. A stable prefix improves eligibility; it does not reserve capacity. Caching support and limitations.

Our recommendation is to keep the API budget based on observed costs until your own matched runs demonstrate a saving. Gemini pricing makes cache misses expensive enough to audit. Google's subscription improvement is a reason to retest, while SemiAnalysis's dated measurements are a reason to insist on receipts from the route you actually pay for.