Meta SAM 3 Playground

Comparison · 8 models · 5 identical tasks

Segment Anything Alternatives, Compared on the Same Tasks Eight options, from SAM 3.1 to YOLOE-26, Florence-2, Gemini and EdgeTAM, judged on the same five jobs. Here’s which one fits each.

8 models × 5 tasks
Animated scorecard of eight segmentation models on five tasksA grid with eight models as rows and five sample tasks as columns fills in column by column. Bright green means strong, green means works, amber means a workaround, dark means not suited. No single model is strong at everything. cut-outfind alltrackphonedescribeSAM 3.1SAM 2.1G-SAM 2YOLOE-26Florence-2GeminiEdgeTAMMobileSAM strongworksworkaroundnot suited
Illustration: no single model is strong at every task.

Method

The Five Sample Tasks

Every option is judged against the same jobs, so you can compare like with like.

  1. 1Click cut-outClick a mug on a desk photo and export a clean cut-out.
  2. 2Find every hard hatMask every hard hat on a building-site photo from a text prompt.
  3. 3Track players in videoFollow every player through a 30-second clip with stable IDs.
  4. 4Run live on a phoneSegment or track on the device itself, without a server.
  5. 5Describe one objectMask “the person holding the red umbrella” and nobody else.

Ratings come from each model’s published capabilities, benchmarks and documentation, not from timed runs on our own hardware. Always test your top two picks on your own images.

The eight options

SAM 3.1

Meta’s current model: clicks, text and example prompts, every match tracked with IDs. The baseline for this page.

SAM License

SAM 2.1

Click, box or mask prompts for images and video, in four sizes from 38.9M to 224.4M parameters.

Apache 2.0

Grounded SAM 2

A pipeline: Grounding DINO (or DINO-X / Florence-2) finds boxes from text, SAM 2 masks and tracks them.

Apache 2.0 *

YOLOE-26

Ultralytics’ real-time open-vocabulary segmenter: text, visual and prompt-free modes in five sizes (n–x).

AGPL-3.0 / Enterprise

Florence-2

Microsoft’s 0.23B / 0.77B vision-language model; segmentation is one of many tasks, via phrase and referring prompts.

MIT

Gemini API

Google’s multimodal models can return a box, label and probability-map mask for objects you describe.

Paid API

EdgeTAM

Meta’s on-device take on SAM 2 for video: 16 FPS on an iPhone 15 Pro Max.

Open source

MobileSAM / EfficientSAM

Lightweight SAM 1-style models for fast click and box prompts on small GPUs and devices.

Open source

* Grounding DINO and SAM 2 are Apache 2.0; the stronger Grounding DINO 1.5/1.6 and DINO-X detectors need an API token. Also see SAM 2, SAM 3 and SAM 3.1.

Scorecard

Results Across All Five Tasks

Three green dots means the model is built for the task; one amber dot means it needs a workaround.

ModelClick cut-outFind every hard hatTrack players in videoRun live on a phone“The person with the red umbrella”
SAM 3.1StrongStrongStrongNot suitedWorks
SAM 2.1StrongNot suitedWorksWorkaroundNot suited
Grounded SAM 2StrongWorksWorksNot suitedWorkaround
YOLOE-26WorkaroundWorksWorksStrongWorkaround
Florence-2WorkaroundWorkaroundNot suitedWorkaroundWorks
Gemini APINot suitedWorksNot suitedNot suitedStrong
EdgeTAMWorksNot suitedWorksStrongNot suited
MobileSAM / EfficientSAMWorksNot suitedNot suitedStrongNot suited
StrongWorksWorkaroundNot suited

Task 1

Click Cut-out: Click a Mug, Export It

The classic Segment Anything job. Most SAM-family models do it well; language models don’t take clicks.

task 1 · click cut-out
Animation of a click cut-outA desk scene with a mug, a laptop and a plant. A click lands on the mug, its outline is traced and the mug is filled with a mask, then lifted out onto a transparent checkerboard. 1 click → 1 maskcut-out (PNG)
Illustration of a click-to-mask cut-out.
  • StrongSAM 3.1 / SAM 2.1: click, refine with more clicks, sharp masks. SAM 3 beats SAM 2 on Meta’s interactive benchmark.
  • StrongGrounded SAM 2: uses SAM 2 underneath, so clicks work the same.
  • WorksMobileSAM / EfficientSAM: same click flow, much smaller; slightly softer edges (MobileSAM ~12 ms per image on a GPU).
  • WorksEdgeTAM: SAM 2-style prompts on a phone, a little less accurate.
  • WorkaroundYOLOE-26 / Florence-2: box-style visual or region prompts, not click-and-refine.
  • Not suitedGemini API: text only; no click input.

Need ultra-clean hair or wire edges? HQ-SAM adds a high-quality output token to SAM for finer boundaries.

Task 2

Find Every Hard Hat

Type one class name, get a mask for each instance. This is where alternatives split most.

task 2 · find all
Animation of finding every hard hatA building site with four workers. First a detector draws a box around each hard hat, then each hat is filled with its own mask and numbered one to four. A note says single-model tools do both steps at once; pipelines use a detector then a segmenter. 1234 prompt › “hard hat” boxes→ 4 masks pipelines: detector → segmenter · SAM 3 / YOLOE: one model
Illustration of text-prompted instance segmentation.
  • StrongSAM 3.1: one model, one prompt; every hat gets a mask, box and score.
  • WorksYOLOE-26: very fast with text prompts (YOLOE-26x: 40.6 AP on LVIS minival); masks less detailed than SAM 3.
  • WorksGrounded SAM 2: detector boxes → SAM 2 masks; two models to install and tune.
  • WorksGemini API: returns masks for described objects; slower, paid per call, coarser edges.
  • WorkaroundFlorence-2: phrase segmentation returns polygons; may merge or miss instances.
  • Not suitedSAM 2.1 / EdgeTAM / MobileSAM: no text prompts; add a detector first.

Task 3

Track Players Through a 30-second Clip

Keeping the same ID through crossings and occlusion needs real video memory.

task 3 · video tracking
Animation of tracking players through videoThree players move across a pitch. Each keeps the same coloured mask and ID number as they cross paths, showing identity being held over time. 123 same ID through crossings and occlusionframe 1 → frame 720 (30 s @ 24 FPS)
Illustration of multi-object tracking with stable IDs.
  • StrongSAM 3.1: “player” finds and tracks everyone; Object Multiplex handles up to 16 per pass (SA-V J&F 85.1).
  • WorksSAM 2.1: strong memory tracker, but you click each player first.
  • WorksGrounded SAM 2: text in, SAM 2 tracking out; its continuous-ID mode is still marked as not fully stable.
  • WorksEdgeTAM: click each player; runs on the phone (SA-V test J&F 71.7).
  • WorksYOLOE-26: per-frame masks plus a tracker; fast, but IDs can swap in crowds.
  • Not suitedFlorence-2 / Gemini / MobileSAM: image models; no video memory.

More: video segmentation guide

Task 4

Run Live on a Phone

SAM 3 is a server model. On-device work needs a model built for it.

task 4 · on device
Animated chart of video tracking speed on an iPhoneA phone outline next to two bars. EdgeTAM runs at 16 frames per second on an iPhone 15 Pro Max, while the smallest SAM 2 runs at about 1 frame per second on the same phone. iPhone 15 Pro Max · video tracking EdgeTAM16 FPS SAM 2 (smallest)≈1 FPS figures reported in the EdgeTAM paper
Speeds reported by the EdgeTAM authors.
  • StrongEdgeTAM: 16 FPS video tracking on an iPhone 15 Pro Max, versus about 1 FPS for the smallest SAM 2.
  • StrongYOLOE-26: real-time sizes (n, s) and exports to 19 edge and mobile runtimes.
  • StrongMobileSAM / EfficientSAM: under 10M (MobileSAM) or 25M (EfficientSAM-S) parameters for click and box prompts.
  • WorkaroundSAM 2.1 Tiny / Florence-2 base: possible on strong devices, slow on phones.
  • Not suitedSAM 3.1 / Grounded SAM 2 / Gemini: need a GPU server or cloud API.

Task 5

Mask “the Person Holding the Red Umbrella”

This needs language reasoning about relationships, not just a class name.

task 5 · described object
Animation of segmenting a described personA street with three people. The prompt reads “the person holding the red umbrella”. Only the middle person, who holds a red umbrella, gets a mask; the other two, one with a blue umbrella, are ignored. ✓ the right person✗ blue umbrella✗ no umbrella “the person holding the red umbrella” needs language reasoning, not just a class name
Illustration of referring-expression segmentation.
  • StrongGemini API: built for conversational segmentation of described objects; check masks, as output format can vary.
  • WorksFlorence-2: has a referring-expression segmentation task; small and MIT-licensed.
  • WorksSAM 3.1: strong on short phrases (“red umbrella”); for full sentences use SAM 3 Agent with a multimodal LLM.
  • WorkaroundGrounded SAM 2 / YOLOE-26: handle short phrases; long descriptions often pick the wrong person.
  • Not suitedSAM 2.1 / EdgeTAM / MobileSAM: no language input.

Tips: SAM 3 prompts guide

Size and speed

Model Size at a Glance

Smaller models are cheaper and faster to serve, but usually less accurate on hard scenes.

parameters
Animated chart of model sizes, log scaleParameter counts on a log scale: MobileSAM 9.66 million, EfficientSAM-S 25 million, SAM 2.1 Tiny 38.9 million, SAM 2.1 Large 224.4 million, Florence-2 base 230 million, Florence-2 large 770 million, and SAM 3 about 848 million. MobileSAM9.66MEfficientSAM-S25MSAM 2.1 Tiny38.9MSAM 2.1 Large224.4MFlorence-2 base230MFlorence-2 large770MSAM 3 / 3.1848M parameters · log scale · YOLOE-26 and Gemini not shown
Published parameter counts; log scale.
  • MobileSAM: 9.66M parameters, ~12 ms per image on a GPU, versus ~456 ms for the original SAM.
  • EfficientSAM-S: 25M parameters, about 47 images per second on an A100, 44.4 vs 46.5 COCO AP for SAM.
  • SAM 2.1: 38.9M–224.4M, 39.5–91.2 FPS on an A100.
  • Florence-2: 0.23B and 0.77B; runs on a single consumer GPU.
  • SAM 3 / 3.1: ~848M; ~30 ms per image on an H200, ~32 FPS video on an H100 (3.1).
  • YOLOE-26: five sizes, built on YOLO26’s NMS-free, edge-first design.

Details: all Meta SAM models · SAM 3 vs SAM 2

Licences and cost

Licences and Running Costs

ModelLicenceHow you payWatch out for
SAM 3.1SAM LicenseYour GPU, or a hosted APIUse restrictions; gated weights
SAM 2.1Apache 2.0Your GPUNo text prompts
Grounded SAM 2Apache 2.0 (base models)Your GPU; API token for DINO-X / GD 1.5+Two models to maintain
YOLOE-26AGPL-3.0 or EnterpriseFree if you open-source; paid licence otherwiseAGPL covers trained models too
Florence-2MITYour GPUCoarser masks
Gemini APIGoogle API termsPer token / per callImages leave your network; output can vary
EdgeTAM, MobileSAM, EfficientSAMOpen source (check each repo)Runs on deviceLower accuracy than server models

Not legal advice. SAM pricing on hosted platforms: pricing guide · SAM terms summary: terms

How to choose

Which Alternative Should You Use?

Answer two questions, then check licence and budget.

decision tree
Decision tree for choosing a segmentation modelFirst question: do you need text or described objects? If no, ask whether it must run on a device: yes leads to EdgeTAM or MobileSAM, no leads to SAM 2.1. If yes, ask whether the description is complex: no leads to SAM 3.1 or YOLOE-26, yes leads to Gemini or Florence-2. noyesyesnonoyes Need text or described objects?Must run on device?Complex description?EdgeTAM /MobileSAMSAM 2.1SAM 3.1 orYOLOE-26Gemini /Florence-2 then check licence and budget
Simplified guide; your data may change the answer.
  • Best all-rounder for text + video: SAM 3.1.
  • Clicks only, permissive licence: SAM 2.1.
  • Real-time on edge with text: YOLOE-26 (mind AGPL).
  • Phone video tracking: EdgeTAM.
  • Long descriptions, no GPU: Gemini API.
  • Small, MIT, multi-task: Florence-2.
  • Fixed classes (road, sky, car) on every pixel: a closed-set model such as Mask2Former or OneFormer, trained on your labels.

Try SAM 3 first: playground · Known gaps: limitations

Questions

Segment Anything Alternatives FAQ

What is the best alternative to Segment Anything?

It depends on the task. For text-prompted masks in one model, SAM 3 is still the strongest. For real-time edge use, YOLOE-26 or MobileSAM. For phones and video, EdgeTAM. For complex descriptions, Gemini or Florence-2. For an Apache-licensed text pipeline, Grounded SAM 2.

Is there a faster alternative to SAM?

Yes. MobileSAM runs a full SAM-style pipeline in about 12 ms per image on a GPU with under 10M parameters, EfficientSAM-S processes about 47 images per second on an A100, and EdgeTAM tracks video at 16 FPS on an iPhone 15 Pro Max.

Which alternative supports text prompts?

SAM 3 does natively. Grounded SAM 2 adds text through a Grounding DINO detector, YOLOE-26 accepts text, example and prompt-free modes, Florence-2 has phrase and referring-expression segmentation, and the Gemini API can return masks for described objects.

Can I use a Segment Anything alternative commercially?

Usually, but licences differ. SAM 2 and Florence-2 use permissive licences (Apache 2.0 and MIT), SAM 3 uses the SAM License, Ultralytics YOLOE is AGPL-3.0 unless you buy an Enterprise licence, and Gemini is a paid API under Google’s terms. Check each licence before shipping.

Which alternative works on a phone?

EdgeTAM is built for on-device video tracking at 16 FPS on an iPhone 15 Pro Max. MobileSAM and EfficientSAM are small image models, and YOLOE-26 exports to many mobile and edge runtimes.

Are these ratings from your own tests?

No. Ratings are based on each model’s published capabilities, benchmarks and documentation for the same five tasks. Test the top two options on your own images before choosing.

Keep reading