Zero-Shot Object Detection Models and Grounding DINO Alternatives
Compare Ultralytics VLM, Grounding DINO, OWLv2, and SAM by detection accuracy, prompt type, output and deployment requirements.
Glenn Jocher6 min readListen to this article

Start with Ultralytics VLM if you need bounding boxes for objects you can name or describe and have no labeled examples. Ultralytics VLM supports both single-image and Batch Annotation for detection datasets on Ultralytics Platform and through the Inference API. Grounding DINO and mask-first models answer different deployment and output needs. Use the same test images to see which approach fits.
Zero-shot detection models at a glance#
Choose by the kind of prompt you have, the output11 you need, and where inference must run.
| Model | Family | How you prompt it | Output | Where you can run it |
|---|---|---|---|---|
| Ultralytics VLM1 2B and 4B | Detection-focused vision-language models | Class names or descriptions | Boxes | Smart Annotation, Batch Annotation and Inference API |
| Florence-2 Large | Vision foundation model | Short class names | Boxes | Platform (hosted) |
| Grounding DINO Base | Grounded open-vocabulary detector | Class names or phrases | Boxes | Platform (hosted) |
| Moondream 3.1 | Compact VLM | Class names or descriptions | Boxes | Platform (hosted) |
| OWLv2 Large | Open-vocabulary detector | Class names on Platform; image-guided detection through Transformers | Boxes | Platform (hosted) |
| SAM 3 / SAM 3.1 | Text-prompted segmentation model | Short noun phrases | Boxes in Platform detection datasets, masks in Python segmentation workflows | Platform (hosted), Python package |
| WeVisOne-VL 4B | Compact VLM | Class names or descriptions | Boxes | Platform (hosted) |
For current accuracy and latency results, consult the Ultralytics VLM Leaderboard.
Grounded open-vocabulary detectors: Grounding DINO and OWLv2#
Grounded detectors pair an image encoder with a text encoder, so a phrase such as "red car" points the detector at matching regions.
- Grounding DINO is the common reference point for text-prompted detection and accepts phrases as well as single class names. Platform hosts Grounding DINO Base, so you can try it on your own images without a GPU.
- OWLv2 is an open-vocabulary detector. Platform hosts OWLv2 Large; outside Platform, the Transformers implementation also supports image-guided detection from an example.
Consider these models when you want established open models with text prompts, then measure accuracy and latency in your intended deployment.
Text-prompted segmentation: SAM 3 and SAM 3.1#
SAM 3 adds text prompts to the Segment Anything family: give it a short noun phrase and it returns matching instances as masks. SAM 3 and SAM 3.1 support text-prompted image segmentation in the Ultralytics Python package, and both run as hosted models in Platform.
Platform’s class-prompted detection workflow saves boxes. For masks from text prompts, use the SAM 3 Python segmentation workflow.
Test Ultralytics VLM1 on your classes#
Open VLM1 2B or VLM1 4B to explore detections on benchmark images, then run your own examples in Smart Annotation. VLM1 2B is the default on eligible detection datasets. Test 4B if accuracy is more important than request time. Both sizes return boxes from class names or descriptions, and neither needs a third-party provider key.

The example uses “open container door” to select a visible object state. Include open, closed and partly obscured doors in your own test set.
The December 2, 2026 Ultralytics VLM Leaderboard snapshot reported 0.435 mAP50 for 2B and 0.460 for 4B, compared with 0.094 for the tested Grounding DINO Base entry. Grounding DINO Base had the shorter rounded median request time at 0.2 s, compared with 0.3 s for 2B and 0.4 s for 4B on the public leaderboard. These are results for specific hosted entries on 36 equally weighted datasets. Use the per-dataset results to find domains close to yours, then compare missed objects and extra boxes on your own images.
When the labels are ready, review them in Platform and train Ultralytics YOLO for your deployment. The Ultralytics VLM launch announcement also shows how to use the detections directly in a pilot.
How to choose a Grounding DINO alternative#
| If your problem with Grounding DINO is… | Try | Why |
|---|---|---|
| Misses objects described in more than a word or two | Ultralytics VLM | Our recommended starting point for detection from descriptive prompts |
| Missed detections or low accuracy | Start by testing Ultralytics VLM, then compare candidates | It outscores Grounding DINO Base on the leaderboard's aggregate mAP50; your own images decide the final choice |
| You need masks as well as boxes | SAM 3 or SAM 3.1 in Python | Segmentation from text prompts |
Try candidates on the same representative images using class-prompted Smart Annotation, then compare their errors before choosing a workflow. Hosted models need no provider API key.
Frequently asked questions
Start with Ultralytics VLM for zero-shot detection and a workflow from reviewed labels to YOLO training. The 4B and 2B variants were the top two entries marked Hosted by mAP50 on December 2, 2026 on the VLM Leaderboard. Compare frontier VLMs when benchmark accuracy is the priority, and SAM when you need masks.
Start by testing Ultralytics VLM for text-prompted detection without training data. Alternatives include Grounding DINO, OWLv2 and Florence-2. Compare their errors on your images.
Start with Ultralytics VLM when you want higher aggregate detection accuracy than the tested Grounding DINO Base entry and a workflow into YOLO training. Evaluate SAM 3.1 for masks, and OWLv2 as another open-vocabulary detector. Test all candidates on representative images.
They overlap. Zero-shot learning means using a model on classes without task-specific labeled examples. Open-vocabulary detection means you choose the classes in text at run time. Most models in this guide do both.
A common approach is to use zero-shot detections as labels and train a YOLO model for your dataset's fixed classes.
Written by
Comments
Ask a question, share your results, or help someone else.





























