Granite Vision 3.3 2B

GRANITE_VISION_3_3_2B

IBM Granite Vision 3.3 2B reads documents in pictures: it answers questions about tables, charts, infographics, forms and receipts, extracts their text and describes photos, in English.

Vision & Analysisvision-languagedocument-understandingocrchartsgraniteibmapache-2.0Fine-tunable
Granite Vision 3.3 2B: Vision & Analysis model on Kainguru

About Granite Vision 3.3 2B

Capabilities

  • Documents — tables, charts, infographics, forms and receipts
  • Text extraction — reads the text of a scanned page or a screenshot
  • Several pages — up to four pictures in one prompt
  • Fine-tuning — adapt it to your own documents and questions

Good to know

  • English only.
  • Pictures are JPEG, PNG or WebP, at most 20 MB and 40 megapixels each, at least 16 pixels a side and at most 20 times wider than tall. The model works on 384-pixel tiles: a picture takes about 1,500 to 8,000 tokens, a full page about 6,000.
  • The pictures and the prompt together are at most 32,768 tokens and the reply at most 4,096; the pictures' tokens are billed as input tokens.
  • Fine-tuning data is a JSONL manifest plus the images it names, or one ZIP holding both: 4 to 5,000 lines, each {"file": ..., "prompt": ..., "response": ...} or {"files": [...], ...} with 1 to 4 images, prompt and response at most 32,768 characters each.
  • Uploaded one by one, the dataset is at most 1000 files and 4 GB in all, the manifests at most 64 MB, and each "file" is the URL or name the image's upload returned (such as 0192f3c4-7e1a-7c2b-9d5e-1f2a3b4c5d6e.png), never the name the image had on your computer.
  • As a ZIP, it is at most 4 GB and 10,000 entries without a password and holds exactly one .jsonl (or .ndjson) manifest; image paths are relative to that manifest, and files it does not name, .json files included, are ignored.
  • Every training image is checked as for a run. An example's images, prompt and response are at most max_seq_len tokens (at most 16,384, about two full pages): a longer response is cut, and at most 2,048 response tokens are learned. If an example's images and prompt alone are longer, the whole fine-tune is refused, naming that line; raise max_seq_len or use fewer or smaller images.
  • Training stops after 9 hours or 5,000 steps of 8 examples, whichever comes first, and keeps what it learned.

Granite Vision 3.3 2B inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—Your question or instruction about the pictures.
1–32768 characters
temperaturenumberNo0.7Randomness of the reply; below 0.01 always picks the most likely next token.
0–2
system_prompttextNo—Instructions for how the assistant should behave; the model's own default when empty.
Max 32768 characters
imagefileOne of: image, images—One picture: JPEG, PNG or WebP, at most 20 MB and 40 megapixels. Send image or images, not both.
Max 2048 characters · image/jpeg, png, webp
seedintegerNo—The same seed and inputs give the same reply.
0–4294967295
top_pnumberNo0.8Sample only from the most likely tokens whose probabilities add up to this.
0–1
max_new_tokensintegerNo512The most tokens the reply may have.
1–4096
imagesfile listOne of: image, images—Up to 4 pictures to ask about together, in order, each as for image.
1–4 characters · image/jpeg, png, webp

Output. The model's reply.

Run Granite Vision 3.3 2B with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=GRANITE_VISION_3_3_2B" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "example",
    "max_new_tokens": 512,
    "temperature": 0.7,
    "top_p": 0.8
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "GRANITE_VISION_3_3_2B",
        {
          "prompt": "example",
          "max_new_tokens": 512,
          "temperature": 0.7,
          "top_p": 0.8
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Granite Vision 3.3 2B

You can fine-tune Granite Vision 3.3 2B on your own data and run the tuned model through the same API. Dataset: A JSONL manifest plus its images, or one ZIP with both: one {"file" or "files", "prompt", "response"} per line, 1 to 4 images each, 4 to 5,000 lines, 4 GB in all. More rules: Good to know, in the README.

The steps are in the docs.

Granite Vision 3.3 2B pricing

Price per 1M tokens: 23.7 credits ($0.237). The price is shown again before every run; all prices are on the pricing page.

Licence and source

PaddleOCR-VL 1.6: Vision & Analysis model on Kainguru
Vision & Analysis

PaddleOCR-VL 1.6

PaddleOCR-VL 1.6 reads documents in pictures in many languages: it writes out the text of a page, its tables…

Fine-tunable
Qwen3-VL 8B Instruct: Vision & Analysis model on Kainguru
Vision & Analysis

Qwen3-VL 8B Instruct

Qwen3-VL 8B Instruct answers questions about up to four pictures: it describes photos, reads printed and handwritten…

Fine-tunable
EasyOCR: Vision & Analysis model on Kainguru
Vision & Analysis

EasyOCR

EasyOCR finds the lines of text in a photo or a scan and reads each one, returning every line with its box and its…

Fine-tunable
Moondream 2: Vision & Analysis model on Kainguru
Vision & Analysis

Moondream 2

Moondream 2 is a small vision model: it answers questions about a picture, writes short, normal or long captions and…

Fine-tunable
Florence-2 Large: Vision & Analysis model on Kainguru
Vision & Analysis

Florence-2 Large

One small vision model that captions images, reads text, boxes objects and finds things named by a phrase.

Fine-tunable
Deplot: Vision & Analysis model on Kainguru
Vision & Analysis

Deplot

DePlot from Google reads a chart or plot image and returns the data table drawn in it.