Repository navigation
Conversation
…h-image GA models Fixes BerriAI#29794 Adds pricing entries for the non-preview GA releases of: - gemini-3-pro-image (bare, gemini/, vertex_ai/ prefixes) - gemini-3.1-flash-image (bare, gemini/, vertex_ai/ prefixes) Pricing matches the corresponding preview models per Google's published rates.
Greptile SummaryThis PR adds GA (non-preview) pricing entries for
Confidence Score: 3/5The pricing data for the 6 new entries looks correct, but the whole-file reformat makes it impossible to confirm that no other data was silently altered during the change. The new GA entries mirror their preview counterparts and spot-checked values match Google's published rates. However, the entire file was reformatted alongside the additions, so there is no practical way to audit whether any existing pricing values were accidentally changed. model_prices_and_context_window.json — should be resubmitted with only the 6 new entries and no reformatting so the actual change can be reviewed.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds GA pricing entries for gemini-3-pro-image and gemini-3.1-flash-image across three provider prefixes, but unintentionally reformatted the entire ~40k-line file from 4-space to 2-space indentation, making the actual content changes unverifiable in the diff. The vertex_ai/gemini-3-pro-image entry also carries an incorrect source URL hostname. |
Comments Outside Diff (2)
-
model_prices_and_context_window.json, line 1 (link)Global file reformat buries the actual changes
The diff for this PR contains ~40,413 removed lines and ~40,535 added lines — essentially the entire 40 k-line file — because the indentation was changed from 4-space to 2-space throughout. The net content change (6 new model entries) is only ~122 lines. This makes it practically impossible to verify that only pricing entries were added and nothing else was modified. It also permanently corrupts
git blamefor every line in the file. Please revert the formatting change and submit only the 6 new entries with the surrounding context left untouched.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
-
model_prices_and_context_window.json, line 33540-33554 (link)The source URL uses
docs.cloud.google.comas the hostname, which is not a valid Google Cloud domain (the real domain iscloud.google.com). The sibling entryvertex_ai/gemini-3.1-flash-imagecorrectly links tohttps://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models.
Reviews (1): Last reviewed commit: "feat(pricing): add pricing for gemini-3-..." | Re-trigger Greptile
|
Superseded by rolling registry audit #37902, which reverified and absorbed the provider-documented metadata changes at field level |
Description
Adds pricing entries for the GA (non-preview) releases of two Gemini image generation models:
gemini-3-pro-image(andgemini/gemini-3-pro-image,vertex_ai/gemini-3-pro-image)gemini-3.1-flash-image(andgemini/gemini-3.1-flash-image,vertex_ai/gemini-3.1-flash-image)Fixes #29794
These models were promoted from preview but the GA model names were missing from
model_prices_and_context_window.json, causinglitellm.cost_calculatorto return 0 or raise an exception for these models.Pricing used
Pricing matches the corresponding preview models per Google's published rates:
Sources:
Type of change
Checklist
gemini/,vertex_ai/)-previewmodels-previewcounterparts