Roboflow

RF-DETR vs YOLOv8

RF-DETR scores 48.4–59.9 COCO mAP 50:95 across 6 sizes. YOLOv8 scores 36.5–52.9 across 5. RF-DETR is open-weight under Apache 2.0: free for commercial use (XL and 2XL: PML 1.0, included on Roboflow cloud). YOLOv8 is open-weight under AGPL 3.0: commercial use needs a license (included on Roboflow cloud).

Compare RF-DETR vs YOLOv8 live

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

Run a pretrained Object Detection (COCO) model and compare detections on the same image.

Open Object Detection (COCO) in the full playground
RF-DETR
Run to compare this model.
YOLOv8
Run to compare this model.

RF-DETR vs YOLOv8 on COCO

At similar sizes, RF-DETR Nano (30.5M params) scores 48.4 and YOLOv8 Medium (25.9M) scores 49.2.

YOLOv8 has the smallest size here: Nano, at 3.2M params and 36.5 mAP.

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

RF-DETRYOLOv8

COCO val2017 mAP 50:95 against parameter count, one point per size · from leaderboard.roboflow.com

RF-DETR vs YOLOv8 Comparison Table

PropertyRF-DETRYOLOv8
OrganizationRoboflowUltralytics
Categoryopenopen
Modalityvisionvision
Release DateMar 2025Jan 2023
Context Window——
Parameters30.5M-126.9M3.2M-68.2M
LicenseApache 2.0AGPL 3.0
Commercial usefree for commercial use (XL and 2XL: PML 1.0, included on Roboflow cloud)commercial use needs a license (included on Roboflow cloud)
COCO Benchmark object detection, mAP 50:95 on COCO val2017
Best size59.92XL · 126.9M params52.9XL · 68.2M params
Smallest size48.4Nano · 30.5M params36.5Nano · 3.2M params
mAP range48.4–59.9across 6 sizes36.5–52.9across 5 sizes
Model Sizes COCO mAP 50:95, tested resolution and params per size
Nano48.4384×384 · 30.5M params36.5640×640 · 3.2M params
Small53.0512×512 · 32.1M params44.1640×640 · 11.2M params
Medium54.8576×576 · 33.7M params49.2640×640 · 25.9M params
Large56.3704×704 · 33.9M params51.8640×640 · 43.7M params
XL58.5700×700 · 126.4M params52.9640×640 · 68.2M params
2XL59.9880×880 · 126.9M paramsNot available
COCO val2017 mAP 50:95 and parameter counts from leaderboard.roboflow.com. Size names don't line up across model families, so compare sizes with similar parameter counts. The live demo runs some of these sizes at other resolutions, which were not benchmarked.
Vision Tasks
Both support 1 more task
Model Features
Both support 1 more feature

RF-DETR vs YOLOv8: 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.

YOLOv8

YOLOv8 is an object detection and multi-task vision model developed by Ultralytics, released in January 2023 under the AGPL-3.0 license. It succeeds YOLOv5 and introduces an anchor-free detection head, a new C2f module for improved gradient flow, and a decoupled head that separates classification and regression tasks. These changes improve both accuracy and training efficiency compared to earlier Ultralytics models.

YOLOv8 supports object detection, instance segmentation, image classification, pose estimation, and oriented bounding box detection within a unified codebase. It is available in five sizes from Nano to Extra Large and exports to ONNX, TensorRT, CoreML, and other formats. YOLOv8 is one of the most widely adopted detection models in production and is directly supported by Roboflow Inference for custom model training and deployment.