# DINOv3 vs Segment Anything (SAM 3.1)

> DINOv3 scores 41.7 (E) to Segment Anything's 34.7 (F) for vision detect. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything
- Markdown: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.md (~2,850 tokens)
- Slim: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-12-01

DINOv3 scores 41.7 (E) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep. Both do vision detect.

- DINOv3: grade E, 41.7/100, rank #179 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/dinov3.md · JSON https://www.anchorterminal.com/api/v1/tools/dinov3.json
- Segment Anything (SAM 3.1): grade F, 34.7/100, rank #182 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/segment-anything.md · JSON https://www.anchorterminal.com/api/v1/tools/segment-anything.json
- Best computer vision models, APIs and labelling tools for AI agents: https://www.anchorterminal.com/best/computer-vision/index.md
- All 118 computer vision comparisons: https://www.anchorterminal.com/compare/computer-vision/index.md

## Which one, for what

### DINOv3 (E)

Good for: Agents that need image embeddings or dense representations to build retrieval, segmentation or depth on a machine with one GPU

Ahead on:
- Reach, 50 against 45
- Risk, 40 against 25
- Agent interface, 25 against 15

Watch for: Meta's own weights are .pth pickle checkpoints, and the download goes through a request form

### Segment Anything (SAM 3.1) (F)

Good for: Agents that need pixel masks and tracked objects from a text phrase, on a machine with a CUDA GPU or through Meta Model API

Ahead on:
- Documentation and upkeep, 48 against 41

Watch for: The only weight file is a PyTorch pickle, with no safetensors build


## Why the edge

### Risk: DINOv3 +15

- DINOv3 (40): File safety 0, Meta's own weights are .pth pickle files, and the Hub copies weren't readable. Provenance 15, Meta's download form with hash-checked filenames. Safety evaluation 10, the publisher's fairness results. Agent guidance 5, general cautions. Licence risk 5, 15 less 5 for field-of-use limits and 5 for terms Meta may change. Security programme 5, a whitehat route, advisories unchecked. 0 + 15 + 10 + 5 + 5 + 5 = 40.
- Segment Anything (SAM 3.1) (25): File safety 0, a pickle checkpoint and nothing else. Provenance 15, Meta's facebook organisation with a SHA-256 for the large file. Safety evaluation 0 and agent guidance 0, nothing found. Licence risk 5, 15 less 5 for field-of-use limits and 5 for terms Meta may change. Security programme 5, a whitehat route in CONTRIBUTING.md, advisories unchecked. 0 + 15 + 0 + 0 + 5 + 5 = 25.

### Agent interface: DINOv3 +10

- DINOv3 (25): Chat template 10, input is an image given through code. Tool-calling format 0 and trained tool calling 0, the model doesn't call tools. Structured output 15, the outputs are named and sized on the card. Reasoning control 0 and context 0, neither applies. 10 + 0 + 0 + 15 + 0 + 0 = 25.
- Segment Anything (SAM 3.1) (15): Chat template 10, prompts are given as code. Tool-calling format 0 and trained tool calling 0, the model doesn't call tools. Structured output 5, the README names masks, boxes and scores without shapes. Reasoning control 0 and context 0, neither applies. 10 + 0 + 0 + 5 + 0 + 0 = 15. A segmentation model is read for what it takes and returns, and the hosted wire format is better documented than the weights' own.

### Documentation and upkeep: Segment Anything (SAM 3.1) +7

- DINOv3 (41): Model card 11, no context length, languages or cut-off. Training data 10, sources and sizes without a cut-off. Last change 10, a commit 139 days before this check. Responsiveness 0, not readable. Version policy 5, a first release. File health 5, the Hub copies weren't readable. 11 + 10 + 10 + 0 + 5 + 5 = 41.
- Segment Anything (SAM 3.1) (48): Model card 8, no limitations, context length, languages or cut-off. Training data 5, a general description of the data engine with no sizes or cut-off. Last change 20, a commit 14 days before this check. Responsiveness 0, no Meta reply in the 40 most recent Hub discussions. Version policy 10, each version in its own repository with a dated release note. File health 5, the licence file and the package metadata disagree. 8 + 5 + 20 + 0 + 10 + 5 = 48.

### Reach: DINOv3 +5

- DINOv3 (50): Memory 30, even the 7B model fits 16 GB at 16-bit and the small ones need under 1 GB. Runtimes 5, Transformers from 4.56.0 by Meta's README. Builds 0, no quantised build. Terms 10, the DINOv3 License allows free commercial use under prohibited uses beyond the law. Download 5, a form and an emailed list of URLs. Hosted 0, none found. 30 + 5 + 0 + 10 + 5 + 0 = 50.
- Segment Anything (SAM 3.1) (45): Memory 30, the 3.5 GB checkpoint needs about 4.2 GB with the fifth added. Runtimes 0, none of the six runs SAM 3.1 from a release we could read, and the Hub card says there's no Transformers integration. Builds 0, one 32-bit checkpoint. Terms 10, the SAM License allows free commercial use under prohibited uses beyond the law. Download 0, gated with manual approval. Hosted 5, Meta Model API serves it. 30 + 0 + 0 + 10 + 0 + 5 = 45.

## Score by category

| Category | Weight | DINOv3 | Segment Anything (SAM 3.1) | Edge |
| --- | --- | --- | --- | --- |
| Capability | 35%, pending | pending | pending | not scored in this run |
| Reach | 25% | 50 | 45 | DINOv3 +5 |
| Risk | 20% | 40 | 25 | DINOv3 +15 |
| Agent interface | 10% | 25 | 15 | DINOv3 +10 |
| Documentation and upkeep | 10% | 41 | 48 | Segment Anything (SAM 3.1) +7 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **41.7 · E** | **34.7 · F** | |

## Facts side by side

| Fact | DINOv3 | Segment Anything (SAM 3.1) |
| --- | --- | --- |
| Kind | Open-weight model | Open-weight model |
| Vendor | Meta | Meta |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | DINOv3 License, a custom Meta licence last updated 19 August 2025, for code and weights. Royalty-free and commercial use allowed, with prohibited uses beyond the law (military, nuclear, espionage, weapons) and terms Meta may change | SAM License, a custom Meta licence last updated 19 November 2025, for code and weights. Royalty-free and commercial use allowed, with prohibited uses beyond the law (military, nuclear, espionage, weapons) and terms Meta may change |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-06-12 | 2026-03-27 |
| Privacy policy last updated | no document linked | couldn't be read |

## Verdicts

**DINOv3.** Meta's backbone family for frozen image representations, from 21M to 6.7B parameters, with documented heads for depth, segmentation and detection. It runs on modest hardware and the licence allows commercial use. Meta's own weights are pickle files behind a request form, and the code has had no change since 15 July 2026.

**Segment Anything (SAM 3.1).** Meta's newest promptable segmentation model, which masks and tracks every object matching a text phrase in images and video. The code is current and the licence allows commercial use. Access is the problem, since the checkpoint is a pickle behind manual approval, and Meta's own API is the practical route for most agents.

## Before you call either

### DINOv3

1. Request the weights through the link in the README and download the emailed URLs with wget, not a browser, as Meta warns
2. Use torch.hub.load with the weights path or URL. Pass backbone_weights as well for the detection, depth and segmentation heads
3. Resize images to multiples of 16 pixels or the model crops them to the nearest smaller multiple
4. Use the web-image models for photographs and the satellite models for overhead imagery
5. Keep the backbone frozen and train a light head, as the card advises, rather than fine-tuning

### Segment Anything (SAM 3.1)

1. Request access to facebook/sam3.1 on Hugging Face before anything else and expect a wait. Without a CUDA GPU, call Meta Model API's sam-3.1 instead
2. Install from a clone of facebookresearch/sam3 with pip install -e . on Python 3.12 and PyTorch 2.7. Don't pip install sam3, which is Roboflow's package
3. Send one short noun phrase per request. To find several kinds of object, send several requests, as Meta's hosted docs advise
4. On the hosted API a video request bills at least 50 frames, so batch short clips
5. Pull the latest code before loading SAM 3.1 checkpoints, since the README says they need it

## Questions

### Which is better for AI agents, DINOv3 or Segment Anything (SAM 3.1)?

DINOv3 scores 41.7 (E) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "dinov3", "b": "segment-anything"}`. From a terminal: `anchor compare dinov3 segment-anything`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dinov3.json and https://www.anchorterminal.com/api/v1/tools/segment-anything.json

## Other comparisons with DINOv3 or Segment Anything (SAM 3.1)

- [DINOv3 vs Florence-2](https://www.anchorterminal.com/compare/dinov3-vs-florence-2.md)
- [DINOv3 vs Grounding DINO](https://www.anchorterminal.com/compare/dinov3-vs-grounding-dino.md)
- [DINOv3 vs Moondream](https://www.anchorterminal.com/compare/dinov3-vs-moondream.md)
- [DINOv3 vs PaliGemma](https://www.anchorterminal.com/compare/dinov3-vs-paligemma.md)
- [DINOv3 vs RF-DETR](https://www.anchorterminal.com/compare/dinov3-vs-rf-detr.md)
- [DINOv3 vs Ultralytics YOLO](https://www.anchorterminal.com/compare/dinov3-vs-ultralytics-yolo.md)
- [Florence-2 vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.md)
- [Grounding DINO vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/grounding-dino-vs-segment-anything.md)
- [Moondream vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/moondream-vs-segment-anything.md)
- [PaliGemma vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/paligemma-vs-segment-anything.md)
- [RF-DETR vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/rf-detr-vs-segment-anything.md)
- [Depth Anything 3 vs DINOv3](https://www.anchorterminal.com/compare/depth-anything-vs-dinov3.md)
- [Segment Anything (SAM 3.1) vs Ultralytics YOLO](https://www.anchorterminal.com/compare/segment-anything-vs-ultralytics-yolo.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
