Model guide · updated for SAM 3.1
Meta SAM Models: The Complete Segment Anything Family SAM 1, SAM 2, SAM 3, SAM 3.1, SAM 3D and SAM Audio: what each one does, how they differ, and which one fits your project.
At a glance
The SAM Family in Six Points
Latest: SAM 3.1 (27 March 2026) is the newest image and video model. It’s a drop-in update to SAM 3.
Overview
What Is the Meta SAM Model?
Segment Anything is a family of open models from Meta that cut out objects from simple prompts. Instead of training a new model for each task, you reuse one general model and tell it what you want.
- Promptable: point, draw a box, or (since SAM 3) type a short phrase. No retraining.
- Zero-shot: works on objects it never saw labelled, across photos, video, microscopy, satellite images and more.
- Pixel-accurate: returns masks that follow object edges, not just boxes.
- Open: code and weights for every model are public, under Apache 2.0 or the SAM License.
- Growing: the family now covers 3D and audio as well as images and video.
Comparison
All SAM Models Compared
| Model | Released | Works on | Prompts | Output | Licence |
|---|---|---|---|---|---|
| SAM 1 | Apr 2023 | Images | Clicks, boxes, masks | Masks for the object you point at | Apache 2.0 |
| SAM 2 / 2.1 | Jul / Sep 2024 | Images + video | Clicks, boxes, masks | Masks tracked through video (masklets) | Apache 2.0 |
| SAM 3 | Nov 2025 | Images + video | Text, example boxes, clicks | Every matching object, with IDs; plus click masks | SAM License |
| SAM 3.1 | Mar 2026 | Images + video | Same as SAM 3 | Same, about 2× faster with many objects | SAM License |
| SAM 3D | Nov 2025 | Single images | A selected object or person | 3D shape, texture and pose | SAM License |
| SAM Audio | Dec 2025 | Audio + video | Text, clicks on video, time spans | The isolated sound | See its repository |
Side-by-side guides: SAM 3 vs SAM 2 · SAM 3 vs SAM 3.1 · all comparisons
Evolution
How Each Generation Improves on the Last
Each model keeps what came before and adds one big ability.
- 1SAM 1 → SAM 2: videoA memory lets SAM 2 follow the object you clicked through a whole clip, and it’s 6× faster than SAM 1 on images.
- 2SAM 2 → SAM 3: conceptsType “yellow taxi” or box one example, and SAM 3 finds, masks and tracks every match. It also beats SAM 2 on click-based tasks.
- 3SAM 3 → SAM 3.1: speedObject Multiplex tracks up to 16 objects in one pass, roughly doubling video throughput.
- 4SAM 3 → SAM 3D: depthTurn a selected object or person in one photo into a 3D model.
Each model
Meet Each Model
SAM 1
The original. Click or box an object in a photo and get a precise mask.
- SA-1B: 11M images, 1.1B masks
- ViT-B, ViT-L and ViT-H sizes
- Up to 3 mask guesses for unclear clicks
SAM 2 and 2.1
Adds streaming memory so a clicked object is tracked through video, about 44 frames per second.
- SA-V video dataset
- Hiera tiny to large sizes
- Apache 2.0 code and weights
SAM 3
Finds every object matching a short phrase or example, in images and video, with one 848M-parameter model.
- Detector and tracker share one encoder
- About 2× prior systems on SA-Co
- Text, example and click prompts
SAM 3.1
A drop-in SAM 3 update. Object Multiplex tracks up to 16 objects in a single shared pass.
- 16 → 32 FPS on one H100 (medium object counts)
- Same prompts and code
- Accuracy level with or above SAM 3
SAM 3D
Rebuilds objects and people in 3D from a single natural photo.
- SAM 3D Objects: shape, texture, layout
- SAM 3D Body: body shape and pose with Meta’s Momentum Human Rig
- Powers View in Room on Marketplace
SAM Audio
Segment Anything for sound: isolate a voice, instrument or noise from a mix.
- Text, visual and time-span prompts
- Works on audio and video
- Code and weights public
Under the hood
How the SAM Models Work
All SAM models share one core design. Each generation bolts on a new part instead of starting over.
- Image encoder: reads the image once and turns it into features that every prompt can reuse.
- Prompt encoder and mask decoder: turn your click or box into a mask in a fraction of a second.
- Memory (SAM 2): stores what the object looked like in earlier frames, so it can be followed through video.
- Concepts (SAM 3): a text and example encoder plus a detector find every match, and a presence check avoids false hits.
- 3D (SAM 3D): generative models predict full 3D shape from the selected region.
Details: segmentation guide · prompts
Training data
The Datasets Behind the Models
Scale is what makes SAM general. Meta built each dataset with a “data engine” where the model and human annotators label data together.
- SA-1B (SAM 1): 11 million licensed images and 1.1 billion masks, 99.1% generated automatically.
- SA-V (SAM 2): about 51,000 videos from 47 countries with over 600,000 masklets.
- SA-Co (SAM 3): training data with over 4 million unique concept phrases, plus a public benchmark with 270K concepts.
- SAM 3D: large image and 3D datasets, and a new SAM 3D Artist Objects benchmark built with artists.
More: SA-Co benchmark
Beyond vision
SAM Audio: Segment Anything for Sound
In December 2025 Meta extended the Segment Anything idea to sound.
- Text prompts: type “guitar” or “dog barking” to isolate or remove that sound.
- Visual prompts: click a person or instrument in a video to get just its sound.
- Time-span prompts: mark a moment where a sound occurs, and SAM Audio finds it throughout the file.
- Try it in the Segment Anything Playground, or download it from GitHub.
Choosing
Which SAM Model Should You Use?
Start from what you need to produce, not from the newest name.
Hardware: system requirements
Try them
How to Try the SAM Models
Three routes, from no code to full control.
facebookresearch/segment-anything, sam2, sam3, sam-3d-objects, sam-3d-body and sam-audio.
HostedAPIs and platformsServices such as Roboflow and fal run SAM models on their GPUs, with web tools and REST APIs.
Setup: install SAM 3 · Hugging Face access · pricing
Licensing
Licences and Commercial Use
Apache 2.0
- SAM 1 and SAM 2 / 2.1: code and weights.
- Permissive: commercial use, changes and redistribution, keeping the notices.
- The SA-V dataset uses CC BY 4.0.
SAM License
- SAM 3, SAM 3.1 and SAM 3D.
- Royalty-free, and commercial use is allowed.
- Restrictions: pass the licence on when you share, and no military, weapons, espionage or sanctioned uses.
- Read the full text before shipping. Plain-English summary: terms (not legal advice).
Questions
SAM Models FAQ
What is the Meta SAM model?
SAM (Segment Anything Model) is a family of open models from Meta that cut out objects in images and video from simple prompts: clicks, boxes, masks, and since SAM 3, short text phrases and example boxes. The family now also covers 3D (SAM 3D) and sound (SAM Audio).
Which SAM model is the latest?
For 2D segmentation, SAM 3.1, released on 27 March 2026. It is a faster update to SAM 3 for video with many objects. SAM 3D (November 2025) and SAM Audio (December 2025) extend the family to 3D and sound.
What is the difference between SAM 2 and SAM 3?
SAM 2 segments and tracks objects you point at with clicks, boxes or masks. SAM 3 can also find every object that matches a text phrase or example box, such as “yellow taxis”, and it scores higher than SAM 2 on click-based tasks too.
Is SAM 3 free for commercial use?
SAM 3, SAM 3.1 and SAM 3D use the SAM License, which is royalty-free and allows commercial use, with restrictions such as no military or weapons use. SAM 1 and SAM 2 use the Apache 2.0 licence.
Which SAM model should I use?
SAM 3.1 for text prompts or many objects, SAM 2.1 for lightweight click-based tracking under Apache 2.0, SAM 3D for 3D models from one photo, and SAM Audio for isolating sounds. SAM 1 is mainly for older pipelines.
Where can I try the SAM models?
In Meta’s free Segment Anything Playground in your browser, through the official GitHub and Hugging Face releases, or through hosted APIs.