1.  [](/)
2.  [Models](/models)
3.  SAM 2.1 Hiera Large

Runs as a custom pluginSegmentationVerified 2026-11-05

# SAM 2.1 Hiera Large

facebook/sam2.1-hiera-large

SAM 2.1 Hiera Large is a image and video segmentation model (Apache-2.0). Can run on Mixpeek as a custom plugin.

Mixpeek does not run it today. It can run as a custom plugin: the weights load without remote code.

[Record as JSON](/models/sam2-1-hiera-large.json)

No demo for SAM 2.1 Hiera Large yet

A video, image, slideshow or playground goes here once we record one on our own data.

## What it is good and bad at

Best at

Highest-quality promptable masks in images and video, with memory-based tracking of an object across frames.

Worst at

GPU in practice for video; needs points or boxes (no text prompts).

Task

Segmentation

Input

Image, Video

Output

Masks, Scores, Tracks

Use cases

Segmentation, Object detection, Tracking

## Templates that use it

No template uses this model yet. [Browse templates](/templates).

## Input and output

### Input

Image

Resolution

1024x1024 (longest side resized)

Video

Frames

streamed frame by frame with a memory bank

Prompts

points (positive/negative), boxes, or a mask; no text

### Output

Masks

binary masks per prompt (3 candidates with IoU scores for ambiguous prompts)

Scores

predicted IoU

Tracks

object ids across video frames

## How Mixpeek wires it

Extractors

None today

Feature URIs

None today

Vector indexes

None

Retriever stages

None

Combines with

*   detector boxes (RT-DETR, D-FINE) -> SAM 2 box prompts -> masks -> masked crops -> SigLIP vectors
*   masks per frame -> tracks -> object documents spanning a time range

## How it runs

Status

Runs as a custom plugin Not served. Would run as a custom extractor plugin with transformers Sam2Model (safetensors, no remote code), prompted by boxes from a permissive detector.

Serve apps

None

Runtime

transformers Sam2Model + Sam2Processor (Sam2VideoModel for video)

Weights

safetensors, no remote code

Parameters

224 M

Size on disk

898 MB

Preprocessing

Resize longest side to 1024, pad, normalize ImageNet mean/std; prompts rescaled to the same frame.

Postprocessing

Upsample low-res mask logits, threshold at 0, pick the best mask by predicted IoU.

Serving

both

Hardware

Needs a GPU

### Scale to zero

Minimum replicas

0

Maximum replicas

1

Idle timeout

600 s

Memory

6 GB

CPUs

2

GPUs

1

Cold start, node warm

Not recorded

Cold start, new node

Not recorded

## Measured cost

Unmeasured

No committed measurement; plan row 3 measures it in the standalone image.

## Our evaluations

Unmeasured

We have not evaluated this model on our own data yet. Publisher results are in the sources below.

## Questions

What is SAM 2.1 Hiera Large best at?

Highest-quality promptable masks in images and video, with memory-based tracking of an object across frames.

What are the limits of SAM 2.1 Hiera Large?

GPU in practice for video; needs points or boxes (no text prompts).

Can SAM 2.1 Hiera Large be used commercially?

Yes. Apache-2.0 weights and code; no use restrictions.

How does SAM 2.1 Hiera Large run on Mixpeek?

Not served. Would run as a custom extractor plugin with transformers Sam2Model (safetensors, no remote code), prompted by boxes from a permissive detector.

## Identity

Catalog id

`sam2-1-hiera-large`

Family

sam2

Hub id

`facebook/sam2.1-hiera-large`

Variants

facebook/sam2-hiera-large (SAM 2.0)

License

Apache-2.0

Commercial use

AllowedApache-2.0 weights and code; no use restrictions.

Released

2024-09-24

Last verified

Verified 2026-11-05

Paper

[arxiv.org/abs/2408.00714](https://arxiv.org/abs/2408.00714)

Code

[github.com/facebookresearch/sam2](https://github.com/facebookresearch/sam2)

## References and formats

*   `hf://facebook/sam2.1-hiera-large@665f8e2ad61cf5f53d65644ff27c8ee525124610`

Format

File

Loads today

safetensors

model.safetensors

Yes

PyTorch .pt

sam2.1\_hiera\_large.pt

No

## Related models

*   [SAM 2.1 Hiera Tiny (small, base-plus)](/models/sam2-1-hiera-tiny)Segmentation
*   [EfficientSAM ViT-S](/models/efficientsam-vits)Segmentation
*   [MobileSAM](/models/mobilesam)Segmentation
*   [SAM 3 (Segment Anything with Concepts)](/models/sam3)Segmentation
*   [Ultralytics YOLO11 segment](/models/yolo11-segment)Segmentation
*   [Ultralytics YOLO26 segment](/models/yolo26-segment)Segmentation

## Sources

*   [huggingface.co/facebook/sam2.1-hiera-large](https://huggingface.co/facebook/sam2.1-hiera-large)
*   [arxiv.org/abs/2408.00714](https://arxiv.org/abs/2408.00714)
*   [github.com/facebookresearch/sam2](https://github.com/facebookresearch/sam2)
*   [huggingface.co/docs/transformers/model\_doc/sam2](https://huggingface.co/docs/transformers/model_doc/sam2)