Skip to content

VersusGPU

SAM 2 vs SAM 3: Which Segment Anything Model Should You Run Locally?

SAM 3 adds text-prompted segmentation of every matching object, but SAM 2.1 is smaller, comes in four sizes and has a simpler licence. We compare prompts, size, Meta's speed and accuracy figures, hardware needs and licences to help you pick the right Segment Anything model.

By , Senior Hardware Editor

5 min read

SAM 2 vs SAM 3: Which Segment Anything Model Should You Run Locally?
ASUS RTX 5060 Ti 16GB Dual OC compared with NVIDIA GeForce RTX 5090 Founders Edition
ASUS RTX 5060 Ti 16GB Dual OCNVIDIA GeForce RTX 5090 Founders Edition
1080p average164fps262fps
1440p average122fps215fps
4K average61fps137fps
GPU Chip ManufacturerNVIDIANVIDIA
GPU SeriesRTX 5000—
ArchitectureNVIDIA AmpereBlackwell
VRAM Capacity (GB)1632
VRAM TypeGDDR6GDDR7
Base ClockBase Clock Not Specified2.01GHz
Boost ClockBoost Clock Not Specified2.41GHz
CUDA / Stream Processor Count021760
Ray Tracing SupportYesYes
AI / Tensor SupportYesYes
PCIe Interface VersionPCIe 4.0 x16—
Typical Board Power (W)0575
Recommended PSU Wattage (W)01000
Minimum PSU Wattage (W)0—

Estimated average frame rate across 10 games, paired with a top-tier processor. These are estimates from our benchmark dataset, not measurements of these exact units. Try other pairings

Meta's Segment Anything models are the go-to open models for cutting objects out of photos and tracking them through video. SAM 2 arrived in 2024 and was updated to SAM 2.1 that September; SAM 3 followed in November 2025, with SAM 3.1 checkpoints in March 2026. SAM 3 is the more capable model, but SAM 2.1 is smaller, comes in four sizes, has a standard open-source licence and doesn't require an access request. This comparison uses Meta's GitHub repositories, model cards and release notes. The figures quoted are Meta's own.

The short version

SAM 2.1

SAM 3 (and 3.1)

Released

July 2024 (SAM 2); 2.1 checkpoints 29 September 2024

November 2025; 3.1 checkpoints 27 March 2026

Size

Four checkpoints: 38.9M, 46M, 80.8M and 224.4M parameters

One model, 848M parameters

Prompts

Clicks, boxes and masks, one object at a time

Text phrases and example boxes for every matching object, plus clicks, boxes and masks

Video tracking

Yes, with streaming memory

Yes, tracker inherited from SAM 2; 3.1 adds Object Multiplex

Python / PyTorch

Python 3.10+, PyTorch 2.5.1+

Python 3.12+, PyTorch 2.7+, CUDA 12.6+

Weights

Direct download

Gated on Hugging Face, manual approval

Licence

Apache 2.0 (BSD-3-Clause for one bundled component)

Meta's custom SAM License

The big difference: text prompts

SAM 2 is a promptable model: you click a point, draw a box or supply a rough mask, and it segments that one object, then tracks it through a video. That's ideal when you know exactly which object you want, for example to cut a person out of a clip or mask a product in a photo.

SAM 3 adds what Meta calls promptable concept segmentation. Type a short phrase and it returns a mask for every instance of that concept in the image or video, each with its own ID. You can also draw a box around one example and ask it to find similar objects. Meta says SAM 3 reaches 75-80% of human performance on its SA-Co benchmark of 270,000 unique concepts, and it keeps the click, box and mask prompting of SAM 2.

If you're labelling a dataset, counting objects or applying an effect to "every car" in a video, SAM 3 saves a lot of clicking. If you only ever segment one thing you've pointed at, SAM 2.1 does the job.

Size and speed

SAM 2.1 comes in four sizes, which is useful on modest hardware. Meta's own measurements on an Nvidia A100 data-centre GPU (PyTorch 2.5.1, CUDA 12.4) are:

SAM 2.1 checkpoint

Parameters

Meta's speed on A100

Tiny

38.9M

91.2 FPS

Small

46M

84.8 FPS

Base Plus

80.8M

64.1 FPS

Large

224.4M

39.5 FPS

SAM 3 is a single 848M-parameter model, almost four times the size of SAM 2.1 Large, so expect it to be slower and to need more VRAM on the same card. Meta doesn't publish a like-for-like FPS figure. Ultralytics' documentation cites 30ms per image with more than 100 detected objects on an H200 GPU. Neither figure reflects a home graphics card, so treat them as relative guides only.

For video with many objects, SAM 3.1's Object Multiplex groups objects and processes them together. Meta reports a roughly 7x speed-up when tracking 128 objects on a single H100 compared with the original SAM 3 release.

Accuracy

On the SA-V video object segmentation test set, Meta's published J&F score is 79.5 for SAM 2.1 Large, 84.4 for SAM 3 and 85.1 for SAM 3.1. These come from Meta's own repositories and release notes, so they are developer figures. SAM 2 can't be scored on SAM 3's text-prompt benchmarks at all, because it doesn't accept text.

Hardware and installation

Both models are built for Nvidia GPUs. SAM 3's README lists a CUDA-compatible GPU with CUDA 12.6 or newer, Python 3.12 and PyTorch 2.7. SAM 2's requirements are older and looser (Python 3.10, PyTorch 2.5.1), and Meta says the optional custom CUDA extension can fail to build without affecting results in most cases. On Windows, the SAM 2 README strongly recommends WSL with Ubuntu, and we'd use the same approach for SAM 3. Our guide to WSL2 for GPU-accelerated local AI covers the setup.

Neither repository gives a minimum VRAM figure. SAM 2.1's Tiny and Small checkpoints are under 50M parameters each, so they're much lighter to run. For SAM 3, especially on video, we'd want a 16GB card such as the ASUS RTX 5060 Ti 16GB Dual OC, and serious video or dataset work benefits from something like the Nvidia GeForce RTX 5090 Founders Edition. These are our suggestions, not Meta's requirements. See our pick of the best 16GB graphics cards for local AI for more options.

The other practical difference is access. SAM 2.1 checkpoints download directly from links in Meta's repository. SAM 3 and SAM 3.1 weights are gated on Hugging Face: you request access, agree to share your Hugging Face account information with Meta and wait for manual approval. Our guide on how to run SAM 3 locally walks through the process.

Licences

SAM 2 is released under the Apache 2.0 licence, with a BSD-3-Clause licence for one bundled component. Both are familiar and permissive. SAM 3 uses Meta's custom SAM License, which grants a royalty-free right to use, modify and redistribute the model, with conditions such as trade-control compliance and passing the licence on when you share it. Hobbyists won't notice much difference, but businesses should have the SAM License reviewed before building on SAM 3.

Which should you choose?

Choose SAM 3 (with the 3.1 checkpoints) if:

  • You want to segment by typing what you're looking for

  • You need every instance of an object, not just one

  • You track lots of objects in video and have a recent Nvidia GPU

Choose SAM 2.1 if:

  • You only need click- or box-based segmentation of individual objects

  • You want a small, fast model for an older or entry-level GPU

  • You need a standard Apache 2.0 licence or want to avoid the gated download

You don't have to commit to one: tools such as the Ultralytics Python package and the X-AnyLabeling desktop app support both SAM 2 and SAM 3, so you can try each on your own images.

The bottom line

SAM 3 is the more capable model: it can segment and track every object matching a text phrase or example box, and Meta's figures show it ahead of SAM 2.1 on video segmentation. SAM 2.1 is still worth using when you only need click-based masks, want a smaller model for modest hardware, or prefer Apache 2.0 licensing with no access request. If you have a recent 16GB Nvidia card and want the newest features, start with SAM 3.1.

Sources

  1. 01Meta, SAM 2 GitHub repository and README
  2. 02Meta, SAM 2.1 Hiera Large model card on Hugging Face
  3. 03Meta, SAM 3 GitHub repository and README
  4. 04Meta, SAM 3 model card on Hugging Face
  5. 05Meta, SAM 3.1 release notes
  6. 06Meta, SAM 3 project page
  7. 07Meta, SAM License
  8. 08Ultralytics, SAM 3 documentation

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

Best Tools for Running Segment Anything Locally in 2026

Best Picks

Best Tools for Running Segment Anything Locally in 2026

You don't need to write your own code to use Meta's Segment Anything models on your PC. We pick the best free tools for running SAM 2, SAM 3 and SAM 3.1 locally, from Meta's own repository and Ultralytics to the X-AnyLabeling desktop app, ComfyUI nodes and Label Studio.

Hannah Vance5 min

How to Run Meta's SAM 3 Locally on Your Own GPU

How-To

How to Run Meta's SAM 3 Locally on Your Own GPU

Meta's SAM 3 can find, cut out and track every object matching a short text phrase in your photos and videos. Using Meta's official GitHub instructions and model card, we show how to get access to the weights, install it on an Nvidia GPU and run your first image and video prompts.

Marcus Thorne5 min

How to Use Special K: Frame Limiter, HDR Retrofit and More

How-To

How to Use Special K: Frame Limiter, HDR Retrofit and More

Special K is a free, open-source tool that adds a frame limiter, HDR retrofit, better borderless windows and NVIDIA Reflex to PC games. We explain how to install it, launch games through SKIF, use the frame limiter and HDR calibration, and avoid anti-cheat and compatibility problems, using the official wiki.

Marcus Thorne6 min