YOLOv12 vs YOLOv8

Compare YOLOv12 and YOLOv8 side-by-side.

Compare YOLOv12 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

YOLOv12 vs YOLOv8: Overview

YOLOv12

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.

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.

YOLOv12 vs YOLOv8 Comparison Table

PropertyYOLOv12YOLOv8
OrganizationTHU-MIGUltralytics
Categoryopenopen
Modalityvisionvision
Release DateFeb 2025Jan 2023
Context Window
Parameters2.6M-59.1M3.2M-68.2M
LicenseAGPL 3.0AGPL 3.0
Vision Tasks
Object DetectionDemo (COCO)
Classification
Instance Segmentation
Pose Estimation
Model Features
Real-Time Vision