Granite Docling V2: Structured Document AI at Scale
See how Granite Docling V2 converts pages into structured data, where its 2B and 500M models fit, and what to test before using it in production.

Granite Docling V2: A Better Way to Convert Complex Documents
A PDF isn't just a block of text. It has tables, formulas, headings, images, and - crucially - reading order. When conversion pipelines pull out words and ignore those relationships, you end up paying for it later in cleaning, reranking, and validation. That cost shows up fast when the output feeds search, reporting, or RAG.
Granite Docling V2, from IBM's Docling team, tries a different route. Two compact vision-language models read a page and return structured document elements in one pass. The 2B model leans toward accuracy; the 500M model is built for faster, large-scale processing while staying close on accuracy. Both produce DocLang, an open format meant to keep element types, page positions, and reading order together.
This isn't a magic button that eliminates errors. The real question is whether structured conversion can lower your pipeline's cost and complexity without creating a new dependency that's harder to debug. Below is what the models do, how to choose, and what to verify before rolling them into production.
Why does document conversion need more than text extraction?
Text extraction works well when the input is simple - like a clean, single-column page where the main goal is to capture words. Real business documents are rarely that tidy. A financial report might put a table next to narrative text. A scientific paper can mix equations, captions, and multi-column layout. A form often depends more on how a label connects to a blank field than on the text in either one alone.
When a conversion flattens a page into one long string, those connections get fuzzy. A downstream system might read a table row out of order, attach a footnote to the wrong paragraph, or treat a chart label as regular body text. Search might still return something relevant, but it can also be incomplete or misleading. In RAG, that kind of damage can make retrieval look fine while the model is getting a distorted version of the source.
Structure is part of the information
A useful document representation needs more than characters. It should say what each element is and where it belongs - heading, paragraph, table, formula, image, list, and so on. Page location and reading order matter too. Without those signals, it's hard for an application to tell a section title from normal text, or a table cell from a nearby caption.
That's the gap Granite Docling V2 is designed to close. Instead of treating a document page as something to extract and then repair, its vision-language models interpret the page as a whole and output structured elements. The stated goal is to keep element type, position, and reading order aligned.
Why a single conversion step matters
Traditional pipelines often mix multiple stages: OCR, layout detection, table extraction, reading-order correction, and custom post-processing. Each step can help, but every handoff adds another place for special cases and operational overhead. Over time, teams end up maintaining rules for document types that a general tool was supposed to cover.
A model that handles the page end to end can reduce that orchestration burden. It doesn't remove the need for validation, but it may simplify the system around conversion. The trade-off is that fewer moving parts can mean less integration work - while also making the conversion step a single central failure point. The only way to judge is to test whether the output is accurate enough for your documents and easier to operate than what you have today.
What is different about the Granite Docling V2 models?
Granite Docling V2 builds on earlier work on SmolDocling and Granite Docling 258M. Instead of forcing every deployment into one speed-vs-accuracy setting, it ships two models with different priorities.
The 2B model prioritizes accuracy
Granite Docling V2 2B is the higher-accuracy option. IBM reports it achieved the strongest accuracy across ten document-conversion benchmarks in the release comparison, with particular strength in page layout performance. It's aimed at harder pages: dense layouts, small print, complex tables, and formulas.
That shows up across scientific papers, financial reports, forms, newspapers, and slide decks. These document types stress different parts of a conversion system - reading order, field relationships, dense tables, and so on. A general-purpose model only helps if it matches the variety you actually handle, so benchmark ranking is a starting point, not a substitute for a representative evaluation set.
The 500M model is aimed at throughput
Granite Docling V2 500M is the smaller, faster choice. IBM reports 18.49 pages per second on a single GPU and says its accuracy is close to the 2B model. It also focuses "inspection effort" more on pages that need it, like dense pages or pages with small print, instead of treating every page the same.
That makes 500M a reasonable candidate for large collections where throughput and infrastructure cost are major concerns. IBM also reports it's faster than Granite Docling 258M, even though it's positioned as a more accurate successor. The trade-off is simple: if mistakes on specific document types are expensive, 2B's extra compute can be worth it. If the corpus is large and most pages are relatively easy, throughput may matter more.
Flash variants and deployment options
The release also mentions Granite Docling V2 2B Flash and 500M Flash, available through Docling for IBM watsonx and Docling for IBM watsonx Software. IBM says these variants deliver the same accuracy faster in those offerings. Treat that as an environment-specific choice to test where you'll run it, not as a universal assumption for every runtime.
The core models are available under the Apache 2.0 license and can run with Hugging Face Transformers, vLLM, MLX-VLM on Apple silicon, and Docling. Runtime support expands options, but it doesn't mean throughput is interchangeable. Hardware, batch size, image handling, and service configuration all affect end-to-end performance.
How does DocLang help downstream applications?
A conversion model is only useful if its output fits the systems that need it. Granite Docling V2 outputs DocLang, an open document format intended to represent content and layout together. IBM says the format came out of a working group formed by IBM, NVIDIA, Red Hat, ABBYY, and HumanSignal under LF AI & Data.
The important design choice is that it preserves each element's type and location on the page, plus its position in reading order. That gives downstream software more to work with than a plain-text dump. Instead of guessing later whether a block is a heading or a table, an application can use the structure from conversion.
One representation, several output needs
Docling can convert DocLang into formats like Markdown, HTML, or JSON. That helps different consumers without forcing the model to produce a custom representation for every use case.
- Search and RAG: keep headings and section boundaries so retrieved text has context.
- Data extraction: treat tables and formulas as distinct elements that can be handled or checked separately.
- Agent workflows: request selected content (tables, formulas, or text) instead of treating every element the same.
- Content systems: choose Markdown, HTML, or JSON based on what the next step expects.
This doesn't mean every conversion will be semantically correct. Structured output makes it easier to locate errors and gives downstream systems clearer signals - but it can't guarantee the model read every small character or table cell correctly. That distinction matters for high-stakes workflows.
Why this matters for RAG quality
RAG quality gets talked about like it's only a retrieval or language-model issue. In practice, source preparation is part of the same chain. If headings vanish or table relationships get scrambled before indexing, no amount of retriever tuning will recover what was lost during conversion.
Keeping layout and element types gives teams a stronger base for chunking, filtering, and citation. A section-aware chunker can keep a paragraph with its heading, and a table-specific approach can avoid treating cells as unrelated prose. The point isn't that DocLang magically "fixes RAG" - it exposes structure so a RAG pipeline can use it rather than trying to reconstruct it from flattened text.
How should a business evaluate Granite Docling V2?
Picking a model should follow your workload shape, the cost of errors, and your operational constraints. Benchmark scores help narrow options, but the decision should be grounded in evidence from your documents and your runtime. A pilot should measure not just how good the output looks, but what it costs to produce, review, and correct.
Build a representative evaluation set
Start with a sample that matches your real document mix, including the awkward cases. Include clean pages, scans, small print, multi-column layouts, tables, formulas, forms, and image-heavy documents from your production set. If you handle multiple languages or different document generations, include those too.
Define what counts as a meaningful error before comparing models. A misspelled word might be tolerable for a discovery index but not for an invoice amount. A reading-order issue might be minor for archival search and a big problem when an agent follows a procedure. Review results by document type and failure category, not just one blended score.
Compare total operating cost, not model size alone
For each candidate, track:
- Accuracy on the fields and structures that matter to your application.
- Pages processed per second on the hardware you'll actually deploy.
- GPU availability, memory requirements, and serving cost.
- The amount of human review and post-processing required.
- Failure rates, retries, and how you handle unsupported or badly scanned pages.
A smaller model isn't automatically cheaper if it produces more corrections. A more accurate model isn't automatically better if it creates a queue you can't keep up with. The cost that matters is the cost of a usable document, not the cost of a single inference in isolation.
Pilot the full document path
Test the pipeline all the way to the consuming system. For a RAG use case, inspect the chunks and retrieved evidence, not only the model's raw output. For extraction, check whether downstream code can reliably identify and validate the fields it needs. For a batch archive, measure throughput under realistic concurrency and track how exceptions are routed.
Keep a human review path for consequential outputs until measured performance proves it can be reduced. This is especially important for financial, legal, medical, and compliance-related documents, where a plausible-looking error can be harder to catch than an obvious conversion failure. In the pilot, record model and runtime versions too, so you can compare future changes against a stable baseline.
What are the limitations and trade-offs?
The release makes a strong accuracy-and-speed claim across ten benchmarks, but benchmark performance isn't a universal guarantee. Results depend on what's in the benchmark dataset, how scoring is defined, and the runtime conditions. Your documents might differ in scan quality, language, layout, terminology, and how much error you can tolerate.
A compact vision-language model can simplify a pipeline, but it still needs compute and requires operational ownership. Teams should monitor latency, throughput, memory use, and conversion failures. If you process sensitive or regulated documents, you'll also need a clear data-handling policy. Apache 2.0 licensing covers software use rights; it doesn't answer privacy, retention, access control, or compliance obligations.
Structured output can make mistakes look more usable
A well-formed table isn't necessarily a correct table. The model can preserve the shape of structure while misreading a value, merging columns, or placing an element in the wrong spot. Downstream systems may then consume the error with more confidence because it arrives in a clean format.
That's why validation should match the consequence of the task. Reconcile extracted totals against source documents for financial records. Check required fields on forms. Keep source-page references or visual review when auditability matters. Don't treat a clean schema as proof of factual correctness.
An end-to-end model changes the failure profile
Replacing several specialized components with one model can reduce integration work, but it also concentrates responsibility. When something goes wrong, it may be harder to pinpoint than in a pipeline where OCR, layout analysis, and table extraction can be inspected separately. The question is whether your monitoring and review process can identify which document classes are failing.
Granite Docling V2 makes the strongest practical case when your current pipeline is losing structure, it's expensive to maintain, and the model performs well on a representative evaluation set. If your documents are simple, your existing OCR is already reliable, or you require strictly deterministic output, switching may not buy you much. Let the technology earn its place by improving the whole workflow - not just by being "newer."
Conclusion
Granite Docling V2 tackles a common weak spot in document automation: converting pages into text while losing the structure that gives that text meaning. With 2B and 500M options, you can make the accuracy-versus-throughput trade-off explicitly, and DocLang gives downstream systems a structured representation to work with.
Whether it's worth adopting depends on your documents, your error tolerance, and your infrastructure. Test on representative pages, measure the cost of corrected output, and review how the full pipeline performs in search, RAG, or extraction. If structure is where you're currently getting stuck, it's a credible approach to evaluate. If your current pipeline already performs reliably, keep the benchmark claims in perspective and require measurable improvement before you replace anything.