Gemini Flash vs Pixtral
Pick Gemini Flash for bulk PDF to Markdown or JSON extraction, mixed-language documents and long files, because it is the only one here with an independent document benchmark and a 1M-token context. Pick Pixtral only if you already run it on the Mistral API or need Apache-2.0 weights for chart and document question answering. Mistral marks Pixtral 12B as deprecated, so it is a poor choice for a new OCR project.
Gemini Flashgoogle/gemini-flash | Pixtralmistral/pixtral | |
|---|---|---|
| Type | Vision model | Vision model |
| Price | 15 credits / page | 2 credits / page |
| Per 1,000 pages | $15.00 | $2.00 |
| Typical speed | 1.6 s / page | 3.0 s / page |
| Best for | Handwriting and mixed layouts | Questions about document images |
| Inputs | PDF, images | images |
| Languages | 100+ languages | Multilingual |
| Max pages per request | 1,000 | 500 |
| Tables | ✓ Yes | No |
| Handwriting | ✓ Yes | No |
| Math | ✓ Yes | No |
| Bounding boxes | No | No |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ Yes |
| On OCRRouter | Available | Available |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
Which to choose
Choose Gemini Flash if
- Gemini 3 Flash scores 92.62 on OmniDocBench v1.6, an independent benchmark, close to Gemini 3 Pro at 92.91.
- The context window of up to 1M tokens fits long documents in one request.
- It suits bulk PDF to Markdown and JSON extraction by prompt or schema, and mixed-language documents.
Choose Pixtral if
- It ships as Apache-2.0 open weights, so you can self-host it and pay only for compute.
- Mistral reports 90.7 ANLS on DocVQA and 81.8 on ChartQA, which fits question answering over charts and documents.
- The Mistral API launch price was $0.15 per million input and output tokens, which helps if you already have a Mistral integration.
Key differences
| Gemini Flash | Pixtral | |
|---|---|---|
| Licence | Proprietary | Apache-2.0 open weights |
| How you run it | Hosted API only (Gemini API or Vertex AI), no air-gapped or on-prem use | Mistral API or self-hosted |
| Price | Gemini 3 Flash Preview: $0.50 input and $3.00 output per 1M tokens; Batch/Flex $0.25 and $1.50 | $0.15 per million input and output tokens at launch; free to self-host |
| Context window | Up to 1M tokens | 128K tokens |
| Benchmark evidence | 92.62 on OmniDocBench v1.6 (independent) | 90.7 ANLS on DocVQA (reported by Mistral) |
| Handwriting and non-Latin text | Listed as good for mixed-language documents | Reported accuracy drop on handwriting, small fonts and non-Latin scripts |
| Maintenance and known issues | Prices for several newer Flash models rise on January 1, 2027; no confidence scores or fixed schema | Deprecated and no longer maintained; an HN user said it doesn't always get OCR anywhere near correct |
Sources
- Gemini API pricing
- OmniDocBench leaderboard
- Gemini pricing changes 2026
- Mistral announcement
- HN launch thread
- Third-party deployment guide
What each one is
Gemini Flash
General vision model with strong handwriting and layout understanding at a low price.
Gemini Flash detailsPixtral
Mistral's open-weight vision models, Pixtral 12B and Pixtral Large. Mistral's API no longer serves them, so they run self-hosted.
Pixtral detailsTry both on your own file
Run the file once with each model and compare the output.
Use one, fall back to the other
{"model": "google/gemini-flash","fallbacks": ["mistral/pixtral"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Gemini Flash alternativesPixtral alternativesBest OCR models in 2026