RT-DETR vs YOLOv8
Compare RT-DETR and YOLOv8 side-by-side.
Compare RT-DETR vs YOLOv8 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.
Models in this comparison
RT-DETR vs YOLOv8 Comparison Table
Evals updated July 10, 2026Pricing updated July 21, 2026
| Property | RT-DETR | YOLOv8 |
|---|---|---|
| Organization | Baidu | Ultralytics |
| Category | open | open |
| Modality | vision | vision |
| Release Date | Apr 2023 | Jan 2023 |
| Context Window | — | — |
| Parameters | 20M-76M | 3.2M-68.2M |
| License | Apache 2.0 | AGPL 3.0 |
| Model Sizes input resolution per size variant | ||
| Nano | 1280×1280, 640×640 | |
| Small | 1280×1280, 640×640 | |
| Medium | 1280×1280, 640×640 | |
| Large | 1280×1280, 640×640 | |
| XL | 1280×1280, 640×640 | |
| Vision Tasks | ||
| Object Detection | Demo (COCO) | |
| Model Features | ||
| Real-Time Vision | ||
RT-DETR vs YOLOv8: Overview
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.
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.