Skip to content

fix(pricing): refresh the rate card and add gemini 3.7/3.8 Flash - #155

Merged
bai-uipath merged 2 commits into
mainfrom
bai/rate-card-audit
Sep 3, 2026
Merged

fix(pricing): refresh the rate card and add gemini 3.7/3.8 Flash#155
bai-uipath merged 2 commits into
mainfrom
bai/rate-card-audit

Conversation

@bai-uipath

Copy link
Copy Markdown
Collaborator

Re-verified every row of the built-in rate card against the vendor cards, and added the models the antigravity bump now needs. Four rows were stale; three models were missing entirely.

Why now

ANTIGRAVITY_MODEL was just moved to gemini-3.8-flash in both variable stores (the skills repo variable and the ADO coder-eval-athena-config group). Antigravity computes cost locally from tokens against this table, so an unpriced id books no cost at all — the run still passes, but reports cost_complete: false and a null bill. That prompted a full audit rather than just the one row.

Repriced

model was now
claude-sonnet-5 $3 / $15 $2 / $10
gpt-5.6-sol $5 / $30 $4 / $20
z-ai/glm-5.2 0.7168 / 2.2528 0.966 / 3.036
deepseek/deepseek-v4-pro 0.435 / 0.87 1.0308 / 2.0616

claude-sonnet-5 is the significant one. The table deliberately held $3/$15 against the $2/$10 introductory rate lapsing on 2026-08-31. Anthropic has since made $2/$10 the standard price and cancelled the scheduled increase, so that hedge was overstating every run of the nightly's own model by 50%.

The two OpenRouter rows come from the live /api/v1/models feed. Both had drifted up, and deepseek-v4-pro's cache-read rate was low by roughly 24x.

Added

  • gemini-3.8-flash and gemini-3.7-flash — same list rate as 3.6.
  • claude-fable-5-1 — it prices cache hits at 0.025x input, not the 0.1x every other Claude model uses. Worth a row of its own so nobody copies Fable 5's figure onto it.

Left alone, deliberately

The three Bedrock open-weight rows (deepseek.v3.2, zai.glm-5, moonshotai.kimi-k2.5) are unchanged. AWS does not publish eu-north-1 figures for them, and the existing comment warns against substituting the US column. Carried forward and documented rather than guessed.

Verification

Full Python suite, evalboard tsc --noEmit, and all 608 evalboard tests pass, including the pricing.pypricing.ts parity guard. The 13 failures in test_judge_litellm.py / test_reports_stats_nonfinite.py on my machine reproduce identically with these changes stashed — a local venv artifact, not this branch.

The gemini rows were confirmed end to end: an antigravity run on gemini-3.8-flash went from cost_complete: false / null cost to cost_complete: true / $0.0685 once the row was present.

bai-uipath and others added 2 commits September 3, 2026 13:48
Re-verified every row against the vendor cards on 2026-09-03. Four rows were
stale and three models were missing.

Repriced:
- claude-sonnet-5 $3/$15 -> $2/$10. The $2/$10 introductory rate is now the
  standard price and the 2026-09-01 increase was cancelled, so the deliberate
  hedge against it lapsing was overstating the nightly's own model by 50%.
- gpt-5.6-sol $5/$30 -> $4/$20. Sol took its own cut after the 2026-07-30
  Terra/Luna one.
- z-ai/glm-5.2 and deepseek/deepseek-v4-pro, read from OpenRouter's live
  /api/v1/models feed. Both had drifted up; deepseek's cache read was low by
  ~24x.

Added:
- gemini-3.8-flash and gemini-3.7-flash. 3.8 is now the ANTIGRAVITY_MODEL in
  both variable stores, and an unpriced model books no cost at all, so an
  antigravity run reported cost_complete=false with a null bill.
- claude-fable-5-1, which prices cache hits at 0.025x input rather than the
  0.1x every other Claude model uses.

The three Bedrock open-weight rows are carried forward untouched: AWS does not
publish eu-north-1 figures for them, and the comment there warns against
substituting the US column.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Drop the price-change narratives. What each row USED to cost is git history;
the comments now carry only the traps a future edit can fall into.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bai-uipath
bai-uipath marked this pull request as ready for review September 3, 2026 21:10
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Claude Code is working…

I'll analyze this and get back to you.

View job run

@uipreliga uipreliga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@bai-uipath
bai-uipath merged commit be98f9d into main Sep 3, 2026
15 of 16 checks passed
@bai-uipath
bai-uipath deleted the bai/rate-card-audit branch September 3, 2026 21:24
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.

2 participants