Roboflow

SAM 3 vs YOLOv8

Compare SAM 3 and YOLOv8 side-by-side.

Compare SAM 3 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

SAM 3 vs YOLOv8 Comparison Table

Evals updated October 13, 2026Pricing updated October 16, 2026

PropertySAM 3YOLOv8
OrganizationMetaUltralytics
Categoryopenopen
Modalitymultimodalvision
Release DateNov 2025Jan 2023
Context Window——
ParametersUnknown3.2M-68.2M
LicenseCustomAGPL 3.0
Commercial useSee license termscommercial use needs a license (included on Roboflow cloud)
Model Sizes input resolution per size variant
NanoNot available1280×1280, 640×640
SmallNot available1280×1280, 640×640
MediumNot available1280×1280, 640×640
LargeNot available1280×1280, 640×640
XLNot available1280×1280, 640×640
Vision Tasks
Object DetectionDemoDemo (COCO)
Instance SegmentationSupportedNot listed
Open Vocabulary Object DetectionSupportedNot listed
Promptable Concept SegmentationDemoNot listed
Video Object TrackingSupportedNot listed
Zero Shot SegmentationSupportedNot listed
Model Features
Foundation VisionSupportedNot listed
Multimodal VisionSupportedNot listed
Real-Time VisionNot listedSupported
Zero-shot DetectionSupportedNot listed

SAM 3 vs YOLOv8: Overview

SAM 3

Released on November 19th, 2025, Segment Anything 3 (SAM 3) is a zero-shot image segmentation model that “detects, segments, and tracks objects in images and videos based on concept prompts.” This model was developed by Meta as the third model in the Segment Anything series.

Unlike its previous SAM models (Segment Anything and Segment Anything 2), you can provide SAM 3 with the prompt “shipping container” and it will generate precise segmentation masks for all shipping containers in an image. SAM 3 generates segmentation masks that correspond to the location of the objects found with a text prompt.

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.