XNews

Jina AI Releases jina-ocr-v1 with 2.57 Pages/Sec Throughput

Jina AI Releases jina-ocr-v1 with 2.57 Pages/Sec Throughput

Jina AI released jina-ocr-v1, a 3.4B parameter document parsing model fine-tuned from DeepSeek-OCR. It achieves 2.57 pages per second throughput on a single L4 GPU, several times faster than comparable models, while converting full pages to high-quality Markdown.

Key insights

jina-ocr-v1: fast document parsing with speculative decoding

Jina AI released jina-ocr-v1, a 3.4B parameter end-to-end document parsing model fine-tuned from DeepSeek-OCR. It achieves 2.57 pages per second throughput on a single low-end L4 GPU, compared to 0.38 for chandra-ocr-2 and 0.55 for dots.mocr. Even Infinity-Parser2-Pro requires dual H100s to reach 0.47 pages/sec. The model converts entire pages to high-quality Markdown, handling tables, formulas, and layout structure.

Architecture: small visual encoder, sparse decoder, and speculative head

The visual stage uses only ~380M parameters: SAM stage + 16x convolution compression + CLIP-L stage. A 1024x1024 page uses only 256 visual tokens. The decoder uses DeepSeek-3B MoE with ~3.4B total parameters but only activates ~570M per token (64 routed experts + 2 shared experts, top-6 routing). The FastMTP speculative head, the key innovation, uses a single dense draft block recursively for K=3 steps to draft tokens, then greedy verification retains the longest matching prefix, maintaining lossless quality while doubling decoding speed on L4 (42.7 to 83.1 tokens/s, 57.6% acceptance rate, average 2.7 tokens submitted per verification).

Training: three-stage post-training with dense verifiable rewards

Base data comes from olmOCR-mix, FinePDFs, DoclingMatrix, UniMER, and synthetic pages for historical archives. Post-training has three stages: instruction alignment, robustness fine-tuning for degraded/difficult documents, and GRPO with dense verifiable rewards. The 'partial score' design is notable: OCR output is rarely fully correct or fully wrong, so dense reward signals provide more effective learning gradients than 0/1 binary judgments. Checks cover formulas, tables, and structure with partial scoring.

Performance benchmarks and limitations

On olmOCR-Bench, jina-ocr-v1 scores 83.4: base text 99.9 (tied best), small/long text 93.2, tables 88.8. Weakness is legacy scans at 42.6, requiring human review for very degraded documents. On OmniDocBench v1.6 the composite score is 91.14, with text edit distance 0.046, formula CDM 93.28, table TEDS 84.68, and reading order edit distance 0.142. Throughput is 2.57 pages/sec on A100 with concurrency 32, roughly double olmOCR-2. The model is described as occupying a 'low-cost, high-throughput' position on the quality-throughput Pareto frontier.

Deployment and usage details

The model accepts single-page images or PDFs and outputs Markdown with LaTeX formulas and HTML tables. It discards headers, footers, and images by design, and continues sentences across page breaks. An empty page outputs null. Deployment options include Transformers, vLLM (speculative decoding only available with 'eagle' not 'mtp' configuration), SGLang, Docker, and Jina's OpenAI-compatible API. It is part of Jina's document toolchain: HTML-to-Markdown via ReaderLM-v2, results retrieval via jina-embeddings-v4.

Source posts