Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
IBM Granite Docling V2: Open Models Convert Pages to Structured DocLan - OpenSmartRoute
Introduction - IBM releases Granite Docling V2 for document conversion
IBM has introduced Granite Docling V2, a new version of its open vision-language models designed for document conversion. This update aims to improve how pages are turned into structured digital documents. The models are open and available for use in various applications. They focus on converting page images directly into a format called DocLang, which keeps all the layout and element details intact.
Granite Docling V2 replaces older methods that used multiple tools for layout analysis and optical character recognition (OCR). Instead of stitching together different outputs, these models produce a complete, structured document in a single step. This change simplifies workflows for developers and improves accuracy. The models are released under the Apache 2.0 license, making them freely available for modification and deployment.
Model sizes and specifications - 2B and 500M models, hardware requirements
Granite Docling V2 comes in two sizes: a 2-billion-parameter model and a smaller 500-million-parameter model. The number of parameters indicates how complex and capable each model is. The larger 2B model has about 2.48 billion parameters, while the smaller 500M model has around 0.54 billion. These sizes affect their performance and hardware needs.
The 2B model is designed to run on high-end hardware, such as an Nvidia H100 80GB graphics card. It can process over ten pages per second with multi-token prediction (MTP), a feature that speeds up decoding. The 500M model is faster, reaching nearly 19 pages per second on the same hardware. It can also run on Apple silicon using a tool called MLX, which allows deployment on less powerful devices. Both models support popular frameworks like vLLM and Transformers, making integration easier for developers.
The models are optimized for different deployment environments. The 2B model requires more memory and compute power but offers higher accuracy. The 500M model is more lightweight, suitable for environments with limited resources. Users can check detailed deployment options and specifications through tools like the GPULeaderboard.com chrome extension.
Frontier AI systems can solve physics problems that once took top physicists a full day, speeding up research and discovery.
Performance benchmarks - accuracy scores and speed metrics
Granite Docling V2 models have shown strong performance in accuracy and speed. The 2B model achieves a content accuracy score of 95.8 across a test set of over 20,000 pages. This score measures how closely the model's output matches a verified ground truth. It outperforms other models tested by IBM in the same benchmarks.
In terms of accuracy, the 2B model scores as high as 98.2 on specific datasets like DocLayNet v1 and olmOCR-Bench. These benchmarks evaluate how well the model can understand and structure complex documents. The smaller 500M model reaches a speed of nearly 19 pages per second on high-end hardware, making it suitable for real-time processing needs.
Speed varies depending on the task. With multi-token prediction enabled, the 2B model can process over ten pages per second. Without it, the rate drops but remains efficient for many applications. The models' performance metrics are based on IBM’s own testing environment, which uses a self-revised ground truth for evaluation.
What is DocLang - how it differs from Markdown and HTML
DocLang is a new markup language designed specifically for structured document conversion. Unlike Markdown or HTML, which focus on simple formatting and layout, DocLang preserves detailed element types, positions, and reading order. This means it keeps track of what each element is, where it appears on the page, and how it relates to other elements.
Markdown and HTML are widely used for web content but lose layout details when converting from images. They do not retain information about headings, nested lists, tables with full cell structures, formulas, or captioned pictures. DocLang, on the other hand, encodes all these details as tokens, making the conversion lossless. Each tag and location is represented as a single token, which reduces the number of tokens needed and speeds up processing.
The language is designed to be compatible with common formats. It can convert losslessly into Markdown, HTML, or JSON through a core component called docling-core. This flexibility allows developers to use DocLang as an intermediate format for various document workflows, ensuring no layout or element information is lost during conversion.
Model architecture and training stages - vision encoders, decoders, routing
Granite Docling V2 models combine advanced vision and language components. The 2B model pairs a 414-million-parameter vision encoder called SigLIP2 with a 1.46-billion-parameter decoder based on Granite 4.0. The vision encoder processes the page image to extract visual features, while the decoder generates the structured document.
The smaller 500M model builds on the architecture of Granite 4.0, which has 350 million parameters. It adds a density router, a component that scores each page and decides how to process it. The router assigns 64 vision tokens per tile for typical pages, or 256 tokens for dense, complex pages. On a benchmark called OmniDocBench, about 26% of pages used the dense route, indicating the model's ability to adapt to different page types.
Training involves four stages. First, captioning alignment teaches the model to associate visual features with text descriptions. Next, document pre-training helps the model understand general document structures. Supervised fine-tuning refines the model on specific tasks, and reinforcement learning with verifiable rewards improves accuracy and reliability.
The models can handle prompts with specific tasks, such as , , or . They can also work on cropped elements, making them flexible for various document processing needs.
Benchmark results - comparison with competitors and evaluation scores
IBM evaluated Granite Docling V2 models using a set of 20,502 pages from ten different benchmarks. The models' accuracy was scored as one minus the normalized edit distance, a measure of how closely the output matches the true document. The 2B model achieved a score of 95.8, the highest among tested models.
While some competitors like MinerU 2.5 Pro and dots.mocr perform well on certain benchmarks, they do not outperform IBM’s models across all tests. For example, MinerU 2.5 Pro leads on OmniDocBench with a score of 97.2, slightly above the 2B model’s 95.6. On DocLayNet v1, dots.mocr edges out with a score of 98.6 compared to 98.2 for IBM’s 2B.
These results show that Granite Docling V2 models are among the top performers in document conversion accuracy. The evaluation scores rely on IBM’s own ground truth, which has been revised for consistency. The models' speed and accuracy make them suitable for high-volume, real-world applications.
Deployment options - hardware, software, and integration methods
Granite Docling V2 models can be deployed in various environments. The 2B model requires hardware like an Nvidia H100 80GB graphics card for optimal performance. It can process over ten pages per second with multi-token prediction enabled. The 500M model is faster and can run on less powerful hardware, including Apple silicon devices using MLX.
Software-wise, the models support frameworks such as vLLM and Transformers, which are popular in AI development. They can be integrated into existing document workflows or used as standalone services. IBM provides deployment options that include cloud-based hosting, on-premises setups, and local development environments.
The models can be run via different paths, including a self-hosted setup with open-source tools or through IBM’s hosted platform. This flexibility allows teams to choose the deployment method that best fits their infrastructure and security needs. Detailed specifications and instructions are available through tools like the GPULeaderboard.com extension.
Why it matters - benefits for document processing and agent systems
The release of Granite Docling V2 offers significant benefits for document processing. Its ability to convert page images into fully structured documents in one pass reduces complexity. This simplifies workflows that previously relied on multiple tools for OCR and layout analysis.
For agent systems and retrieval-augmented generation (RAG) applications, the models provide a more reliable and faster way to understand documents. They eliminate the need for stitched outputs, which can introduce errors. The models’ high accuracy and speed enable real-time document understanding, useful in many industries.
The open nature of the models and the format they produce, DocLang, make integration easier. Developers can embed these models into larger systems or build new applications around them. The models also support complex documents with nested elements, formulas, and images, broadening their use cases.
How OpenSmartRoute helps
OpenSmartRoute is an open-source request router for AI models. It directs each request to the best-fit model, tool, or agent from a predefined catalog. The team can set weights based on quality, cost, speed, and safety for each request.
Routing requests through OpenSmartRoute helps teams optimize costs and performance. It ensures that document conversion requests go to the most suitable model, such as Granite Docling V2, based on the task and constraints. The router learns from outcomes, increasing traffic to models that perform well and reducing it for less accurate ones.
Using OpenSmartRoute simplifies managing multiple models and deployment options. It provides visibility into request costs and safety checks, such as prompt injection detection. This setup helps teams get the best results from their document processing workflows with minimal effort.
AI integration makes spatial computing systems more adaptive, interactive, and practical across industries, improving how people access and use information.