Skip to main content

Model reference — Documents

AI models for PDF/document to structured JSON

This service converts a document into a machine-readable record of what is on each page: headings, paragraphs, lists, tables, figures, captions and footnotes, each with its position and its place in the reading order.

It is the groundwork for everything else. Search, question answering, extraction and archiving all work better on a structured document than on a wall of extracted text, because structure carries meaning — a number under a heading belongs to that heading. Models divide into pipelines, which detect layout and then read each region, and single vision-language models, which read the page and emit the structure directly. Pipelines are faster and more predictable; vision-language models cope better with unusual layouts.

PDF/document to structured JSON service AI models for documents

Input type — Documents

Models in this group take text or whole documents as input: plain text, PDFs, scanned pages and office files. Each specification table gives three hardware tiers — Minimum, the smallest setup on which the model runs correctly; Medium, the usual production configuration; and High, a configuration sized for peak volume. The rate is the number of sample inputs processed per hour on that hardware. Use these rates for initial sizing. Before production, benchmark your own data to validate accuracy, latency, throughput and cost. The sample input here is one A4 page at 300 dpi converted to a structured record.

Docling

Vendor: IBM

What it does: converts a whole document into a structured record with headings, tables, lists and reading order preserved, and exports it as JSON or Markdown. A dependable general-purpose converter for business documents.

RequirementMinimumMediumHigh
GPU typeNo GPU — CPU onlyRTX 4090A100 80 GB
VRAM24 GB80 GB
vCPUs81224
RAM16 GB32 GB64 GB
ServerCPU instance, 8 vCPU1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (pages/hour)≈ 250≈ 2,400≈ 5,000

MinerU

Vendor: OpenDataLab (Shanghai AI Laboratory)

What it does: converts PDFs in bulk while keeping tables, mathematical formulas and figures intact. Built for turning a large archive into machine-readable data in one job.

RequirementMinimumMediumHigh
GPU typeRTX 3090RTX 40902× A100 80 GB
VRAM12 GB24 GB160 GB combined
vCPUs81632
RAM32 GB48 GB128 GB
Server1× RTX 3090 24 GB1× RTX 4090 24 GB2× A100 SXM 80 GB
Rate (pages/hour)≈ 500≈ 1,800≈ 5,500

PP-StructureV3

Vendor: Baidu (PaddlePaddle)

What it does: runs layout analysis, table structure and character reading in a single pass, so one run returns the full page structure. Strongest on English and Chinese text.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090L40S 48 GB
VRAM8 GB24 GB48 GB
vCPUs61224
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× L40S 48 GB
Rate (pages/hour)≈ 900≈ 3,600≈ 6,500

Surya

Vendor: Datalab

What it does: detects layout, works out reading order and reads the characters in roughly ninety languages. A practical choice for multilingual archives and uneven scans.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM8 GB24 GB80 GB
vCPUs61224
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (pages/hour)≈ 700≈ 3,000≈ 6,000

Qwen2.5-VL 7B / 72B

Vendor: Alibaba Cloud

What it does: reads the page as an image and writes out its structure directly, coping with layouts a pipeline mis-parses — magazine pages, engineering drawings, annotated forms. Slower and dearer per page.

RequirementMinimumMediumHigh
GPU typeRTX 4090 (7B, reduced precision)A100 80 GB (7B, full precision)2× H100 80 GB (72B model)
VRAM16 GB80 GB160 GB combined
vCPUs81632
RAM32 GB64 GB200 GB
Server1× RTX 4090 24 GB1× A100 SXM 80 GB2× H100 SXM 80 GB
Rate (pages/hour)≈ 400≈ 1,600≈ 900 (72B model, higher accuracy)

GOT-OCR 2.0

Vendor: StepFun

What it does: reads a page in one step and outputs tables, formulas and text as structured markup. Small enough to run on a modest card, which suits deployment at a branch site.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM8 GB24 GB80 GB
vCPUs61224
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (pages/hour)≈ 600≈ 2,200≈ 4,500

Tesseract

Vendor: community-maintained open-source project

What it does: the long-established character reader. It returns words and their positions but no document structure, so it is used as the reading stage under a layout model rather than on its own.

RequirementMinimumMediumHigh
GPU typeNo GPU requiredNo GPU requiredNo GPU required
VRAM
vCPUs2832
RAM4 GB16 GB64 GB
ServerCPU instance, 2 vCPUCPU instance, 8 vCPUCPU instance, 32 vCPU
Rate (pages/hour)≈ 2,000≈ 8,000≈ 30,000

Choosing between them

Which route fits depends on how uniform your documents are and how much structure you need preserved. Our consultants review a sample of your pages, compare a pipeline against a vision-language model on them, and recommend the one that gives the structure your downstream systems need at the throughput you require.

At the start of a project we may run a short proof of concept on a sample of your own data, measuring the accuracy and the throughput the model actually achieves on your material. That replaces the estimates on this page with real figures, so the cost and the schedule for the full engagement are known before it is committed.

PDF/document to structured JSON service AI models for documents Pricing

From benchmark to production

Share a representative sample, expected volume, latency target and deployment location for PDF/document to structured JSON. We benchmark the shortlisted models, recommend the lowest-cost GPU configuration that meets the target, and scale it from pilot capacity to a dedicated production cluster.