Model weights · YOLOv8

Download YOLOv8 weights

The anchor-free model that made multi-task YOLO mainstream: one architecture for detection, segmentation, pose, classification and OBB, with the largest ecosystem. Pick a size below and download the official .pt checkpoint in one click, with published accuracy, parameters and license all in view.

AGPL-3.0Ultralytics · 2023 · Ultralytics (PyTorch)

YOLOv8 checkpoints, pick a size and download

The anchor-free model that made multi-task YOLO mainstream: one architecture for detection, segmentation, pose, classification and OBB, with the largest ecosystem.

ModelCOCO mAPParamsDownload
YOLOv8n
yolov8n.pt
37.33.2M
YOLOv8s
yolov8s.pt
44.911.2M
YOLOv8m
yolov8m.pt
50.225.9M
YOLOv8l
yolov8l.pt
52.943.7M
YOLOv8x
yolov8x.pt
53.968.2M

Scores are COCO mAP at 640px, published by the authors. Weights host: github.com. Clicking Download verifies the file and starts it straight from the official CDN.

How to load YOLOv8 weights

Install the Ultralytics package, then point the loader at the checkpoint. It downloads automatically on first use, or you can pass the local path to the file you downloaded above.

pip install ultralytics
from ultralytics import YOLO

# Downloads on first use, or pass a local path to your .pt file
model = YOLO("yolov8n.pt")
results = model("image.jpg")

About YOLOv8

YOLOv8 popularized anchor-free, multi-task YOLO across the industry. Its C2f backbone and decoupled head cover all five tasks, and years of tutorials, integrations and deployments make it the most widely referenced YOLO in the wild, even as YOLO11 and YOLO26 surpass it on accuracy-per-parameter. Its weights remain the most common starting point for transfer learning.

Author
Ultralytics
Released
2023
Tasks
Detect, Segment, Classify, Pose, OBB
Framework
Ultralytics (PyTorch)
Input size
640px
License
AGPL-3.0
Blog

From the blog

Tutorials, code, and notes on computer vision, deep learning, and applied AI.

Build a semantic image search engine with CLIP and Python
Semantic SearchJuly 6, 20267 min read

Build a semantic image search engine with CLIP and Python

Learn how to build a semantic image search engine that finds pictures by meaning. A few lines of Python turn a folder of images into a searchable index you can query in plain English.

YOLO26 vs YOLO11: Real-time ONNX FPS benchmark in Python
YOLO26July 3, 20269 min read

YOLO26 vs YOLO11: Real-time ONNX FPS benchmark in Python

Build one small, reusable class that runs Ultralytics YOLO26 and Ultralytics YOLO11 as ONNX models, draws clean detections, and overlays live FPS and latency so you can compare their real-time speed on the exact same footage.

Depth estimation from a single image with Depth Anything V2
Depth EstimationJuly 1, 20269 min read

Depth estimation from a single image with Depth Anything V2

Learn how to estimate depth from a single image, a video, or your webcam using Depth Anything V2 and a clean, reusable Python class.

Ultralytics object trackers comparison: ByteTrack, BoT-SORT & More
Object TrackingJune 27, 202613 min read

Ultralytics object trackers comparison: ByteTrack, BoT-SORT & More

How do the six Ultralytics trackers actually behave on the same footage? A look at BoT-SORT, ByteTrack, OC-SORT, Deep OC-SORT, FastTrack, and TrackTrack, their internals, trade-offs, and side-by-side results on ID switches, ID stability, and FPS.

How to extract text from images with LightOnOCR and Python
OCRJune 26, 20266 min read

How to extract text from images with LightOnOCR and Python

Learn how to read text from images using LightOnOCR, a small and fast vision language model, with a clean and reusable Python class.

Object tracking and trajectory forecasting with YOLO26 and ByteTrack
YOLO26June 25, 202610 min read

Object tracking and trajectory forecasting with YOLO26 and ByteTrack

Detect, track, and predict the future path of people and vehicles using Ultralytics YOLO26, ByteTrack, and a lightweight velocity-based forecasting model.

Real time bird detection and tracking using YOLO11
YOLO11June 24, 20265 min read

Real time bird detection and tracking using YOLO11

Learn how to detect and track birds using Ultralytics YOLO11 for real-time monitoring and ecological research through computer vision.

How to count people in zones with YOLO26 and OpenCV
YOLO26June 23, 202613 min read

How to count people in zones with YOLO26 and OpenCV

A practical walkthrough of a compact Python script that detects, tracks, and counts people inside polygon zones using Ultralytics YOLO26 and OpenCV.

Build a semantic image search engine with CLIP and Python
Semantic SearchJuly 6, 20267 min read

Build a semantic image search engine with CLIP and Python

Learn how to build a semantic image search engine that finds pictures by meaning. A few lines of Python turn a folder of images into a searchable index you can query in plain English.

YOLO26 vs YOLO11: Real-time ONNX FPS benchmark in Python
YOLO26July 3, 20269 min read

YOLO26 vs YOLO11: Real-time ONNX FPS benchmark in Python

Build one small, reusable class that runs Ultralytics YOLO26 and Ultralytics YOLO11 as ONNX models, draws clean detections, and overlays live FPS and latency so you can compare their real-time speed on the exact same footage.

Depth estimation from a single image with Depth Anything V2
Depth EstimationJuly 1, 20269 min read

Depth estimation from a single image with Depth Anything V2

Learn how to estimate depth from a single image, a video, or your webcam using Depth Anything V2 and a clean, reusable Python class.

Ultralytics object trackers comparison: ByteTrack, BoT-SORT & More
Object TrackingJune 27, 202613 min read

Ultralytics object trackers comparison: ByteTrack, BoT-SORT & More

How do the six Ultralytics trackers actually behave on the same footage? A look at BoT-SORT, ByteTrack, OC-SORT, Deep OC-SORT, FastTrack, and TrackTrack, their internals, trade-offs, and side-by-side results on ID switches, ID stability, and FPS.

How to extract text from images with LightOnOCR and Python
OCRJune 26, 20266 min read

How to extract text from images with LightOnOCR and Python

Learn how to read text from images using LightOnOCR, a small and fast vision language model, with a clean and reusable Python class.

Object tracking and trajectory forecasting with YOLO26 and ByteTrack
YOLO26June 25, 202610 min read

Object tracking and trajectory forecasting with YOLO26 and ByteTrack

Detect, track, and predict the future path of people and vehicles using Ultralytics YOLO26, ByteTrack, and a lightweight velocity-based forecasting model.

Real time bird detection and tracking using YOLO11
YOLO11June 24, 20265 min read

Real time bird detection and tracking using YOLO11

Learn how to detect and track birds using Ultralytics YOLO11 for real-time monitoring and ecological research through computer vision.

How to count people in zones with YOLO26 and OpenCV
YOLO26June 23, 202613 min read

How to count people in zones with YOLO26 and OpenCV

A practical walkthrough of a compact Python script that detects, tracks, and counts people inside polygon zones using Ultralytics YOLO26 and OpenCV.

Frequently asked questions

How do I download YOLOv8 weights?
Click the Download button next to any variant in the table above; we verify the file and start it straight from the official CDN. You can also let the loader fetch it automatically on first use with `model = YOLO("yolov8n.pt")`. All 5 YOLOv8 checkpoints are hosted officially.
Is YOLOv8 free for commercial use?
YOLOv8 is released under AGPL-3.0. That is free for open-source and research; closed-source commercial deployments need an Ultralytics Enterprise license. Always confirm against the linked license text.
Which YOLOv8 model size should I use?
Start with YOLOv8n, the smallest and fastest, ideal for prototyping, edge and CPU. Move up the ladder only when you need more accuracy and have the compute for it. The largest variant reaches 53.9 COCO mAP.