Article

Choose Granite Docling V2 500M or 2B for PDFs

For document-processing teams, compare throughput, runtime requirements and output limits before choosing a model for scanned PDFs and tables.

Editorial illustration for Choose Granite Docling V2 500M or 2B for PDFs: a geometric block represents a model release. Not documentary evidence.

IBM announced Granite Docling V2 on November 30, 2026, giving teams converting scanned reports, forms and tables a choice of two open models. Start with 500M for large batches if its output passes your document checks; consider 2B when preserving difficult page content matters more than maximum throughput. Neither is a standalone document chatbot.

Both convert page images into structured documents. Their output format, DocLang, records content, element types, locations and reading order rather than flattening everything into plain text. That structure can help a downstream search or automation system distinguish a table cell from a nearby caption.

When to choose 500M, 2B—or neither

  • Choose 500M as a starting point for high-volume conversion. Its optional density router spends more processing effort on dense pages and small print instead of treating every page alike. Check that your chosen runtime actually enables it; simply loading the smaller model does not guarantee adaptive routing. IBM’s 500M model card describes this design.

  • Consider 2B for difficult documents where omitted or misread content is costly. In the authors’ versioned technical report, 2B has higher pooled character-level content similarity than 500M across ten benchmarks covering 20,502 pages. This is an IBM-team result, not independent validation or the percentage of documents converted perfectly.

  • Choose neither as the complete solution if you need arbitrary questions answered or business-specific fields inferred. The documented prompts control conversion tasks, not free-form reasoning. A separate extraction or reasoning layer would still be needed.

For an adjacent document-assistant workflow, the guide to Gemini API page and spreadsheet-cell selection explains how to limit the content a model processes. Selecting content for an assistant and faithfully converting a page are different tasks.

What the speed figures mean for your workload

IBM reports peak speeds of 18.49 pages per second for 500M and 10.07 for 2B, with multi-token prediction enabled—an acceleration technique that drafts several output tokens for the model to verify. Both peaks came at 256 concurrent pages. At eight concurrent pages, the reported speeds were 6.45 and 4.64 pages per second respectively.

The documented server setup used one NVIDIA H100 80GB, 32 CPU cores and eight API processes. The experiment processed 2,078 ParseBench pages, with no prefix or image caching. Timing began with reading already-rendered image files, so do not budget PDF rendering as though it were included. These are server results, not laptop speeds or end-to-end processing-time guarantees for your files.

The practical implication: evaluate at the number of pages your application can actually keep in flight. A small interactive workload should not be costed using the peak rate from a large parallel batch.

Check runtime support and the 500M routing setting

The current Docling model catalogue specifies Python 3.11+ and Transformers 5.23.0+ for its Transformers engine, and MLX-VLM 0.8.1+ for Apple-silicon execution. The model-card vLLM recipe still uses nightly builds with Transformers pinned to 5.23.0. Treat that as a release-day integration caveat, not proof that an existing stable vLLM installation can run these models.

For 500M, Docling defaults to the coarse path: fewer image tokens per page tile. Its fine path uses more tokens for dense content. Automatic selection through fine_route="auto" is supported by the Transformers and MLX engines, but in-process vLLM cannot ask the router and falls back with a warning. For a remote vLLM server, Docling does not run the router; the client must make the routing decision or explicitly force a path. The integration documentation distinguishes these cases.

Choosing 500M therefore means choosing a routing configuration too. Do not assume a default coarse-only run reproduces a density-routed benchmark. The current catalogue describes V2 presets, but the model cards still leave their Docling command-line examples commented out pending version confirmation; these release materials do not confirm a minimum stable Docling package version.

Prepare pages and keep the structured output

  • Render PDFs before raw-model calls. The model-card example converts each PDF page to an RGB image, using 144 DPI as an example rather than a universal optimum. The documented server setup sends one page per request. Include rendering and image storage in the workflow, not only model execution.

  • Use fixed task prompts. <doclang> converts the full page; <doclang> [<table>] selects tables; <doclang> [<ocr>, <layout>] requests text with locations. Preserve the exact spacing and punctuation in the prompt specification rather than replacing it with a conversational instruction.

  • Keep the markup when decoding. Set skip_special_tokens=False: otherwise DocLang tags and locations are stripped, leaving bare text. Preserve the closing DocLang tag in API replies, then use the documented docling-core deserializer to parse the output before exporting to Markdown, HTML or JSON.

The detailed prompt adds generated picture descriptions. Keep those distinguishable from text actually printed on the source page; they are not literal transcription. This distinction is explicit in the technical report.

Free weights do not mean free operation

The 500M and 2B models are publicly downloadable under Apache 2.0, subject to its licence terms. Self-hosting still requires hardware or rented compute, preprocessing, storage, integration work and error review. The model names alone do not establish a machine’s memory needs, and the release materials do not establish an all-in per-page self-hosting cost.

IBM separately offers Flash editions through Docling for IBM watsonx and its Software distribution. Do not transfer Flash performance claims to the two public checkpoints, or assume managed-service pricing buys the same deployment. For a managed alternative, see the separate guide to Textract Insights costs and document limits.

Choose on the errors your business can tolerate

The authors document remaining errors in tiny print, complex formulas, side-by-side tables, uncommon superscripts and handwriting. Adjacent tables can merge, and dense pages can lose whole lines. A high overall text-similarity score does not establish that every total, symbol or table relationship is correct.

Before committing, compare both models on representative pages containing the information your workflow depends on. Check omissions, reading order, table boundaries and important values against the originals. Measure rendering, conversion, parsing and review time together. Start with 500M if it meets those requirements; move to 2B only if the improvement on your documents justifies its additional resources. Keep checks on either model.