Model comparison · YOLO12 vs YOLOv5 (v5u)

YOLO12 vs YOLOv5 (v5u)

A size-tier-by-size-tier comparison of YOLO12 and Ultralytics YOLOv5 (v5u): published COCO accuracy, parameter counts, licensing and which one to reach for. Every figure is the model authors' own, linked to its source.

CompareYOLO12
AgainstYOLOv5 (v5u)
73%fewer params

mAP comparison

YOLO12YOLOv5 (v5u)
31.037.944.851.658.5mAPNanoSmallMediumLargeExtra largeModel size tierYOLO12n: 40.6 mAP, 2.6M paramsYOLO12s: 48.0 mAP, 9.3M paramsYOLO12m: 52.5 mAP, 20.2M paramsYOLO12l: 53.7 mAP, 26.4M paramsYOLO12x: 55.2 mAP, 59.1M paramsYOLOv5nu: 34.3 mAP, 2.6M paramsYOLOv5su: 43.0 mAP, 9.1M paramsYOLOv5mu: 49.0 mAP, 25.1M paramsYOLOv5lu: 52.2 mAP, 53.2M paramsYOLOv5xu: 53.2 mAP, 97.2M params

YOLO12

  • Nano 40.6
  • Small 48.0
  • Medium 52.5
  • Large 53.7
  • Extra large 55.2

YOLOv5 (v5u)

  • Nano 34.3
  • Small 43.0
  • Medium 49.0
  • Large 52.2
  • Extra large 53.2
COCO mAP at 640px, as published by each model’s authors. The y axis spans 31.0 to 58.5 rather than starting at zero, so small differences stay visible. Points are the published checkpoints; the joining lines are for reading order only.

Accuracy and size, tier by tier

Each row pairs the equivalent rung of both size ladders, so the numbers sit side by side at comparable capacity. Every figure is the model authors’ own.

  • COCO mAP50-95 @ 640px
  • mAP: higher is better
  • Params (M): lower is better
YOLO12 and YOLOv5 (v5u) compared at each size tier: published COCO mAP50-95 at 640px and parameter counts in millions.
TierYOLO12YOLOv5 (v5u)Δ mAP
ModelmAPParamsModelmAPParams
NanoYOLO12n40.62.6MYOLOv5nu34.32.6M+6.3
SmallYOLO12s48.09.3MYOLOv5su43.09.1M+5.0
MediumYOLO12m52.520.2MYOLOv5mu49.025.1M+3.5
LargeYOLO12l53.726.4MYOLOv5lu52.253.2M+1.5
Extra largeYOLO12x55.259.1MYOLOv5xu53.297.2M+2.0

Δ mAP is YOLO12 minus YOLOv5 (v5u): positive means YOLO12 is ahead at that tier. Sources: YOLO12 docs · YOLO12 paper · YOLOv5 (v5u) docs

Additional information

  • YOLO12 posts the higher published COCO mAP at all 5 matched size tiers, averaging 3.66 mAP ahead of YOLOv5 (v5u). The gap is widest at the nano tier, where YOLO12 leads by 6.3 mAP. At the top of each range, YOLO12 reaches 55.2 mAP against 53.2.

  • 73% fewer parameters, same accuracy. YOLO12l reaches 53.7 mAP from 26.4M parameters, matching or beating YOLOv5xu at 53.2 mAP from 97.2M.

    Parameter count is not latency. It is a good proxy for download size and memory, but throughput depends on your hardware, batch size and export format, so measure on your own target.

YOLO12

The attention-centric generation, between YOLO11 and YOLO26.

Released
2025 · Tian, Ye & Doermann (UB / UCAS)
License
AGPL-3.0
Framework
Ultralytics (PyTorch)
Tasks
Detect, Segment, Classify, Pose, OBB

An attention-centric YOLO: area attention and residual ELAN blocks replace some of the pure-convolution stack, buying about a point of mAP over YOLO11 at a similar size.

Download YOLO12 weights →

YOLOv5 (v5u)

The classic that made YOLO easy to ship, retrained anchor-free.

Released
2020 · Ultralytics
License
AGPL-3.0
Framework
Ultralytics (PyTorch)
Tasks
Detect, Segment, Classify

The anchor-free v5u retrain of the classic PyTorch YOLO, keeping its easy training and export while adopting the newer YOLOv8 detection head for better accuracy.

Download YOLOv5 (v5u) weights →

YOLO12 and YOLOv5 (v5u) against the whole lineage

YOLO12 and YOLOv5 (v5u) against every other detector here, on one shared scale. The rest are dimmed; hover any row to bring it back.

Every YOLO detector in this section, with release year, publisher, published COCO mAP50-95 range at 640px, parameter-count range and licence.
ModelReleasedmAP rangeParams rangeLicence
YOLO26202640.9 to 57.52.4M to 55.7MAGPL-3.0
YOLO12202540.6 to 55.22.6M to 59.1MAGPL-3.0
YOLO11202439.5 to 54.72.6M to 56.9MAGPL-3.0
YOLOv10202438.5 to 54.42.3M to 29.5MAGPL-3.0
YOLOv9202438.3 to 55.62.0M to 58.1MGPL-3.0
YOLOv8202337.3 to 53.93.2M to 68.2MAGPL-3.0
YOLOv5 (v5u)202034.3 to 53.22.6M to 97.2MAGPL-3.0