Skip to content
Source
Sign inSign up
TanStack/schemas

Gemini prices: read gemini-4-argon, ledger the ids the pricing page does not price #417

Mergedtombeckenhammerged 1 commit intomain fromrefs/pull/417/headmerged by tombeckenham View on GitHub

tombeckenhamcommented

Part of #411 (Gemini).

What changed

  • gemini-pricing.ts: the gemini-4-argon Standard table ends its context-caching cell with "Implicit caching only (explicit caching is not supported)." That fragment quotes no amount, and it made the parser refuse the model. Only that exact note is now skipped, and only after the first fragment. Any other note on the row with no price still refuses the model (test covers both). gemini-4-argon now gets $2 / $10 / $0.10 cache read per 1M tokens, with expiresAt 2026-12-01 when the dated price change takes effect.
  • docs/source-silent/gemini.md: priced + cacheRead entries for the 18 live chat ids https://ai.google.dev/gemini-api/docs/pricing does not price (checked 2026-10-22).

Rows the provider does not price (left null, ledgered)

  • antigravity-preview-05-2026 / -09-2026 / -latest: the agent bills the underlying model tokens plus tools. No section covers these ids, and Google does not bind the dated ids to one model.
  • deep-research-preview-04-2026, deep-research-max-preview-04-2026, deep-research-pro-preview-12-2025: billed at the rates of "the underlying Gemini models", which Google does not name. Google gives only per-task estimates.
  • gemini-3.5-flash, gemini-3.7-flash: deprecated and routed to 3.6 / 3.8 per their model pages. No section and no billed rate for routed calls is stated (same call as #300).
  • gemini-2.5-computer-use-preview-10-2025: shut down 2026-07-28 per its model page.
  • gemini-2.5-flash-native-audio-preview-09-2025, gemini-2.5-flash-native-audio-latest: only the -12-2025 id is priced.
  • gemini-flash-latest, gemini-flash-lite-latest, gemini-pro-latest, nano-banana-pro-preview: no section, and Google states no binding to a priced id.
  • gemma-4-26b-a4b-it, gemma-4-31b-it: the Gemma 4 table is free tier only. Its paid-tier cells read "Not available", so there is no billed rate.
  • aqa: no section and no model page.

No fallbacks: none of these rows borrows a sibling's or successor's card.

    1. Deploying with  Cloudflare Workers  Cloudflare Workers

      The latest updates on your project. Learn more about integrating Git with Workers.

      StatusNameLatest CommitPreview URLUpdated (UTC)
      ✅ Deployment successful!
      View logs
      modelschemas737e7d72Commit Preview URL

      Branch Preview URL
      Oct 22 2026, 10:17 AM
    2. tombeckenham merged thiscd44272

    3. tombeckenham closed this

Sign in to join this conversation.