ibm-granite
Granite Docling V2 2B
About
Granite Docling V2 2B is an open-weight model from ibm-granite. IBM Granite Docling V2 (2B): page to Markdown with HTML tables; `parse` for each element's box, type and text, `layout` for boxes and types only; `ocr`, `table` or `formula` for just that content. It accepts text, images, and documents. Context window is 32K. Released November 23, 2026.
Context window
32K
Tokens of context on a request.
License
—
License on the weights.
Pricing
Token rates are US dollars per 1M tokens. Image rates are per 1K images. Audio rates are per 1M audio seconds.
| Rate | Price |
|---|---|
| Input / 1M | $0.10 |
| Cached input / 1M | $0.02 |
| Output / 1M | $0.20 |
Compare
Granite Docling V2 2B is one of the catalog's OCR models. The table is each model's published price, size, and context.
| Model | What it does | Price | Parameters | Context |
|---|---|---|---|---|
| Granite Docling V2 2B | IBM Granite Docling V2 (2B): page to Markdown with HTML tables; `parse` for each element's box, type and text, `layout` for boxes and types only; `ocr`, `table` or `formula` for just that content. | $0.10 / 1M input | — | 32K |
| PP-OCRv6 | PaddleOCR PP-OCRv6 medium text detection and recognition, GPU end to end; scene OCR JSONL on image chat; text returns plain text; document_url fan-out via text. | $0.02 / 1M input | 20M | — |
| Granite Docling V2 500M | IBM Granite Docling V2 (500M): page to Markdown with HTML tables; `parse` for each element's box, type and text, `layout` for boxes and types only; `ocr`, `table` or `formula` for just that content. | $0.10 / 1M input | — | 32K |
| dots.mocr | Multilingual document layout parsing and markdown OCR. | $0.20 / 1M input | 3B | 24K |
Benchmarks
No published eval is on file for this model.
| Reading | Example |
|---|---|
| Qualitative | Clear structure, grounded in the input |
| Quantitative | No published score on file. |
| Cost and performance | Lower listed rate, mid-pack latency |
Methods
Methods this model serves. Payload shapes are in the docs.
| Method | Returns |
|---|---|
| markdown | The page as Markdown |
| parse | Payload for this method |
| layout | Layout regions |
| ocr | Lines of text |
| table | Tables as Markdown |
| formula | Formulas as Markdown |
Estimate cost
Estimate. A page is 2,500 input tokens and 1,000 output tokens.
$0.45
Quick start
Call this model on the OpenAI-compatible gateway. The model id is already filled in.
