# RF-DETR (slim)

> RF-DETR is Roboflow's family of real-time transformer models for object detection, instance segmentation and keypoint detection, with the rfdetr Python package that runs, trains and exports them. Most sizes are Apache 2.0.

- Full: https://www.anchorterminal.com/tools/rf-detr.md (~6,200 tokens) · this version ~1,780 tokens · JSON https://www.anchorterminal.com/tools/rf-detr.json · canonical https://www.anchorterminal.com/tools/rf-detr
- 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/rf-detr#pricing · reviews https://www.anchorterminal.com/tools/rf-detr#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**C · 59.3/100 · rank #101 of 184 open-weight models · #11 in Computer vision models, APIs & labelling · not agent-ready · confidence low**


Assessment: 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.

## Facts

- Kind: Open-weight model · vendor: Roboflow · category: Computer vision models, APIs & labelling · legal entity: Roboflow, Inc. · provenance 50/100
- Packages: pypi `rfdetr`, huggingface `Roboflow/rf-detr-nano`
- Auth: None · pricing: Free · x402: no · licence: 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
- Benchmark probes: not run yet, so Performance is pending
- Surface graded: The rfdetr Python package and the Apache 2.0 weights, native and in Transformers format, read from the docs and llms.txt, the PyPI page, the Hub API for the Roboflow organisation, the licensing page, the PML 1.0 licence text and a shallow clone of the repository on 1 December 2026. Nothing was downloaded or run. The PML 1.0 sizes and Roboflow's hosted service are named and not graded
- Models: Detection in 9 sizes (Atto, Femto, Pico, Nano, Small, Medium, Large, XL, 2XL), instance segmentation in 6 (Nano to 2XL) and a keypoint preview for 17 person keypoints. Detection and segmentation use the 80 COCO classes. Nano has 30.5M parameters and 2XL 126.9M, per the README
- Licence by size: Apache 2.0 for the package, Nano to Large detection, every Seg size and Keypoint. PML 1.0 for Atto, Femto, Pico, XL, 2XL (installed with `pip install "rfdetr[plus]"`) and NAS models. PML 1.0 needs a platform plan, ends the right to use when the account isn't in good standing, and allows usage tracking
- Files: Native weights are `.pth` pickle files from repo.roboflow.com, each with an MD5 listed in the package source. The Nano repository on the Hub holds one safetensors file in F32 (121.9 MB), a config and a preprocessor config, with a SHA-256 on the Hub. Other repositories were not opened
- Runtimes: The rfdetr package, with export to ONNX, TensorRT, TFLite, LiteRT, OpenVINO, ExecuTorch, CoreML and Core AI per the docs, and Hugging Face Transformers 5.25.0 for the safetensors files. No vLLM, SGLang, llama.cpp, Ollama or LM Studio support was found
- Input and output: A path, URL, PIL image, array, tensor or iterable of them, plus videos, directories, cameras and streams through `RFDETRInference`. Output is a supervision Detections object with boxes, classes, confidences and masks or keypoints, with one threshold or a threshold for each class
- Telemetry: No telemetry or analytics code was found in the package source or docs. The PML 1.0 licence for the plus sizes says the software may include usage tracking and metering
- Hosted option: `deploy_to_roboflow()` uploads a fine-tuned model to Roboflow, which serves it in the cloud and on edge hardware, per the docs. It needs a Roboflow account and key. The platform is listed separately as Roboflow
- Company: Roboflow, Inc., named in Roboflow's terms and privacy policy per our Roboflow listing of 1 December 2026

- Scores: Capability pending, Reach 65, Risk 50, Agent interface 70, Documentation and upkeep 53
- Why:  · Reach, Memory 30, Nano is a 121.9 MB safetensors file, about 0.15 GB with working room. · Risk, File safety 15, safetensors on the Hub with pickle .pth files beside them, loaded with weights_only=True by default. · Agent interface, Chat template 10, none because it isn't a chat model, and the input format is given as code. · Documentation and upkeep, Model card 8, intended use, architecture and parameters are given, and limitations, context, languages and cut-off are not.
- Sources: 12, open questions: 6, both in the full twin
- Capabilities: vision.detect, vision.segment, model.open-weights
- JSON: https://www.anchorterminal.com/api/v1/tools/rf-detr.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/rf-detr.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: press@roboflow.com; security@roboflow.com; support@roboflow.com; https://docs.roboflow.com/platform/support; more in the full twin

## Before you call it

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.

## Connect

```bash
pip install rfdetr
# detect objects in an image with the small model, weights download on first use:
python -c "from rfdetr import RFDETRSmall; d = RFDETRSmall().predict('https://media.roboflow.com/dog.jpeg', threshold=0.5); print(d.xyxy, d.class_id)"
```

```bash
# Python: from rfdetr import RFDETRSmall; detections = RFDETRSmall().predict(image, threshold=0.5) returns a supervision Detections object with boxes, class ids, confidences and, for Seg models, masks.
```

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Moondream | C | 54.7 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/moondream.min.md |
| Ultralytics YOLO | D | 52 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/ultralytics-yolo.min.md |
| Florence-2 | D | 48.5 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/florence-2.min.md |
| PaliGemma | E | 44.8 | vision.detect, vision.segment, model.open-weights | https://www.anchorterminal.com/tools/paligemma.min.md |
| Supervision | BB | 73.5 | vision.detect, vision.segment | https://www.anchorterminal.com/tools/supervision.min.md |


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

