PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?
- Model ID
- xai/grok-4
- Type
- Vision model
- Price
- 14 credits / page ($14.00 per 1,000 pages)
- Typical speed
- 2.5 s / page
- Inputs
- images
- Languages
- Multilingual
- Max pages per request
- 50
- Output
- Markdown, JSON
- Supports
- TablesMathMultilingual
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai/grok-4",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Grok 4 speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
Grok 4 pricing
Grok 4 costs 14 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $14.00. You only pay for pages that return a result.
New accounts get 50 free credits, enough for about 3 pages with this model. See pricing for credit packs.
Similar models
1Mistral Medium 3Mistral's multimodal model from May 2025 with image input.
mistral/mistral-medium-34 credits / page2Command A VisionCohere's enterprise vision model (July 2025) for documents, charts and scans.cohere/command-a-vision4 credits / page3GPT-4.1 miniSmaller GPT-4.1 model with image input at a lower price.openai/gpt-4-1-mini3 credits / pageAll Grok 4 alternativesBest OCR models by use case
Compare Grok 4
Grok 4 vs Mistral Medium 3Grok 4 vs Command A VisionGrok 4 vs GPT-4.1 miniGrok 4 vs GPT-4oGrok 4 vs Qwen-VLGrok 4 vs Doubao-Seed-1.6