# EfficientSAM3 API

> Progressive hierarchical distillation of SAM 3 into RepViT/TinyViT/EfficientViT students (plus lite text encoders and compact Perceiver memory) for edge promptable concept segmentation and tracking.

## Details

- Model id: `bristol/efficientsam3`
- Provider: University of Bristol (Zeng, Jiang, Zhang)
- Type: Perception · Segmentation
- Parameters: ~26M served (EfficientViT-B1 student trunk + SAM 3 prompt encoder and mask decoder)
- Output: Point/box-prompted masks (lightweight SAM 3 student)
- Embodiments: Any (video), Single arm, Mobile manipulator
- Endpoint: `POST /v1/segment`
- Price: $0.10 per 1,000 calls
- Checkpoint served: `Simon7108528/EfficientSAM3`
- License: Apache-2.0 (weights card hf.co/Simon7108528/EfficientSAM3; code README github.com/SimonZeng7108/efficientsam3, no root LICENSE file) + SAM License (sam3/LICENSE, 2025-11-19: commercial use allowed; Meta's use restrictions; the served file carries SAM 3's own neck/prompt-encoder/mask-decoder tensors); EfficientViT backbone Apache-2.0 (built by timm, Apache-2.0); served on transformers Sam3TrackerModel (Apache-2.0). MobileCLIP text-encoder variants: apple-amlr (research-only), not used. Training data: 1% of SA-1B (research-only dataset terms), flagged
- Released: November 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2511.15833

## Call EfficientSAM3

Send one request with your API key to `POST https://api.openrobotics.dev/v1/segment`. The response comes back in the same call. The [API reference](https://www.openrobotics.dev/docs/api/segment) lists every field. GPUs start on demand: after a quiet spell the first call returns `503` with `Retry-After` while one boots (never billed).

Python:

```python
import os, requests

res = requests.post(
  "https://api.openrobotics.dev/v1/segment",
  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},
  json={
    "model": "bristol/efficientsam3",
    "image": "<base64 JPEG or PNG>",
    "points": [[320, 240]],
  },
).json()
res["masks"][0]["rle"]  # COCO RLE mask
```

TypeScript:

```typescript
const res = await fetch("https://api.openrobotics.dev/v1/segment", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "bristol/efficientsam3",
    image: "<base64 JPEG or PNG>",
    points: [[320, 240]],
  }),
}).then((r) => r.json());
```

cURL:

```bash
curl https://api.openrobotics.dev/v1/segment \
  -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"bristol/efficientsam3","image":"<base64 JPEG or PNG>","points":[[320,240]]}'
```

## Guides about EfficientSAM3

- [SAM 3: Segment Anything with Concepts, explained](https://www.openrobotics.dev/blog/sam-3.md): What SAM 3 is, how concept prompts differ from SAM 2's clicks, what SAM 3D Body and SAM 3D Objects add, the SAM License, and how to call SAM 3 by API.
- [SAM 2 explained: image masks, video memory, and RLE](https://www.openrobotics.dev/blog/sam-2.md): Learn how SAM 2 segments images and videos, what the single-image API actually supports, and how to decode COCO RLE with tested offline Python.

## EfficientSAM3 FAQ

### How do I run EfficientSAM3 without my own GPU?

Call POST /v1/segment on the OpenRobotics API with "model": "bristol/efficientsam3". We run EfficientSAM3 on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the EfficientSAM3 API cost?

$0.10 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.

### What license does EfficientSAM3 use?

The weights we serve (Simon7108528/EfficientSAM3) are released under Apache-2.0 (weights card hf.co/Simon7108528/EfficientSAM3; code README github.com/SimonZeng7108/efficientsam3, no root LICENSE file) + SAM License (sam3/LICENSE, 2025-11-19: commercial use allowed; Meta's use restrictions; the served file carries SAM 3's own neck/prompt-encoder/mask-decoder tensors); EfficientViT backbone Apache-2.0 (built by timm, Apache-2.0); served on transformers Sam3TrackerModel (Apache-2.0). MobileCLIP text-encoder variants: apple-amlr (research-only), not used. Training data: 1% of SA-1B (research-only dataset terms), flagged. Check the license for your use case.

### Is EfficientSAM3 open source?

EfficientSAM3's weights are publicly available under Apache-2.0 (weights card hf.co/Simon7108528/EfficientSAM3; code README github.com/SimonZeng7108/efficientsam3, no root LICENSE file) + SAM License (sam3/LICENSE, 2025-11-19: commercial use allowed; Meta's use restrictions; the served file carries SAM 3's own neck/prompt-encoder/mask-decoder tensors); EfficientViT backbone Apache-2.0 (built by timm, Apache-2.0); served on transformers Sam3TrackerModel (Apache-2.0). MobileCLIP text-encoder variants: apple-amlr (research-only), not used. Training data: 1% of SA-1B (research-only dataset terms), flagged. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [SAM 2](https://www.openrobotics.dev/models/meta/sam-2.md): `meta/sam-2`, $0.10 per 1,000 calls
- [SAM 3](https://www.openrobotics.dev/models/meta/sam-3.md): `meta/sam-3`, $0.10 per 1,000 calls
- [Segment Anything (SAM)](https://www.openrobotics.dev/models/meta/sam.md): `meta/sam`, $0.10 per 1,000 calls
- [Grounded SAM 2](https://www.openrobotics.dev/models/idea-research/grounded-sam-2.md): `idea-research/grounded-sam-2`, $0.10 per 1,000 calls
- [Sa2VA (Qwen3-VL-4B)](https://www.openrobotics.dev/models/bytedance/sa2va.md): `bytedance/sa2va`, $0.10 per 1,000 calls
- [EdgeTAM](https://www.openrobotics.dev/models/meta/edgetam.md): `meta/edgetam`, $0.10 per 1,000 calls
