Add mistral-ocr-2505 general schema and pricing for vertex-ai - #928
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The new model and pricing entries are consistent with existing OCR patterns in the catalog and appear correctly structured/placed in the Vertex AI configs.
Pull request overview
Adds the Mistral OCR (25.05) model to the Vertex AI catalog by introducing a new model entry in the general schema and corresponding pay-as-you-go pricing configuration.
Changes:
- Added
mistral-ocr-2505togeneral/vertex-ai.jsonwithtype.primary: "ocr"anddisablePlayground: true. - Added
mistral-ocr-2505topricing/vertex-ai.jsonwithrequest_token.price: 0.05andresponse_token.price: 0.
File summaries
| File | Description |
|---|---|
| general/vertex-ai.json | Registers the new mistral-ocr-2505 model as an OCR-type model and disables Playground usage. |
| pricing/vertex-ai.json | Defines pay-as-you-go pricing for mistral-ocr-2505 (input billed, output free). |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
sivadurga-d
reviewed
Sep 7, 2026
sivadurga-d
approved these changes
Sep 7, 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.
Summary
Adds the Mistral OCR (25.05) model to the Vertex AI model configs.
Changes
general/vertex-ai.json: newmistral-ocr-2505entry withtype.primary: ocranddisablePlayground: true(mirrors the existing Mistral/Azure OCR entries).pricing/vertex-ai.json: newmistral-ocr-2505pricing —request_token: 0.05(0.05 cents/page = $0.0005/page per the official Vertex AI pricing,response_token: 0. Same cents-per-page convention asmistral-ai.json/azure-ai.json(where0.4= 0.4¢/page).Notes
mistral-ocr-2505without themistralai.publisher prefix. The gateway'sgetModelAndProviderstrips the publisher prefix before pricing/type lookup (confirmed ingoogle-vertex-ai/utils.tsandpricing.ts), consistent with sibling modelsmistral-medium-3,mistral-small-2503,codestral-2.pages_processed(not tokens) ingoogle-vertex-ai/pricing.ts.