Repository navigation
feat: add azure_ai/mistral-ocr-2503 to model cost map - #32119
Closed
Tushar-024 wants to merge 1 commit into
Closed
Tushar-024 wants to merge 1 commit into
Tushar-024 wants to merge 1 commit into
Conversation
Contributor
|
Too many files changed for review. ( Bypass the limit by tagging |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
Tushar-024
force-pushed
the
feat/add-azure-mistral-ocr-2503
branch
from
July 4, 2026 15:43
835cb18 to
df1fb4e
Compare
Adds the Azure AI Foundry Mistral OCR deployment azure_ai/mistral-ocr-2503 to both the main and backup cost maps, plus a metadata/pricing test. Closes BerriAI#32033
Tushar-024
force-pushed
the
feat/add-azure-mistral-ocr-2503
branch
from
July 4, 2026 15:48
df1fb4e to
948b323
Compare
6 tasks done
Contributor
|
Superseded by rolling registry audit #37902, which reverified and absorbed the provider-documented metadata changes at field level |
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.
What / Why
Closes #32033.
Adds the Azure AI Foundry Mistral OCR deployment
azure_ai/mistral-ocr-2503(Mistral OCR 25.03) to the cost map. This is a real Foundry catalog model (ai.azure.com/catalog/models/mistral-ocr-2503) that was missing.Note on naming (why not
mistral-ocr-4-0)The issue title asks for
azure/mistral-ocr-4-0, but on Azure AI Foundry:azure_ai/mistral-document-ai-2512.azure_ai/prefix, notazure/.mistral-ocr-4-0.So this PR adds the genuinely-missing real deployment (
mistral-ocr-2503) rather than an alias that wouldn't resolve. Happy to adjust if maintainers prefer a different scope.Changes
model_prices_and_context_window.json— addazure_ai/mistral-ocr-2503litellm/model_prices_and_context_window_backup.json— same entry (kept identical)tests/test_litellm/llms/azure_ai/test_azure_ai_mistral_ocr_metadata.py— metadata/pricing regression testPricing:
$0.004/page (Azure Foundry Mistral pricing; matches the repo's existing OCR-4 rate).Testing