# SAM

- **Canonical URL:** https://getaimath.com/dictionary/sam/
- **Topics:** [AI Models & Model Families](https://getaimath.com/dictionary/category/ai-models-and-model-families/)
- **Last updated:** 2026-11-25

## What is SAM?

**In one sentence:** SAM, or Segment Anything Model, is Meta's model that can cut out any object in an image with a click or prompt.

It was trained on over a billion masks, so it can segment objects it never specifically learned about. Later versions also work on video.

![AI Model Families: Picking the Right Tool for the Job — Simple 4-card guide to AI model families: 1. The Writers & Thinkers (ChatGPT, Claude, Gemini, Llama, DeepSeek), 2. The Super Librarians (BERT, CLIP for search), 3. The Visual Artists (Flux, Stable Diffusion), and 4. The Pocket Models (Phi, Gemma on your phone).](https://getaimath.com/diagrams/ai-models-and-model-families.png)
*Napkin Diagram (AI Models & Model Families): Not all AI models are chatbots: some are built to write and code, some to search files, and some to paint pictures.*

## What is an example of SAM?

Clicking on a dog in a photo and having SAM instantly outline it.

## Why does SAM matter?

SAM made image segmentation easy and general-purpose.

## Related Concepts

- [DALL-E](https://getaimath.com/dictionary/dall-e/): DALL-E is OpenAI's family of text-to-image models.
- [CLIP](https://getaimath.com/dictionary/clip/): CLIP is an OpenAI model that learns to connect images and text, so it can tell how well a caption matches a picture.
- [Flux](https://getaimath.com/dictionary/flux/): Flux is a family of text-to-image models from Black Forest Labs, a company founded by researchers behind Stable Diffusion.
- [SigLIP](https://getaimath.com/dictionary/siglip/): SigLIP is a Google image-text model similar to CLIP but trained with a simpler, more efficient method.
- [Stable Diffusion](https://getaimath.com/dictionary/stable-diffusion/): Stable Diffusion is a popular open text-to-image model family that creates images from text prompts.
- [Jamba](https://getaimath.com/dictionary/jamba/): Jamba is AI21 Labs' family of models that mixes Transformer layers with Mamba layers and Mixture of Experts.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/sam/)
