# PaliGemma vs RF-DETR

> RF-DETR scores 59.3 (C) to PaliGemma's 44.8 (E) for vision detect. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr
- Markdown: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr.md (~2,700 tokens)
- Slim: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr.min.md (~830 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-12-01

RF-DETR scores 59.3 (C) on agent readiness against PaliGemma's 44.8 (E), and leads in every scored category. Both do vision detect.

- PaliGemma: grade E, 44.8/100, rank #173 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/paligemma.md · JSON https://www.anchorterminal.com/api/v1/tools/paligemma.json
- RF-DETR: grade C, 59.3/100, rank #101 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/rf-detr.md · JSON https://www.anchorterminal.com/api/v1/tools/rf-detr.json
- Best computer vision models, APIs and labelling tools for AI agents: https://www.anchorterminal.com/best/computer-vision/index.md
- All 118 computer vision comparisons: https://www.anchorterminal.com/compare/computer-vision/index.md

## Which one, for what

### PaliGemma (E)

Good for: Agents that fine-tune a small vision-language model for one captioning, OCR or detection task, and can accept the Gemma Terms and a Kaggle gate

Watch for: Gated behind a Kaggle account, an access request and a consent form, with an API key for the Keras route

### RF-DETR (C)

Good for: Developers who need real-time detection or instance segmentation they can ship in closed-source or self-hosted products, and who can fine-tune on their own dataset

Ahead on:
- Reach, 65 against 55
- Risk, 50 against 35
- Agent interface, 70 against 50
- Documentation and upkeep, 53 against 34

Watch for: Atto, Femto, Pico, XL, 2XL and NAS models are under PML 1.0, which needs a Roboflow plan and allows usage tracking


## Why the edge

### Agent interface: RF-DETR +20

- PaliGemma (50): Read for a vision model. The command syntax and the Keras decoding code are documented (25), the prompt format is code and docs and not a template (10), one command per prompt (10), and text and location-token outputs without a JSON mode (5). No reasoning mode and no context length (0).
- RF-DETR (70): Chat template 10, none because it isn't a chat model, and the input format is given as code. Tool-calling format 25, read for a detector, inputs and the Detections it returns are documented. Trained tool calling 20, an iterable or batch tensor is one batch. Structured output 15, typed Detections with masks or keypoints. Reasoning control 0, none. Context 0, not applicable. 10 + 25 + 20 + 15 + 0 + 0 = 70.

### Documentation and upkeep: RF-DETR +19

- PaliGemma (34): The card has five of seven items (14) and names its pre-training data without sizes or a cut-off (10). The newest release was 651 days ago (0). Responsiveness and file health are scored as absent because the Hugging Face pages weren't read (0 and 0). Dated releases for each generation earn 10.
- RF-DETR (53): Model card 8, intended use, architecture and parameters are given, and limitations, context, languages and cut-off are not. Training data 10, COCO is named with no cut-off or filtering. Last change 20, released 12 November 2026. Responsiveness 0, no question found on the Hub and GitHub issues were not readable. Version policy 10, dated changelog, docs for every version and deprecations with removal versions. File health 5, the card's example points at another namespace. 8 + 10 + 20 + 0 + 10 + 5 = 53.

### Risk: RF-DETR +15

- PaliGemma (35): File safety 0 as absent, because the file lists weren't read after the Hugging Face host limit. Provenance 10, safety results from Google alone 10, general cautions 5, licence risk 5 and security.txt 5.
- RF-DETR (50): File safety 15, safetensors on the Hub with pickle .pth files beside them, loaded with weights_only=True by default. Provenance 15, Roboflow's own organisation and domain (10), SHA-256 and MD5 checks (5). Safety evaluation 0, none. Agent guidance 0, none found. Licence risk 15, Apache 2.0 for the graded sizes. Security programme 5, a private report address and no public advisories read. 15 + 15 + 0 + 0 + 15 + 5 = 50.

### Reach: RF-DETR +10

- PaliGemma (55): Memory 30 from 3B parameters. Runtimes 10, Transformers and vLLM, 5 each. No quantised build found (0), Gemma terms (10), a Kaggle access request and account (5) and no host found (0).
- RF-DETR (65): Memory 30, Nano is a 121.9 MB safetensors file, about 0.15 GB with working room. Runtimes 5, Transformers 5.25.0 documents the model and no other listed runtime does. Builds 0, F32 weights only. Terms 15, Apache 2.0 for the graded sizes. Download 10, not gated and no account. Hosted 5, Roboflow serves deployed models. 30 + 5 + 0 + 15 + 10 + 5 = 65.

## Score by category

| Category | Weight | PaliGemma | RF-DETR | Edge |
| --- | --- | --- | --- | --- |
| Capability | 35%, pending | pending | pending | not scored in this run |
| Reach | 25% | 55 | 65 | RF-DETR +10 |
| Risk | 20% | 35 | 50 | RF-DETR +15 |
| Agent interface | 10% | 50 | 70 | RF-DETR +20 |
| Documentation and upkeep | 10% | 34 | 53 | RF-DETR +19 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **44.8 · E** | **59.3 · C** | |

## Facts side by side

| Fact | PaliGemma | RF-DETR |
| --- | --- | --- |
| Kind | Open-weight model | Open-weight model |
| Vendor | Google DeepMind | Roboflow |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Gemma Terms of Use | Apache 2.0 for the rfdetr package, RF-DETR Nano to Large detection, every RF-DETR-Seg size and RF-DETR Keypoint. Atto, Femto, Pico, XL, 2XL and NAS models are under Roboflow's Platform Model License 1.0, which needs a Roboflow plan |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2025-02-19 | 2026-11-12 |
| Terms last updated | 2026-04-01 | not read yet |
| Privacy policy last updated | no document linked | not read yet |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |

## Verdicts

**PaliGemma.** 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.

**RF-DETR.** RF-DETR detects, segments and finds person keypoints from images and video, with Apache 2.0 weights for most sizes, safetensors on the Hub and a documented Python package that exports to many runtimes. The largest and smallest detection sizes need a Roboflow plan under PML 1.0, and no independent benchmark was read.

## Before you call either

### PaliGemma

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.

### RF-DETR

1. Install with `pip install rfdetr`. Use `RFDETRSmall()` as the default, and the first call downloads the weights.
2. Stay with Nano to Large, Seg and Keypoint for closed-source or self-hosted use. `pip install "rfdetr[plus]"` brings PML 1.0 models that need a Roboflow plan.
3. Load only checkpoints you trust. Leave `trust_checkpoint` off, since it allows full pickle loading.
4. Pass `threshold` to `predict()`, or `ClassThresholds` for one bar per class, and `stream=True` on `RFDETRInference` for video.
5. Roboflow's pages say the YOLO models are AGPL-3.0 and that it sells hosting for them, so check Ultralytics' own licence page before choosing on licence alone.

## Questions

### Which is better for AI agents, PaliGemma or RF-DETR?

RF-DETR scores 59.3 (C) on agent readiness against PaliGemma's 44.8 (E), and leads in every scored category.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr.json, and with the fewest tokens: https://www.anchorterminal.com/compare/paligemma-vs-rf-detr.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "paligemma", "b": "rf-detr"}`. From a terminal: `anchor compare paligemma rf-detr`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/paligemma.json and https://www.anchorterminal.com/api/v1/tools/rf-detr.json

## Other comparisons with PaliGemma or RF-DETR

- [DINOv3 vs PaliGemma](https://www.anchorterminal.com/compare/dinov3-vs-paligemma.md)
- [DINOv3 vs RF-DETR](https://www.anchorterminal.com/compare/dinov3-vs-rf-detr.md)
- [Florence-2 vs PaliGemma](https://www.anchorterminal.com/compare/florence-2-vs-paligemma.md)
- [Florence-2 vs RF-DETR](https://www.anchorterminal.com/compare/florence-2-vs-rf-detr.md)
- [Grounding DINO vs PaliGemma](https://www.anchorterminal.com/compare/grounding-dino-vs-paligemma.md)
- [Grounding DINO vs RF-DETR](https://www.anchorterminal.com/compare/grounding-dino-vs-rf-detr.md)
- [Moondream vs PaliGemma](https://www.anchorterminal.com/compare/moondream-vs-paligemma.md)
- [Moondream vs RF-DETR](https://www.anchorterminal.com/compare/moondream-vs-rf-detr.md)
- [PaliGemma vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/paligemma-vs-segment-anything.md)
- [PaliGemma vs Ultralytics YOLO](https://www.anchorterminal.com/compare/paligemma-vs-ultralytics-yolo.md)
- [RF-DETR vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/rf-detr-vs-segment-anything.md)
- [RF-DETR vs Ultralytics YOLO](https://www.anchorterminal.com/compare/rf-detr-vs-ultralytics-yolo.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
