D-FINE vs RF-DETR
Compare D-FINE and RF-DETR side-by-side.
Compare D-FINE vs RF-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.
Models in this comparison
D-FINE vs RF-DETR Comparison Table
Evals updated July 10, 2026Pricing updated July 21, 2026
| Property | D-FINE | RF-DETR |
|---|---|---|
| Organization | USTC | Roboflow |
| Category | open | open |
| Modality | vision | vision |
| Release Date | Oct 2024 | Mar 2025 |
| Context Window | — | — |
| Parameters | 4M-62M | 30.5M-126.9M |
| License | Apache 2.0 | Apache 2.0 |
| Model Sizes input resolution per size variant | ||
| Nano | 384×384 | |
| Small | 512×512 | |
| Medium | 576×576 | |
| Large | 704×704 | |
| XL | 700×700 | |
| 2XL | 880×880 | |
| Vision Tasks | ||
| Object Detection | Demo (COCO) | |
| Model Features | ||
| Real-Time Vision | ||
D-FINE vs RF-DETR: Overview
D-FINE is a real-time object detection model introduced in October 2024 by researchers at the University of Science and Technology of China. It builds on the DETR family of transformer-based detectors by reformulating bounding box regression as a Fine-grained Distribution Refinement task. Rather than predicting box coordinates directly, D-FINE iteratively refines probability distributions over coordinate offsets across decoder layers, which provides finer localization granularity without adding inference cost. The architecture also replaces the encoder's CSP blocks with GELAN modules and inserts a Target Gating Layer after the decoder's cross-attention to reduce representational entanglement across queries. A second contribution, Global Optimal Localization Self-Distillation, transfers localization knowledge from refined deeper-layer predictions back to earlier decoder layers through internal self-distillation.
D-FINE is released in five model sizes (Nano, Small, Medium, Large, and X), with D-FINE-L achieving 54.0% AP on the Microsoft COCO benchmark at 124 FPS on an NVIDIA T4 GPU, and D-FINE-X reaching 55.8% AP at 78 FPS. Pretraining on the Objects365 dataset further improves accuracy to 57.1% AP for the L variant and 59.3% AP for the X variant. The paper was accepted at ICLR 2025 as a Spotlight. Code and pretrained weights are released under the Apache 2.0 license, making the model suitable for commercial use.
RF-DETR is a real-time transformer-based object detection model developed by Roboflow, with code and weights first released in March 2025 under the Apache 2.0 license. It is the first real-time model to exceed 60 AP on the Microsoft COCO benchmark, 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.