Skip to content
ModelsThatRun

YOLOv8

Ultralytics' 2023 YOLO, five sizes from n to x on COCO's 80 classes, AGPL-3.0 or a paid Enterprise license.

Size

Conditional for size n: code AGPL-3.0-only, weights AGPL-3.0-only. Measured on our RTX 4090: 11.6 ms median, 514 MiB VRAM peak. We scored it 37.0 box AP on COCO val2017. PyTorch weights, 6 MB.

License

Conditional

Code
AGPL-3.0-onlychecked 3 Nov 2026
Weights
AGPL-3.0-onlyall sizes, checked 3 Nov 2026

AGPL-3.0: shipping it in a product means releasing your source, unless you buy an Ultralytics Enterprise license.

On our RTX 4090, measured

11.6ms median

p90 11.9 ms, fp16, batch 1, 640x448

VRAM peak
514 MiB
Status
Runs as is
Environment, 3 Nov 2026

NVIDIA GeForce RTX 4090, driver 580.173.02, CUDA 13.0, torch 2.14.1+cu130, Python 3.12.9, ultralytics==8.4.189. Baseline 801 MiB. 10 warm-up + 100 timed. Scope: predict(): pre-processing, forward pass and post-processing; input file decoded beforehand.

Accuracy

37.0box APmeasured

COCO val2017, box AP, 5,000 images, fp16, pycocotools==2.0.11 · 2 Nov 2026

Paper 37.3 COCO mAP50-95Ultralytics YOLOv8 docs, detection performance table (mAPval 50-95, docs/en/models/yolov8.md at commit 4fb6485b)

Weights

PyTorch

Size
6 MB
sha256
f59b3d833e2f…c83b36
Download n weights

Same photos and one score threshold for every model of this task. Failures are marked.

Sizes

SizeLatencyVRAMAccuracyWeightsRunsLicense
n11.6 ms640x448514 MiB37.0 box AP, measured37.3 COCO mAP50-95 paper6 MBAs isConditional
s11.9 ms640x448582 MiB44.6 box AP, measured44.9 COCO mAP50-95 paper22 MBAs isConditional
m13.1 ms640x448710 MiB49.8 box AP, measured50.2 COCO mAP50-95 paper50 MBAs isConditional
l12.6 ms640x448846 MiB52.4 box AP, measured52.9 COCO mAP50-95 paper84 MBAs isConditional
x12.9 ms640x4481.0 GiB53.4 box AP, measured53.9 COCO mAP50-95 paper131 MBAs isConditional

From the authors

Where to read their own account of it.

Alternatives

Model output
Input test photo
⇆
InputOutput