Skip to main content

Omni Parse Bench

test Python 3.12+ Code: Apache 2.0 Data: per source Dataset on Hugging Face

A document-parsing benchmark with 16,288 tests on 2,937 pages.

Results

Every system on our dataset. Scoring, run details and charts.

parser weights parameters headline USD / 1,000 pages text tables layout refusals
Datalab accurate closed 94.1 $7.50 92.0 94.2 96.0 —
Gemini 3.8 Flash * closed 92.9 ≈$37.08 91.3 95.2 92.2 8
Datalab balanced closed 92.6 $3.00 90.1 91.6 96.2 —
GPT-6.1 Sol closed 91.5 $30.95 89.8 95.6 89.1 17
Reducto closed 90.8 $10.00 85.4 91.2 95.8 —
LlamaParse closed 90.4 ≈$56.25 88.2 92.6 90.4 —
chandra-ocr-2 (Datalab) open 4.5B 90.1 — 87.4 87.4 95.4 —
Claude Opus 5.5 closed 90.0 $68.45‡ 93.9 93.4 82.6 40
Mistral OCR closed 89.5 $4.00 82.8 91.9 93.8 —
Claude Sonnet 5.5 * closed 88.7 ≈$34.30 93.1 95.4 77.5 7
dots.mocr open 3.0B 87.9 — 82.5 88.6 92.5 —
GPT-5.6 Sol closed 87.8 ≈$94.49 85.4 91.6 86.5 17
MinerU2.5-Pro open 1.2B 87.1 — 77.4 92.1 91.7 —
Infinity-Parser2-Pro open 35.1B (MoE) 87.0 — 83.3 84.1 93.5 —
Extend closed 83.3 ≈$33.75 64.1 92.5 93.4 —
MiniCPM-OCR-1.0 open 1.3B 83.2 — 72.8 89.1 87.6 —
Surya OCR 2 (Datalab) open 0.67B 83.1 — 80.6 74.3 94.3 —
Azure closed 83.0 $5.00 74.6 81.7 92.8 —
LightOnOCR-3-4B open 4.5B 82.9 — 83.9 70.8 94.0 —
LightOnOCR-3-0.8B open 0.85B 81.6 — 81.1 72.1 91.7 —
GLM-OCR open 1.3B 81.5 — 71.0 84.2 89.3 —
Unlimited-OCR 2 open 3.3B 81.2 — 72.4 79.7 91.6 —
Nemotron 3.5 Parse open 0.63B 80.0 — 72.4 77.3 90.2 —
Unlimited-OCR open 3.3B 79.3 — 70.2 76.5 91.1 —
PaddleOCR-VL-1.6 open 0.96B 78.7 — 61.7 83.7 90.7 —
Infinity-Parser2-Flash open 2.2B 78.4 — 78.4 66.5 90.4 —
DeepSeek-OCR-2 open 3.4B 75.2 — 64.2 70.0 91.4 —
Indra OCR (Datalab) open about 12M † 69.5 — 60.3 58.1 90.1 —
HunyuanOCR-1.5 open 1.0B 64.6 — 50.5 61.9 81.4 —
olmOCR-2 open 8.3B none — 71.3 56.6 unsupported —
Nanonets-OCR2-3B open 3.8B none — 68.2 62.6 unsupported —
Tesseract open n/a none — 17.6 0.0 unsupported —

Costs are USD per 1,000 pages. Opus 5.5 and GPT-6.1 Sol use the measured full-run reported costs. ‡ Opus is a reported subtotal: 12 refused pages returned no usage or cost. Historical prices retain the existing price chart’s 2026-10-08 basis; ≈ marks values read back from that chart rather than remeasured. Datalab prices include the chart’s 25% data-retention discount. — means self-hosted inference cost was not measured; it does not mean free inference.

* Used in creating and verifying at least some tests. † See docs/results.md. A system with no layout blocks has no layout score, so no headline (Grade).

About the benchmark

This repository contains a way to benchmark document-parsing systems using our unit-test scorer and dataset as well as your own. Concretely, this repository holds:

  • the scorer, which works on its own: a page's output and its tests as input, a verdict per test as output;
  • the benchmark: run over our dataset on Hugging Face, or your own; and
  • the systems: different registered systems that you can easily evaluate, including open models with a folder to serve each on a GPU.

Contents:

  1. Results: scores, costs and refusal counts;
  2. How scoring works: tests, families, the headline and tags;
  3. Install: the scorer alone, or with the adapters and the dataset;
  4. Run the benchmark: one system on the dataset, from a config;
  5. Grade: a run again, or predictions of your own;
  6. Score on your own: the scorer on its own, in code or from the command line;
  7. Predict one page: one page through one system;
  8. Results details: run notes, latency and price charts;
  9. License; and
  10. Citation.

How scoring works

The benchmark's design: headline, families, tests, args and tags

A test is a yes/no question about one page. Each test type belongs to one of three families:

test type checks family
present this text, number or equation appears text
order text A comes before text B text
repeat this line appears exactly N times text
table_cell this cell sits under these headings and beside these neighbors tables
layout_kind the block holding this line is a heading, text or table layout

A family's score is the share of its tests that pass, and the headline is the mean of the three family scores.

Each test is tagged by what it checks:

  • structure: table, math, form and multi_column;
  • rendering: handwriting, tiny, rotated and degraded;
  • role: heading, caption, footnote, list, code, figure and header_footer;
  • script: ISO 15924 codes (Latn, Hani, Deva, ...); and
  • language: ISO 639-3 codes (eng, fra, tha, ...).

Tags never decide whether a test passes, or the headline. They are only for slicing the results, such as the score on handwriting alone. The full design is docs/design.md.

Install

uv pip install omni-parse-bench                 # the scorer, and grading a dataset folder on disk
uv pip install 'omni-parse-bench[harness]'      # + the adapters, to get predictions
uv pip install 'omni-parse-bench[benchmark]'    # + the Hugging Face client, to download our dataset

Run the benchmark

A run is one system on one dataset. It works in three stages:

  1. Plan: check the config, the system's keys and the dataset's files before any call;
  2. Predict: send each page to the system and save each answer in the run's folder; and
  3. Grade: score the saved answers. Grading calls no system, so it can be done again for free.

A config

A run is one config: a YAML file with every key written out. opb init writes one for a registered system, every option at its default, and on our dataset:

opb init datalab > datalab.yaml
dataset: hf://datasets/datalab-to/omni_parse_bench   # a folder, or a Hugging Face dataset
manifest: manifest.parquet                           # which of its pages, with which files
scorers:
  unit_tests: {}
rows:
  sample: 0
  limit: 0
  only: null
timeout: 900.0           # seconds
workers: 0               # pages in flight at once; 0 for the system's default
system:
  datalab:
    mode: accurate
    ...

opb systems lists every system you can run; opb systems <name> shows its options and the key it needs.

--set path=value changes one value the file has, read as YAML, and refuses a path it hasn't. This runs Datalab on 5 pages:

export DATALAB_API_KEY=...
opb run --config datalab.yaml --set rows.sample=5 --out runs/

opb run shows the plan and asks before calling any system.

Models you serve

Each open model has a folder, omni_parse_bench/harness/providers/serve/<model>/, that serves it on any GPU host:

docker build -t opb-chandra-ocr omni_parse_bench/harness/providers/serve/chandra-ocr
docker run --gpus all -p 8001:8001 opb-chandra-ocr
opb init chandra-ocr > chandra.yaml
opb run --config chandra.yaml --set system.chandra-ocr.base_url=http://<host>:8001

The system's served option names the weights and their revision. Before any call, opb asks the server what it serves, and refuses a run whose server serves something else. docs/providers.md has more information.

Run folder shape

runs/datalab-20261026-185915-9c9e/
  config.yaml                         # resolved config; point to this to rerun
  settings.json                       # the question it answers and the launch; resume checks against it
  server.json                         # for a model you serve: what its server said it serves
  records/<id>.json                   # response from the system in full (cost, raw response)
  predictions/<id>.json               # prediction portion of the response
  unit_tests/summary.json             # summary of scores
  unit_tests/scores.jsonl             # scores (line-per-page)
  unit_tests/details/<id>.jsonl       # detailed info (verdict per test) per page

docs/API.md has more information, including how to run on your own dataset.

Resume

You can resume a run by giving a path to its folder.

opb resume runs/<run>                                         # continue where it stopped
opb resume runs/<run> --retry-failed                          # also ask again for timeouts, etc.
opb resume runs/<run> --retry-failed --set timeout=1800       # increase timeout

Grade

opb run grades its run when it finishes. To grade a run again, or a folder of your own predictions:

opb grade runs/datalab-20261021-160012-3f9a        # a run knows its own dataset
opb grade mine/ --dataset my-dataset/              # your predictions on your own dataset

A summary looks like this:

{
  "scorer": "unit_tests",
  "run": "datalab-20261021-160012-3f9a",
  "headline": 0.657,
  "headline_is": "scored.headline × coverage",
  "rows": 5,
  "failed": 1,
  "zeroed": 1,
  "coverage": 1.0,
  "scored": {
    "headline": 0.657,
    "headline_is": "the mean of the families' scores",
    "families": {
      "text": {"score": 0.72, "tests": 120, "documents": 5},
      "tables": {"score": 0.59, "tests": 40, "documents": 3},
      "layout": {"score": 0.66, "tests": 30, "documents": 5}
    }
  }
}

A failed page counts with all its tests failed (zeroed), so coverage stays 1 and the headline is scored.headline.

Score on your own

The scorer works on its own, with no dataset and no network. Here is one page with three tests:

from omni_parse_bench import data
from omni_parse_bench.scorers import unit_tests

tests = unit_tests.tests.parse("example-p1", {"tests": [
    {
        "id": "t1",
        "test_type": "present",
        "output_type": "html",
        "derivation": "text_layer",
        "tags": ["Latn", "eng"],
        "args": {"content": {"text": "Quarterly revenue rose 12%", "max_diffs": 1}},
        "settings": {},
    },
    {
        "id": "t2",
        "test_type": "order",
        "output_type": "html",
        "derivation": "text_layer",
        "tags": ["Latn", "eng", "heading"],
        "args": {
            "before": {"text": "Summary", "max_diffs": 0},
            "after": {"text": "Outlook", "max_diffs": 0},
        },
        "settings": {},
    },
    {
        "id": "t3",
        "test_type": "table_cell",
        "output_type": "html",
        "derivation": "publisher_markup",
        "tags": ["table"],
        "args": {
            "cell": {"text": "4.2", "max_diffs": 0},
            "top_heading": {"text": "Q3", "max_diffs": 0},
        },
        "settings": {},
    },
]})

pred = {
    "html": (
        "<h2>Summary</h2>"
        "<p>Quarterly revenue rose 12% on the year.</p>"
        "<table>"
        "<tr><th>Q2</th><th>Q3</th></tr>"
        "<tr><td>3.9</td><td>4.1</td></tr>"
        "</table>"
        "<h2>Outlook</h2>"
    ),
}
verdicts = unit_tests.score(pred, tests)
>>> verdicts
[Verdict(id='t1', result='pass', why=''),
 Verdict(id='t2', result='pass', why=''),
 Verdict(id='t3', result='fail', why="no cell matching '4.2' in any table")]

>>> page = data.Page("example-p1", "example", "example", "pages/example-p1.pdf", "gold/example-p1.json", ("html",))
>>> lines = unit_tests.lines(verdicts, tests, page)
>>> unit_tests.summarize(lines)
{'headline': 0.5, 'families': {'text': {'score': 1.0, 'tests': 2, 'documents': 1},
                               'tables': {'score': 0.0, 'tests': 1, 'documents': 1}}}
>>> unit_tests.summarize([x for x in lines if "table" in x["tags"]])   # one tag: the same summary on a slice
{'headline': 0.0, 'families': {'tables': {'score': 0.0, 'tests': 1, 'documents': 1}}}

A verdict is pass or fail, with why saying what went wrong.

The same from the command line, which prints the verdicts:

opb score --pred outputs.json --gold gold/<page_id>.json

Predict one page

With [harness] installed, each system is an adapter class. harness.system makes one from a system name and its options and harness.predict sends one page under the same rules a run uses (one time budget, retries, failures recorded) and returns its record:

from pathlib import Path

from omni_parse_bench import harness
from omni_parse_bench.scorers import unit_tests

datalab = harness.system("datalab", {"mode": "accurate"})
record = harness.predict(datalab, harness.Input(Path("pages/<page_id>.pdf"), frozenset({"html", "blocks"})))
record["output"]    # {"pages": [{"html": "...", "blocks": [...]}]}
record["raw"]       # the answer as the system gave it
record["cost"]      # what it cost, its wall time and attempts

unit_tests.score(record["output"]["pages"][0], unit_tests.tests.read("gold/<page_id>.json"))   # one page's outputs
opb predict --system datalab --page pages/<page_id>.pdf --options '{"mode": "accurate"}'

Results details

Refusals count distinct pages with at least one required output refused by the provider, including content filtering and Gemini's RECITATION stop; — means not audited, rather than zero. Gemini has 8 refusals and 12 other failed pages; Sonnet 5.5 has 7 refusals and 3 other failed pages. GPT-5.6 Sol has 17 refusals; Opus 5.5 has 40; GPT-6.1 Sol has 17, with no other failed pages in those three runs.

Opus 5.5 and GPT-6.1 Sol were each run once on 2026-10-27 using omni-parse-bench 1.0.0, the stock OpenRouter adapter and each model's default reasoning. The three earlier LLM rows were recomputed from their published verdicts and archived failure records, without new inference or changes to the tests. Machine-readable LLM run summaries give the exact scores, denominators and failed/refused page IDs.

Headline versus latency

Headline against latency

The new LLM points († diamonds) use the full-page recorded wall time: HTML plus layout when requested, including failed pages and retries, with 32 workers per model. Both medians are 18.5 seconds; p90 is 37.3 seconds for Opus 5.5 and 43.1 seconds for GPT-6.1 Sol. Historical circles retain the earlier median of successful, unretried HTML calls only. These timing definitions differ and are not directly comparable.

Price per 1,000 pages

Model Headline Reported USD / 1,000 pages Refusals
Claude Opus 5.5 90.00 $68.45† 40
GPT-6.1 Sol 91.50 $30.95 17

One full run per model, 2,937 pages each. Prices include all page outputs requested by the benchmark and response-reported upstream model charges under OpenRouter BYOK. † Opus's price is a reported subtotal: 12 refused pages returned no usage or cost. The earlier systems' chart prices are unchanged.

Headline against price per 1,000 pages

License

The code is Apache 2.0: see LICENSE, and NOTICE for the third-party code it includes (KaTeX, MIT; a rewrite of olmOCR-bench's table parser, Apache 2.0).

The data's licenses are per source. Each source of the pages, its license and the credit it requires are in licenses/, one file per source. The tests are CC BY 4.0, except those converted from olmOCR-bench (ODC-BY 1.0) and fr-bench-pdf2md (MIT), and those quoting Wikipedia on three handwriting pages (CC BY-SA 4.0).

Citation

@misc{omniparsebench2026,
  title        = {Omni Parse Bench: A Document-Parsing Benchmark},
  author       = {{Datalab}},
  year         = {2026},
  howpublished = {\url{https://github.com/datalab-to/omni_parse_bench}},
}

Please also cite the upstream datasets whose pages or tests this benchmark uses; they are listed in licenses/.

Metadata

Release files for omni-parse-bench 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omni-parse-bench 1.1.0
File Size Uploaded Provenance Actions
omni_parse_bench-1.1.0.tar.gz 524.8 kB With provenance Details for omni_parse_bench-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omni-parse-bench 1.1.0
File Interpreter ABI Platform Actions
omni_parse_bench-1.1.0-py3-none-any.whl Python 3 none any Details for omni_parse_bench-1.1.0-py3-none-any.whl

Total release size: 932.6 kB

Release files / omni_parse_bench-1.1.0.tar.gz

Download URL omni_parse_bench-1.1.0.tar.gz
Size 524.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f95b37419c7402e2559d4517339e921cb81eef6df68627ea9348d53d727b44af
BLAKE2b-256 checksum
How to use checksums
40b5541139c8421f577813161984f683e682980a561c7296be13f6516e4c8f58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / omni_parse_bench-1.1.0-py3-none-any.whl

Download URL omni_parse_bench-1.1.0-py3-none-any.whl
Size 407.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a495aadef0d84873aeb3f9f45a4c63ab3924d7e15c33b198e60056b7c0025283
BLAKE2b-256 checksum
How to use checksums
93302e971d6b2804bc2784829c8c80309d993e8be51b6594b2b51439b7fb05f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for omni-parse-bench 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omni_parse_bench-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page