# PaliGemma (slim)

> PaliGemma 2 mix is Google DeepMind's open-weight vision-language model in 3B, 10B and 28B sizes, built from SigLIP and Gemma 2. A prompt syntax asks for captions, answers, OCR, object detection and segmentation. Access needs a Kaggle request.

- Full: https://www.anchorterminal.com/tools/paligemma.md (~7,500 tokens) · this version ~1,580 tokens · JSON https://www.anchorterminal.com/tools/paligemma.json · canonical https://www.anchorterminal.com/tools/paligemma
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-12-01 · pricing https://www.anchorterminal.com/tools/paligemma#pricing · reviews https://www.anchorterminal.com/tools/paligemma#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**E · 44.8/100 · rank #173 of 184 open-weight models · #18 in Computer vision models, APIs & labelling · not agent-ready · confidence low**


Assessment: PaliGemma 2 mix answers questions about images and returns captions, OCR text, boxes and masks from a prompt syntax, at 3B, 10B or 28B, and Transformers and vLLM run it. Access needs a Kaggle request under the Gemma Terms, and the newest release dates to 19 February 2025.

## Facts

- Kind: Open-weight model · vendor: Google DeepMind · category: Computer vision models, APIs & labelling · legal entity: Google LLC (RDAP registrant of gemma.ai; the card names Google as author) · provenance 69/100
- Packages: kaggle `google/paligemma-2`
- Auth: None · pricing: Free · x402: no · licence: Gemma Terms of Use
- Benchmark probes: not run yet, so Performance is pending
- Surface graded: PaliGemma 2 mix, the newest release (19 February 2025 on gemma.ai's release history), at the 3B size, read from gemma.ai's model page, model card and prompt and Keras inference guides, Kaggle's model page, the Gemma Terms of Use, and Transformers' and vLLM's own lists. The Hugging Face repositories weren't read, since the host limit of 15 reads was reached. Nothing was downloaded or run
- Model: A Transformer decoder initialised from Gemma 2 (2B, 9B or 27B) joined to a SigLIP-So400m/14 image encoder, trained by the PaLI-3 recipe. Sizes 3B, 10B and 28B, image inputs of 224, 448 or 896 pixels. Text and one image in, text out, in a single round, not a multi-turn chat
- Categories: PT models need fine-tuning before use, FT models are tuned to one research dataset and accept only that task's syntax, and mix models are tuned to a mixture of tasks and work out of the box. PaliGemma 2 mix is the newest, after PaliGemma 2 (5 December 2024) and PaliGemma (14 May 2024)
- Prompt syntax: caption, describe, ocr, answer, question, detect and segment, each with a language code or object list, with the image given first. Detection returns location tokens and segmentation returns codewords, which Google's Keras guide decodes with sample code. Natural-language prompts also work on mix models
- Licence: Gemma Terms of Use, last modified 1 April 2026, which incorporate the Prohibited Use Policy. Free commercial use, with a use policy and Google's right to restrict use it believes breaches the terms
- Access: Google's route is Kaggle. The model page says to request access first, and the Keras guide asks for a Kaggle username and API key. Kaggle lists Keras, Transformers, Gemma C++ and JAX variations, 17 for Keras
- Runtimes: Transformers has a PaliGemma page, and vLLM's supported-models table lists the PaliGemma and PaliGemma 2 checkpoints. KerasHub runs it with JAX, TensorFlow or PyTorch. llama.cpp's mtmd README doesn't name PaliGemma
- Training data: WebLI, CC3M-35L, VQ2A-CC3M-35L and VQG-CC3M-35L, OpenImages questions and WIT, with filters for pornographic images, unsafe and toxic text and personal information. The card says it supports multiple languages, and the prompt syntax takes 34 language codes

- Scores: Capability pending, Reach 55, Risk 35, Agent interface 50, Documentation and upkeep 34
- Why:  · Reach, Memory 30 from 3B parameters. · Risk, File safety 0 as absent, because the file lists weren't read after the Hugging Face host limit. · Agent interface, Read for a vision model. · Documentation and upkeep, The card has five of seven items (14) and names its pre-training data without sizes or a cut-off (10).
- Sources: 12, open questions: 5, both in the full twin
- Capabilities: vision.detect, vision.segment, vision.describe, model.open-weights
- JSON: https://www.anchorterminal.com/api/v1/tools/paligemma.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/paligemma.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: https://gemma.ai/models/paligemma.md; https://www.kaggle.com/models/google/paligemma-2; more in the full twin

## Before you call it

1. Request access on Kaggle first. Then set KAGGLE_USERNAME and KAGGLE_KEY before loading a preset with KerasHub.
2. Use a mix checkpoint (PaliGemma 2 mix) for out-of-the-box work. Fine-tune a PT checkpoint before you rely on it, and send an FT checkpoint only its own task's syntax.
3. Send the image first and the prompt second, for example `detect cow` or `segment cow`. Reversing the order usually gives unusable output.
4. Decode detect output with the location-token parser in Google's Keras guide. Segmentation output also needs the mask decoder in that guide.
5. Treat each call as one round. The card says PaliGemma 2 isn't a multi-turn chatbot.

## Connect

```bash
pip install -U keras-hub kagglehub
# after requesting access on Kaggle and setting KAGGLE_USERNAME and KAGGLE_KEY:
python -c "import keras_hub; m = keras_hub.models.PaliGemmaCausalLM.from_preset('kaggle://keras/paligemma2/keras/pali_gemma2_mix_3b_224'); m.summary()"
```

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Moondream | C | 54.7 | vision.detect, vision.segment, vision.describe, model.open-weights | https://www.anchorterminal.com/tools/moondream.min.md |
| Florence-2 | D | 48.5 | vision.detect, vision.segment, vision.describe, model.open-weights | https://www.anchorterminal.com/tools/florence-2.min.md |
| Roboflow | B | 67.7 | vision.detect, vision.segment, vision.describe | https://www.anchorterminal.com/tools/roboflow.min.md |
| RF-DETR | C | 59.3 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/rf-detr.min.md |
| Ultralytics YOLO | D | 52 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/ultralytics-yolo.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

