Skip to content

chore: add gemini-4-carbon model config and pricing for Google and Ve… - #1030

Merged
prabhash-varma merged 1 commit into
mainfrom
feat/gemini-carbon-vertex-gemini
Nov 12, 2026
Merged

prabhash-varma merged 1 commit into
mainfrom
feat/gemini-carbon-vertex-gemini

Conversation

@prabhash-varma

Copy link
Copy Markdown
Contributor

…rtex AI

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

  • New model pricing
  • Update existing pricing
  • New model configuration
  • Bug fix

Source Verification

https://cloud.google.com/model-garden/pricing?hl=en#gemini-4

Important

Please include a link to the official pricing page from the provider. Simple "I heard it from somewhere" or screenshot sources are not accepted.

Checklist

  • I have validated the JSON using jq or an online validator
  • I have verified that prices are in cents per token (not dollars)
  • I have included the source link above
  • I have signed the CLA (if first-time contributor)

Related Issue

Fixes # (issue)

Copilot AI balanced review requested due to automatic review settings November 12, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Carbon pricing and capabilities could not be verified against the official source, and billing correctness depends on downstream Google tier resolution and Vertex region/mode selection absent from this repository.

No open issues 🎉

What changed in this PR

Adds gemini-4-carbon to the repository’s model configuration and pricing catalogs for Google and Vertex AI.

Changes:

  • Defines model capabilities, structured-output options, reasoning effort, and a 65,536-token output limit.
  • Adds Google pricing entries for both context-length tiers, including token, cache-read, search, and batch rates.
  • Adds Vertex AI pricing with global and default-region rates across standard, batch, flex, and priority modes.
File Description
pricing/​vertex-ai.json Adds base pricing and regional execution-mode rates.
pricing/​google.json Adds pricing for the ≤128k and >128k context tiers.
general/​vertex-ai.json Defines model parameters, capabilities, and excluded sampling parameters.
general/​google.json Defines model parameters, capabilities, and Google-specific sampling exclusions.

Review effort: Balanced

@prabhash-varma
prabhash-varma merged commit dbc6d0a into main Nov 12, 2026
3 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.

3 participants