Roboflow

DETR vs YOLOv8

Compare DETR and YOLOv8 side-by-side.

Compare 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

Meta

DETR vs YOLOv8 Comparison Table

Evals updated July 10, 2026Pricing updated July 21, 2026

PropertyDETRYOLOv8
OrganizationMetaUltralytics
Categoryopenopen
Modalityvisionvision
Release DateMay 2020Jan 2023
Context Window
Parameters~41M3.2M-68.2M
LicenseApache 2.0AGPL 3.0
Model Sizes input resolution per size variant
Nano1280×1280, 640×640
Small1280×1280, 640×640
Medium1280×1280, 640×640
Large1280×1280, 640×640
XL1280×1280, 640×640
Vision Tasks
Object DetectionDemo (COCO)
Model Features
Foundation Vision
Real-Time Vision

DETR vs YOLOv8: Overview

DETR

DETR (Detection Transformer) is an end-to-end object detection model developed by Facebook Research (Meta), released in May 2020. It is one of the first models to eliminate hand-crafted components such as anchor generation and non-maximum suppression by framing object detection as a direct set prediction problem, solved with a transformer encoder-decoder architecture built on top of a CNN backbone.

DETR achieves 42.0% AP on the COCO benchmark with a ResNet-50 backbone, performing comparably to a well-tuned Faster R-CNN at the time of release. Its attention-based design allows it to reason about global context and long-range dependencies within an image. DETR is primarily used as a research baseline and architectural reference, with subsequent works such as Deformable DETR and DINO building on its foundations to address its slower training convergence and limited small-object detection capability.

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.