docs: correct OCR pricing to $4/1k and document the 4.1 alias - #25
Conversation
The README claimed ~$1/1k pages, an OCR 3-era rate. The default model mistral-ocr-latest is an alias for OCR 4.1 (verified via models.list: aliases ['mistral-ocr-4', 'mistral-ocr-4-1']), which is $4/1k ($2 batch), so the documented cost was understated 4x for every run using the default. Also notes that the OCR response echoes the model string it was sent rather than resolving the alias, so runs made with mistral-ocr-latest cannot be attributed to a point release after the fact; pin --model explicitly if the exact version must appear in metadata.json and the fingerprint. Fixes the stale pricing URL (products/pricing -> pricing/api).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughREADME.md updates Mistral OCR pricing, Batch API rates, OCR model aliases, OCR 3 pricing context, and explicit model-selection guidance for metadata and resume fingerprints. ChangesMistral OCR documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Mergeability Score: ⚪ Minimal · up to This documentation-only change corrects the advertised OCR cost and explains alias/version attribution, reducing the chance of understated user cost estimates; no actionable merge-blocking risk remains after normal review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can type 'qodo, fix this' on a finding and the fix lands right on your PR |
PR Summary by QodoDocs: fix OCR pricing to $4/1k and clarify mistral-ocr-latest alias behavior
AI Description
High-Level Assessment
Files changed (1)
|
Summary
The README advertised
~$1/1k pages, an OCR 3-era rate. The default modelmistral-ocr-latestis an alias for OCR 4.1, which is $4/1k ($2/1k batch) —so the documented cost was understated 4x for every run made with the default,
and has been since the OCR 4 release.
Two places fixed: the cross-tool comparison table and the Pricing section.
Evidence
Alias target, from the models endpoint on a live key:
Rate confirmed against https://mistral.ai/pricing/api (OCR 4.1: $4 per 1000
pages; Document AI $5). OCR 4.0 and OCR 3 rates are no longer published there.
The Pricing section also now records a behaviour worth knowing: the OCR response
echoes back whichever model string it was sent rather than resolving the alias.
So a run made with the alias records
mistral-ocr-latestinmetadata.jsonandcannot be attributed to a point release afterwards. Users who need the exact
version pinned should pass
--model mistral-ocr-4-1, which_run_fingerprintalready captures correctly.
Scope / non-goals
Documentation only — no code, no behaviour, no dependency change. Does not touch
#23 (OCR 4 blocks/confidence) or #24 (mistralai 2.x migration); this ships
independently of both.
Test plan
No code changed, so no test outcomes to report. Verified by inspection:
grep -rn '\$1/1k|~\$1 per|products/pricing' README.md mistral_ocr/returnsnothing — no stale rate or stale pricing URL left anywhere.
git diff --stat:README.md | 17 +++++++++++++++--, single file.mistral.ai/pricing/api) was fetched and is thepage carrying the $4/1k figure; the old
mistral.ai/products/pricing/nolonger lists OCR rates.
Summary by cubic
Corrects README pricing for Mistral OCR to $4/1k pages ($2/1k via Batch) and documents that
mistral-ocr-latestaliases OCR 4.1. This fixes a 4x understatement from the prior OCR 3-era ~$1/1k figure and clarifies version pinning behavior.mistral-ocr-latestrecord that alias and cannot be attributed to a specific 4.x point release later.--model mistral-ocr-4-1to pin the exact version inmetadata.jsonand the run fingerprint.Written for commit 056b770. Summary will update on new commits.
Summary by CodeRabbit
mistral-ocr-latestOCR 4.1 alias and pricing differences from OCR 3.