Segment Anything Model 2 (SAM 2) vs YOLOE
Compare Segment Anything Model 2 (SAM 2) and YOLOE side-by-side.
Compare Segment Anything Model 2 (SAM 2) vs YOLOE 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
Segment Anything Model 2 (SAM 2) vs YOLOE Comparison Table
Evals updated August 6, 2026Pricing updated August 7, 2026
| Property | Segment Anything Model 2 (SAM 2) | YOLOE |
|---|---|---|
| Organization | Meta | THU-MIG |
| Category | open | open |
| Modality | vision | vision |
| Release Date | Jul 2024 | Mar 2025 |
| Context Window | — | — |
| Parameters | 38.9M-224.4M | 10M-50M |
| License | Apache 2.0 | AGPL 3.0 |
| Vision Tasks | ||
| Instance Segmentation | ||
| Object Detection | ||
| Open Vocabulary Object Detection | ||
| Model Features | ||
| Real-Time Vision | ||
| Zero-shot Detection | ||
Segment Anything Model 2 (SAM 2) vs YOLOE: Overview
SAM 2 is a real-time image and video segmentation model developed by Meta AI, released in July 2024 under the Apache 2.0 license. It extends the original Segment Anything Model to support video inputs by introducing a streaming memory architecture that maintains object state across frames, enabling consistent segmentation of objects through occlusion, motion, and scene changes. For image inputs, SAM 2 operates similarly to its predecessor with improved mask quality and speed.
SAM 2 accepts point, box, and mask prompts and produces object masks interactively or in a fully automated mode. Its memory architecture enables video segmentation at real-time speeds. SAM 2 is used in annotation pipelines, video analysis, robotic perception, and any application requiring high-quality promptable segmentation across both images and video.
YOLOE (YOLO with Everything) is an open-vocabulary object detection and segmentation model developed by THU-MIG at Tsinghua University, released in March 2025 under the AGPL-3.0 license. It extends the YOLO architecture to support open-vocabulary detection through text and visual prompts, enabling the model to detect arbitrary object categories beyond a fixed training set without retraining. The design integrates prompt encoding directly into the YOLO framework while preserving real-time inference speed.
YOLOE is evaluated on COCO and LVIS benchmarks and supports both closed-set and open-vocabulary detection modes. It is built on the Ultralytics codebase and maintains compatibility with standard YOLO training and export workflows. YOLOE is suited for applications requiring flexible, prompt-driven object detection where the target object vocabulary may change at inference time.