Repository navigation
fix(catalog): use regular gemini standard prices - #1883
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
> 🤖 **This text was AI-generated.** Replace temporary Gemini catalog defaults with published regular rates. Preserve OpenRouter’s undiscounted Gemini 3.6 Flash rates on its verified Standard endpoints. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c75a331e80
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| "input_cost_per_mil_tokens": 1.5, | ||
| "output_cost_per_mil_tokens": 7.5, | ||
| "input_cache_read_cost_per_mil_tokens": 0.15, |
There was a problem hiding this comment.
Keep introductory rates until their published expiry
For Google or Vertex Standard requests made through December 31, 2026, this changes the fallback prices to 1.5/7.5/0.15 even though the published Gemini 3.6 Flash rates remain 0.75/3.75/0.075 until January 1, 2027 (Google pricing). The google and vertex pricing maps contain dated non-Standard tiers but no dated standard entries, so consumers resolving Standard usage fall back to these top-level values and overstate costs by 2× during the promotion; preserve the new regular defaults while adding conditional Standard rows for the introductory period, as was done here for OpenRouter.
Useful? React with 👍 / 👎.
Summary
Replace introductory Gemini Standard defaults with published regular list prices. The twelve updates cover the five shared Gemini IDs, their five Vertex-only publisher IDs, and two Databricks entries. Preserve OpenRouter’s independently published, undiscounted Gemini 3.6 Flash prices in two Standard rows.
Changed defaults
USD per million tokens, in input / output / cache-read order. The dates are the providers’ published regular-rate start dates. The catalog’s top-level fields are undated.
gemini-4-argon,publishers/google/models/gemini-4-argongemini-4-carbon,publishers/google/models/gemini-4-carbongemini-3.7-flash,publishers/google/models/gemini-3.7-flashgemini-3.8-flash,publishers/google/models/gemini-3.8-flashgemini-3.6-flash,publishers/google/models/gemini-3.6-flashdatabricks-gemini-4-argon,databricks-gemini-4-carbonProvider differences
pricing.discount: 0.5. OpenRouter's posted undiscounted global rates match the new defaults. Its listings lack a verified cutoff and an undiscounted cache-write price. OpenRouter list price policypricing.discount: 0. Preserve global 0.75 / 3.75 / 0.075 and US 0.825 / 4.125 / 0.0825 underpricing.openrouter.standard. Total cache-write rates are 0.7916666666666667 and 0.8666666666666667, respectively. Conditions use the exact API hostnames Brainstore receives,openrouter.aifor default routing andus.openrouter.aifor US routing. The EU API listed no Standard endpoint. A regional upstream explicitly pinned on the global host is indistinguishable from a default request using hostname metadata. Global endpoint data · US endpoint data · EU endpoint data · Routing · Cache writeThe catalog has no introductory-price defaults for the documented Gemini 3.8 TTS, Robotics ER 2, or CodeMender offers. The Databricks 3.7 and 3.8 Flash entries already have no top-level rates. Existing non-Standard tiers are outside this change.
Validation
Normalization, all 168 targeted tests, and applicable pre-commit hooks passed. The diff is limited to the model catalog.
Link to Devin session: https://braintrust.devinenterprise.com/sessions/085fa893e72e42ca87ea0b1c0246c3b2
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/085fa893e72e42ca87ea0b1c0246c3b2?variant=devin