Roboflow

RF-DETR vs RT-DETR

RF-DETR scores 48.4–59.9 COCO mAP 50:95 across 6 sizes. RT-DETR scores 46.4–54.3 across 4. RF-DETR is open-weight under Apache 2.0: free for commercial use (XL and 2XL: PML 1.0, included on Roboflow cloud). RT-DETR is open-weight under Apache 2.0: free for commercial use.

Baidu

Compare RF-DETR vs RT-DETR live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

RF-DETR vs RT-DETR on COCO

RF-DETR sizes use different licenses: Apache 2.0 for Nano, Small, Medium, and Large, PML-1.0 for XL and 2XL.

RF-DETR vs RT-DETR Comparison Table

PropertyRF-DETRRT-DETR
OrganizationRoboflowBaidu
Categoryopenopen
Modalityvisionvision
Release DateMar 2025Apr 2023
Context Window——
Parameters30.5M-126.9M20M-76M
LicenseApache 2.0Apache 2.0
Commercial usefree for commercial use (XL and 2XL: PML 1.0, included on Roboflow cloud)free for commercial use
COCO Benchmark object detection, mAP 50:95 on COCO val2017
Best size59.92XL · 126.9M params54.3R101
Smallest size48.4Nano · 30.5M params46.4R18
mAP range48.4–59.9across 6 sizes46.4–54.3across 4 sizes
Model Sizes COCO mAP 50:95 and tested resolution per size
Nano48.4384×384 · 30.5M paramsNot available
Small53.0512×512 · 32.1M paramsNot available
Medium54.8576×576 · 33.7M paramsNot available
Large56.3704×704 · 33.9M paramsNot available
XL58.5700×700 · 126.4M paramsNot available
2XL59.9880×880 · 126.9M paramsNot available
R18Not available46.4640×640
R34Not available48.9640×640
R50Not available53.1640×640
R101Not available54.3640×640
COCO val2017 mAP 50:95 from leaderboard.roboflow.com. Size names don't line up across model families, so same-named sizes are not equivalents.
Vision Tasks
Object DetectionDemo (COCO)Supported
Model Features
Both support 1 more feature

RF-DETR vs RT-DETR: Overview

RF-DETR

RF-DETR is a real-time transformer-based object detection model developed by Roboflow, with code and weights first released in March 2025. Its largest size, 2XL, reaches 59.9 mAP 50:95 on Microsoft COCO val2017, the highest of the 60 detectors on leaderboard.roboflow.com. It is built on a DINOv2 vision transformer backbone, with weight-sharing neural architecture search used to identify accuracy-latency trade-offs. The full family spans six sizes from Nano (30.5M parameters, 384×384 input) to 2XL (126.9M parameters, 880×880 input), with the accompanying research paper accepted to ICLR 2026.

RF-DETR is designed for strong domain adaptability, achieving state-of-the-art performance on RF100-VL, a benchmark measuring generalization to real-world object detection tasks across diverse domains. It is deployable through Roboflow Inference and supports fine-tuning on custom datasets, making it well suited for domain-specific applications with limited training data.

RT-DETR

RT-DETR (Real-Time Detection Transformer) is an object detection model developed by Baidu, released in April 2023 under the Apache 2.0 license. It is the first transformer-based real-time object detector, addressing the inference speed limitations of earlier DETR models through an efficient hybrid encoder that decouples intra-scale interaction and cross-scale fusion, enabling the model to process multi-scale features without the high computational overhead of standard transformer encoders.

RT-DETR achieves 53.1% AP on COCO at 108 FPS on an NVIDIA T4 GPU for the RT-DETR-L variant, outperforming comparably sized YOLO detectors at similar speeds. It maintains end-to-end inference without non-maximum suppression, simplifying deployment pipelines. RT-DETR established the baseline for real-time transformer detection and has been extended by subsequent works including RF-DETR and RT-DETRv2.