Skip to content

Granite Docling V2: Open Models That Turn Pages Into Structured Data

AINewss Editorial

IBM's Granite Docling V2 converts a full document page into structured DocLang in one pass. This guide covers the 500M and 2B models, what DocLang preserves, benchmark scores and speeds with their caveats, the 500M density router, supported runtimes, and how the models fit with Granite Vision 5.0 and Embedding Vision R2.

View 1 reference
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

Cover illustration of a document page being converted into structured markup

What is Granite Docling V2?

Granite Docling V2 is a pair of open vision-language models from IBM's Docling team that convert a whole document page into a structured record in a single pass. The two sizes are 500 million and 2 billion parameters, both released under Apache 2.0. IBM announced them on November 30, 2026.

Unlike a plain OCR-to-Markdown pipeline, the models output DocLang, a markup language that records each element's type, position and reading order. The IBM Research announcement describes them as the conversion layer in a three-model system for document-using agents.

What problem it solves

Enterprise knowledge often lives in slides, scanned forms and financial statements. A conventional pipeline chains OCR, layout analysis and chunking, and an error at one stage propagates to the next. A single-pass page model removes those handoffs.

What is DocLang and why does it matter?

DocLang is an open document format in which every element carries its type, location on the page and place in the reading order. Each tag and location is a single token, so a page takes far fewer tokens than Markdown or HTML. A DocLang page can be converted losslessly to Markdown, HTML or JSON.

That compactness has a direct cost benefit. Fewer output tokens mean faster conversion and cheaper downstream processing. It also preserves semantics that plain text loses, so a table cell remains a table cell rather than a run of text.

Format Layout preserved Token cost Lossless round trip
Plain text No Low No
Markdown Partial Medium Limited
DocLang Yes, with positions Low Yes, to Markdown, HTML or JSON

What can Granite Docling V2 extract from a page?

Granite Docling V2 captures headings, paragraphs, nested lists, tables with full cell structure, formulas, code, pictures and their captions in their original arrangement. A short task prompt can request only tables, only text or only formulas. It returns an ordered, typed record for downstream systems.

Page elements are captured with position and reading order, which matters for multi-column layouts and forms. The model also handles headers, footers, inline mathematics and printed text inside pictures. Output can be filtered at decode time instead of post-processed. This is more than text extraction: the model returns an ordered, typed record that downstream systems can query.

Practical prompt control

Because the output is promptable, you can ask for just the tables in an annual report or only the formulas in a paper. This avoids decoding content you will discard.

How accurate and fast is Granite Docling V2?

IBM reports that across more than 20,000 pages from ten benchmarks, both Granite Docling V2 models were more accurate than every other conversion model tested, including models up to ten times their size. On one H100, the 2B model scored 95.8 at 10 pages per second and the 500M scored 94.0 at 18.5 pages per second.

Model Score Speed on one H100
Granite Docling V2 2B 95.8 10 pages/second
Granite Docling V2 500M 94.0 18.5 pages/second

Two caveats belong with those numbers. First, they come from IBM's own Docling Benchmark Explorer, where every benchmark was re-annotated natively in DocLang; the company says results cannot be compared directly with public leaderboards. Second, the announcement date is November 30, 2026, so treat them as a launch snapshot.

What is the density router in the 500M model?

The smaller 500M model adds a density router that spends extra compute only on dense pages. Simple pages take a fast path; dense pages with small print or tight layouts receive more processing. This is a conditional-compute design, not simply a distilled model.

Page type 500M behavior
Sparse text Fast path
Dense newspaper or small print Extra compute
Complex tables Extra compute

For bulk conversion of hundreds of thousands of pages, that routing determines how much a single GPU can process per day. The 18.5 pages-per-second figure is an average across the benchmark set, not a guarantee for uniformly dense input.

How do the 500M and 2B models compare?

Both models use the same DocLang output format and the same Apache 2.0 license. The 2B targets accuracy on difficult pages; the 500M targets throughput with near-identical accuracy on the benchmark mix. The 500M router helps throughput; the 2B handles dense pages.

Dimension 500M 2B
Parameters 500 million 2 billion
Strength Speed and density routing Maximum accuracy
Benchmark score 94.0 95.8
Speed on one H100 18.5 pages/s 10 pages/s
License Apache 2.0 Apache 2.0

Pick 2B for scientific papers, financial reports and forms where structure is hard. Pick 500M for high-volume conversion where a small accuracy difference is acceptable. The 500M's density router gives it an edge on throughput, while the 2B has more capacity for dense tables and small print.

How do I run Granite Docling V2?

Both models run with Hugging Face Transformers, vLLM, mlx-vlm on Apple silicon, and the Docling library. IBM also offers faster Flash variants through its paid watsonx service, which use speculative decoding to reach the same accuracy at higher speed. The Docling library is the shortest path to a working pipeline.

from transformers import AutoProcessor, AutoModelForImageTextToText

model_id = "ibm-granite/granite-for-docling-500m"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id)

The exact class names and prompt templates are version-dependent. Check the model card in the official collection before copying code into production. For a no-install trial, IBM links a browser playground for both checkpoints. Start with the Docling library if you want the shortest path to a working pipeline.

How does it fit with Granite Vision and Embedding Vision?

IBM released three models together. Docling converts pages into structured data, Vision 5.0 4B extracts data from charts, tables and forms, and Embedding 748M Vision R2 finds the right page directly from its image. IBM presents the three as an agent pipeline.

Model Job Output
Granite Docling V2 Convert page to structure DocLang, then Markdown/HTML/JSON
Granite Vision 5.0 4B Extract visual data JSON against your schema
Granite Embedding Vision R2 Find relevant pages Single vector plus multi-vectors

Docling detects charts on a page and passes them to Granite Vision for summarization or extraction. Embedding Vision skips OCR entirely and encodes 35.3 pages per second on one H200, which IBM says is about eight hours for a million pages. For enterprise deployments, IBM recommends pairing the set with Granite Guardian. The three models can be used independently, but IBM presents them as a pipeline for agents.

Frequently asked questions about Granite Docling V2

These questions address the practical checks before adopting Granite Docling V2: commercial licensing, merged cells, partial-page prompts and the difference from the original model. Each answer is drawn from IBM's release post and the model collection. Each answer cites IBM's own release materials.

Is Granite Docling V2 free for commercial use?

The models are released under Apache 2.0, a permissive license that allows commercial use. The separate Flash variants are part of the paid watsonx service and follow different terms.

Does it support tables with merged cells?

Yes. The announcement states that tables retain full cell structure, and the underlying format tracks element type and position. Validate complex merged-cell cases on your own documents.

Can I ask for only part of a page?

Yes. A short task prompt can request only tables, only text or only formulas, which reduces output tokens and downstream filtering.

How does it compare with the original Granite Docling 258M?

The V2 models are described as far ahead of the original 258M model in the accuracy-versus-speed comparison. The original used Markdown-style output; V2 moves to DocLang with explicit types and positions.

References

  1. IBM Research: New Granite models help agents put documents to workd3ccyth396mz21.cloudfront.net