Skip to content

feat: price Antigravity runs as google/<model> - #292

Merged
popodidi merged 1 commit into
mainfrom
axe/task-2454--work
Dec 2, 2026
Merged

popodidi merged 1 commit into
mainfrom
axe/task-2454--work

Conversation

@popodidi

@popodidi popodidi commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Doc row A3 of the Antigravity plan (task 2454; store doc harvis/research/20261202-antigravity-harness.md).

What

  • usage::PRICES gets google/* rows from Google's Gemini API pricing page (https://aistudio.google.com/docs/pricing, which ai.google.dev/gemini-api/docs/pricing redirects to; Paid tier, Standard, read 2026-12-02). Input, context caching and output (output includes thinking tokens):
key input cached output
google/gemini-4-carbon 4.00 0.20 20.00
google/gemini-4-neon 3.00 0.15 15.00
google/gemini-4-hydrogen 1.50 0.075 7.50
google/gemini-4-argon 4.00 0.20 20.00
google/gemini-3.8-flash, 3.6-flash 0.75 → 1.50 from 2027-01-01 0.075 → 0.15 3.75 → 7.50
google/gemini-3.5-flash-lite 0.30 0.03 2.50
  • PriceRow::from: a price change the provider has already announced, applied from that date (the Flash rows).
  • parse_antigravity keys a run's model as google/<Gemini API id> (usage::antigravity_model): the slug without its effort suffix (gemini-4-neon-high → google/gemini-4-neon; agy calls models/gemini-3.8-flash for gemini-3.8-flash-low, A0 evidence), labels such as Gemini 4 Neon (High) too. A run with no --model is google/gemini-4-neon, the default for new conversations on paid plans (https://antigravity.google/docs/models), and what hlab's signed-in agy 1.5.22 picked. This replaces ANTIGRAVITY_UNKNOWN_MODEL.
  • openai() row helper renamed fixed() since it now builds Google rows too.
  • docs/user: runtimes (Antigravity cost) and routines-bots-goals (dated prices).

On a Google sign-in this is an API-price estimate, not what the plan bills (like Claude's costUSD on a plan). The meter stays none.

Verify

  • New tests: gemini_models_are_priced_from_googles_table, an_antigravity_run_is_priced_as_its_gemini_model (hand-priced fixture run).
  • Golden logs: only the Antigravity entries' model keys change.
  • Local: fmt, clippy (default and no-default-features), cargo test --locked, no-default-features tests, ts_bindings, doc links: all pass.

🤖 Generated with Claude Code

Doc row A3 (task 2454): google/* rows in PRICES from Google's Gemini
API pricing page, an announced price change (Gemini 3.8/3.6 Flash on
2027-01-01), and agy slugs keyed as their Gemini API model without the
effort suffix; a run with no --model is the paid-plan default,
gemini-4-neon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@popodidi
popodidi merged commit 1f29ed6 into main Dec 2, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant