Model reference · open weights

granite-vision-4.1

LLMs ibm-granite Vision + text 1 build Open weights 106k dl/mo

granite-vision-4.1 is an open-weight language model from IBM. granite-vision-4.1-4b (BF16) weighs 8.0 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • Granite Vision 4.1 4B is a vision-language model developed by IBM for structured document extraction tasks, including chart, table, and key-value pair extraction.
  • The model features a 4.0B parameter architecture with a 3.4B LLM and 0.6B vision encoder, and it supports English.
  • It is released under the Apache 2.0 license.

Summary of the ibm-granite/granite-vision-4.1-4b model card, 2026-10-01

What it is

Released byIBM
Released2026-04-16
Parameters4.0B
VRAM8.0 GB for the weights

What it runs on

Memory and cards for granite-vision-4.1-4b (BF16)

8.0 GBweights, file size
82 MBcache per 1K tokens
1.9 GBruntime overhead, at least
131,072 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB2—20K11.6 GB
RTX 4060 Ti 16 GB8265K15.4 GB
RTX 3090 24 GB205all 128K23.4 GB
RTX 4090 24 GB205all 128K23.4 GB
RTX 5090 32 GB317all 128K31.0 GB
L40S 48 GB5012all 128K44.0 GB
A100 80 GB10125all 128K78.2 GB
H100 80 GB9624all 128K78.1 GB
RTX PRO 6000 Blackwell 96 GB11929all 128K93.8 GB
DGX Spark (GB10) 128 GB unified13934all 128K107 GB
H200 141 GB18546all 128K138 GB
B200 180 GB24160all 128K176 GB
2× RTX 3060 12 GB
tensor parallel
164all 128K11.6 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
110.6 GB12.6 GB
513.3 GB23.3 GB
815.3 GB31.4 GB
1620.7 GB52.9 GB
3231.4 GB95.8 GB
6452.9 GB182 GB

One card, with vLLM's small-card settings.

From the model card

What IBM says about granite-vision-4.1

Read the model card

Model Summary: Granite Vision 4.1 4B is a vision-language model (VLM) that delivers frontier-level performance on structured document extraction tasks — chart extraction, table extraction, and semantic key-value pair extraction — in a compact 4B parameter footprint, providing a lightweight alternative to much larger frontier models for these tasks:

  • Chart extraction: Converting charts into structured, machine-readable formats (Chart2CSV, Chart2Summary, and Chart2Code)
  • Table extraction: Accurately extracting tables with complex layouts from document images to JSON, HTML, or OTSL
  • Semantic Key-Value Pair (KVP) extraction: Extracting values based on key names and descriptions across diverse document layouts

The model is finetuned on top of Granite-4.1-3B, with a 3.4B LLM and 0.6B Vision Encoder and Projectors. See Model Architecture for details.

The methodology and data (ChartNet) used for this model are described in the paper ChartNet: A Million-Scale, High-Quality Multimodal Dataset for Robust Chart Understanding.

While our focus is on specialized document extraction tasks, the current model preserves and extends the capabilities of Granite Vision 4.0 3B, ensuring that existing users can adopt it seamlessly with no changes to their workflow. It continues to support vision‑language tasks such as producing detailed natural‑language descriptions from images (image‑to‑text). The model can be used standalone and integrates seamlessly with Docling to enhance document processing pipelines with deep visual understanding capabilities.

  • Developer: IBM Research
  • GitHub Repository: https://github.com/ibm-granite
  • Release Date: April 29th, 2026
  • License: Apache 2.0

Supported Tasks

The model supports specialized extraction tasks, each activated by a simple task tag in the user message. The chat template automatically expands tags into the full prompt — no need to write verbose instructions.

TagTaskOutput
``Chart to CSVCSV table with headers and numeric values
``Chart to Python codePython code that recreates the chart
``Chart to summaryNatural-language description of the chart
``Table extraction (JSON)Structured JSON with dimensions and cells
``Table extraction (HTML)HTML `` markup
``Table extraction (OTSL)OTSL markup with cell/merge tags
KVP (see prompt instructions below)Schema based Key-Value pairs extractionJSON with nested dictionaries and arrays

Model Performance

Benchmark Results

Granite Vision 4.1 4B provides a lightweight alternative to frontier models on structured document extraction benchmarks, delivering comparable performance at a fraction of the parameter count.

Chart Extraction

We evaluate chart extraction using the human-verified test-set from ChartNet. Models are scored by LLM-as-a-judge (GPT4o) comparing predictions against ground truth. We report average scores (0–100) on Chart2CSV and Chart2Summary tasks.

Table Extraction

To benchmark table extraction, we construct a unified evaluation suite spanning multiple datasets and settings to assess end-to-end table extraction capabilities of vision-language models:

  1. TableVQA-Extract — Converts the original visual table QA benchmark into a cropped table extraction task.
  2. OmniDocBench-tables — A document parsing benchmark over diverse PDF types with detailed annotations for layout, text, formulas, and tables. We use the subset of pages that contain one or more tables to evaluate table extraction in full-page settings.
  3. PubTablesV2 — A large-scale table extraction benchmark evaluated in both cropped-table and full-page document settings.

To unify evaluation, we replace each dataset’s original annotations (e.g., Q&A pairs) with a single instruction: extract the table(s) from the image in HTML format, using the corresponding HTML as ground truth. For full-page inputs, only tabular elements are considered; when multiple tables appear, they are aggregated into a Python list.

We report results using TEDS (Tree-Edit Distance-based Similarity), which measures structural and content similarity between predicted and ground-truth HTML tables.

Results are presented separately for cropped-table and full-page settings to highlight performance across controlled and realistic document scenarios.

Key-Value Pair (KVP) Extraction

We evaluate on VAREX, a benchmark for multimodal structured extraction from documents. Granite Vision 4.1 4B achieves 94.2% exact-match accuracy (zero-shot), competitive with much larger frontier models (view results here).

Setup

Tested with python=3.11

pip install torch==2.10.0 --index-url https://download.pytorch.org/whl/cu128
pip install transformers>=5.8.0 peft>=0.19.1 tokenizers>=0.22.2 pillow>=12.2.0

Requires transformers>=5.8.0 for native support. On older versions, pass trust_remote_code=True to both from_pretrained calls to use the bundled legacy modeling code.

Usage with Transformers

import re
from io import StringIO

import pandas as pd
import torch
from transformers import AutoProcessor, AutoModelForImageTextToText
from PIL import Image
from huggingface_hub import hf_hub_download

model_id = "ibm-granite/granite-vision-4.1-4b"
device = "cuda" if torch.cuda.is_available() else "cpu"

processor = AutoProcessor.from_pretrained(model_id)
p

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms