RT-DETR vs YOLOv12
Compare RT-DETR and YOLOv12 side-by-side.
Compare RT-DETR vs YOLOv12 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 YOLOv12 Comparison Table
Evals updated August 26, 2026Pricing updated August 26, 2026
| Property | RT-DETR | YOLOv12 |
|---|---|---|
| Organization | Baidu | THU-MIG |
| Category | open | open |
| Modality | vision | vision |
| Release Date | Apr 2023 | Feb 2025 |
| Context Window | — | — |
| Parameters | 20M-76M | 2.6M-59.1M |
| License | Apache 2.0 | AGPL 3.0 |
| Vision Tasks | ||
| Object Detection | ||
| Classification | ||
| Instance Segmentation | ||
| Pose Estimation | ||
| Model Features | ||
| Real-Time Vision | ||
RT-DETR vs YOLOv12: 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.
YOLOv12 is an attention-centric real-time object detection model developed by researchers at Tsinghua University, with the arXiv paper published in February 2025 under the AGPL-3.0 license. It introduces an Area Attention module that partitions feature maps into regions and applies self-attention within each region, reducing the quadratic complexity of full self-attention while capturing long-range dependencies. It also incorporates R-ELAN for improved feature aggregation and scaled residual connections for training stability.
YOLOv12-L achieves 54.0% AP on COCO, while the YOLOv12-N variant achieves 40.5% mAP at 1.62ms latency on an NVIDIA T4 GPU. The model is built on the Ultralytics codebase, supporting detection, segmentation, and other standard YOLO tasks at competitive real-time speeds.