# Granite Docling V2 — IBM's open 2B and 500M document conversion models

> IBM's second-generation Docling models read a page image and write back its full structure: text, tables, formulas and layout.

- Org: IBM
- Date: 2026-11-30
- Category: model
- Source: https://huggingface.co/blog/ibm-granite/granite-docling-v2-compact-vision-language-models
- Canonical page: https://ai-tldr.dev/releases/ibm-granite-docling-v2/

## In short

Granite Docling V2 is a pair of Apache-2.0 vision-language models from IBM that turn page images into structured documents. The 2B scores 96.5% on IBM's 16,205-page test, against 79.4% for Granite-Docling 258M.

## What it is

Granite Docling V2 brings two new open vision-language models for document conversion: a 2B model tuned for top accuracy and a 500M model tuned for speed. Both read a page image and output DocLang, an open document format, which Docling turns into Markdown, HTML or JSON. They follow Granite-Docling 258M, IBM's 2025 model.

## How it works

The 2B pairs a 468M-parameter vision encoder with a decoder based on Granite 4.0 1B; the 500M uses a 157M encoder and a Granite 4.0 350M decoder. In the smaller model, a tiny learned router spends 64 vision tokens per tile on ordinary pages and 256 on dense ones such as newspapers or small CJK print. Multi-token prediction heads speed up decoding through speculative decoding, and task prompts such as <table>, <formula> or <ocr> pull out a single element.

## Why it matters

PDF and scan conversion is the first step of most RAG and document pipelines, and errors there spread downstream. IBM reports edit distance falling from 20.6% with Granite-Docling 258M to 3.5% for the 2B, under a permissive license that allows self-hosting. On one H100 the 500M converts 18.5 pages per second with MTP, so large archives are practical on a single GPU.

## Who it's for

developers building RAG, search and document-processing pipelines

## Try it

mlx_vlm.generate --model ibm-granite/granite-docling-v2-2b --image page.png --prompt "<doclang>" --max-tokens 16384 --temperature 0

## Quick facts

- Maker: IBM (Docling team)
- Models: Granite Docling V2 2B (2.48B) and 500M (0.54B)
- License: Apache 2.0
- Output format: DocLang, convertible to Markdown, HTML or JSON
- Languages: 12, with gains on Chinese, Japanese, Korean, Hindi, Russian, Arabic
- Runtimes: Transformers, vLLM, MLX-VLM, Docling

## FAQ

### Which Granite Docling V2 model should I pick, 2B or 500M?

Granite Docling V2 2B is the more accurate model, scoring 96.5% Content 1 − NED on IBM's 16,205-page evaluation, and runs at about 10.1 pages per second on one H100 with multi-token prediction. The 500M scores 94.9% and runs at 18.5 pages per second, so it suits high-volume conversion where a small accuracy loss is acceptable.

### How much better is Granite Docling V2 than Granite-Docling 258M?

On IBM's nine-benchmark, 16,205-page evaluation, Granite-Docling 258M scores 79.4% Content 1 − NED, against 94.9% for Granite Docling V2 500M and 96.5% for the 2B. IBM notes these scores are not directly comparable with public leaderboards, because the ground truth was converted to DocLang and revised by hand.

### Can Granite Docling V2 run on a Mac or with vLLM?

Yes. IBM documents Granite Docling V2 for Hugging Face Transformers, for vLLM serving with speculative decoding through its MTP heads, and for MLX-VLM on Apple silicon. The 500M model can also run through Docker Model Runner with docker model run hf.co/ibm-granite/granite-docling-v2-500m.

### What is DocLang?

DocLang is the XML-like output format of Granite Docling V2. It keeps each heading, paragraph, table, formula and picture with its type and place on the page. A working group founded by IBM, NVIDIA, Red Hat, ABBYY and HumanSignal develops it under LF AI & Data, and docling-core converts it to Markdown, HTML or JSON.

### Are there commercial versions of Granite Docling V2?

IBM also offers Granite Docling V2 2B Flash and 500M Flash in Docling for IBM watsonx and Docling for IBM watsonx Software. IBM says they deliver the same accuracy faster, without giving a figure. The open 2B and 500M weights on Hugging Face are Apache 2.0.

## Links

- [Announcement](https://huggingface.co/blog/ibm-granite/granite-docling-v2-compact-vision-language-models)
- [Paper](https://arxiv.org/pdf/2611.37727)
- [2B Model Card](https://huggingface.co/ibm-granite/granite-docling-v2-2b)
- [500M Model Card](https://huggingface.co/ibm-granite/granite-docling-v2-500m)
- [Playground](https://huggingface.co/spaces/ibm-granite/granite-docling-v2-playground)
