Repository navigation
chore: add gemini-4-hydrogen model config and pricing for Google and … - #1031
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Official provider pricing could not be independently accessed, leaving Hydrogen’s cache-write rates and supported Vertex execution modes unverified and requiring human confirmation before publishing billing data.
No open issues 🎉
What changed in this PR
Adds gemini-4-hydrogen to the model configuration and pricing catalog for Google and Vertex AI.
Changes:
- Defines model capabilities, a 65,536-token output limit, structured response formats, and reasoning-effort options.
- Adds Google standard and batch pricing for both context-length tiers.
- Adds Vertex AI base pricing and global/default-region rates for standard, batch, and priority execution.
| File | Description |
|---|---|
pricing/vertex-ai.json |
Adds token, cache, and tool-use pricing with region and execution-mode variants. |
pricing/google.json |
Adds pricing entries for contexts at or below and above 128k tokens. |
general/vertex-ai.json |
Defines supported capabilities and parameters for Vertex AI. |
general/google.json |
Defines supported capabilities and parameters for Google. |
Review effort: Balanced
whysumedh
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…Vertex AI
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
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
jqor an online validatorRelated Issue
Fixes # (issue)