Head to head · Vision detect · October 2026 research run
Florence-2 vs Grounding DINO
Florence-2 scores 48.5 (D) on agent readiness against Grounding DINO's 32.3 (F), and leads in 2 of 4 scored categories. Both do vision detect.
Best computer vision models, APIs and labelling tools for AI agents · All 118 computer vision comparisons
Which one, for what
Best for Agents that need small local captioning, OCR with regions or box output from a task token, and can accept an older model
Ahead on
- Reach, 65 against 30
- Risk, 35 against 25
Watch for
The card's example runs repository code with trust_remote_code=True, and pytorch_model.bin sits beside the safetensors
Best for Agents that need zero-shot box detection from a text prompt on their own hardware and can accept an older repository
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The README's checkpoints are .pth pickle files, and no safetensors copy was seen on the pages read
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Reach Florence-2 +35
Florence-2 65
Memory 30 from the card's 0.77B parameters at float16. Runtimes 10, Transformers (native) and vLLM (plugin), 5 each. No quantised builds from Microsoft (0), MIT (15), not gated (10), and no host found (0).
Grounding DINO 30
Memory scores 0 as absent, because no size or parameter count was found and the Hugging Face host limit stopped the reading. Runtimes 5 (Transformers). No quantised build (0), Apache 2.0 (15), a GitHub release download with no account (10) and no host for the original weights (0).
Risk Florence-2 +10
Florence-2 35
File safety 5, since pytorch_model.bin sits beside the safetensors (15) and the card's load runs repository code with trust_remote_code (10 off). Provenance 10, no checksums read. MIT leaves licence risk at 15. No safety results (0) and no agent guidance (0). A SECURITY.md and a valid security.txt earn 5.
Grounding DINO 25
File safety 0, since the README's checkpoints are pickle .pth files and no safetensors copy was read. Provenance 10. No safety results (0), no agent guidance (0), Apache 2.0 leaves licence risk at 15, and no security policy was found (0).
Score by category
| Category | Weight | Florence-2 | Grounding DINO | Edge |
|---|---|---|---|---|
| Capability | 35%pending | pending | pending | not scored in this run |
| Reach | 25% | 65 | 30 | Florence-2 +35 |
| Risk | 20% | 35 | 25 | Florence-2 +10 |
| Agent interface | 10% | 60 | 60 | even |
| Documentation and upkeep | 10% | 23 | 25 | Grounding DINO +2 |
| Negative events | ≤15 | 0 | 0 | |
| Total | D 48.5/100 | F 32.3/100 |
Facts side by side
| Fact | Florence-2 | Grounding DINO |
|---|---|---|
| Kind | Open-weight model | Open-weight model |
| Vendor | Microsoft | IDEA Research |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2025-08-04 | 2023-04-07 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
Verdicts
Florence-2
Florence-2 turns one task token into captions, boxes, grounded phrases, OCR with regions or segmentation from 0.23B or 0.77B parameters under MIT, and Transformers and vLLM run it. Microsoft's own repository needs trust_remote_code and ships a pickle file, and its files last changed on 4 August 2025.
Grounding DINO
Grounding DINO detects named things in an image from a text prompt and returns boxes with matched words, as a PyTorch repository under Apache 2.0 and in Transformers. The checkpoints are pickle files, the training code was never released, and the last commit is dated 12 August 2024.
Before you call either
Florence-2
- Load a florence-community checkpoint with Transformers' native class when you can (its docs use florence-community/Florence-2-base). Microsoft's repository needs trust_remote_code=True, which runs its Python files.
- Send one task token per call, such as <OD> or <CAPTION>, and pass the output to processor.post_process_generation with the task and the image size.
- Use float16 on a GPU and float32 on a CPU. The card says all models were trained in float16.
- Pick -ft for the tasks it was fine-tuned on and the pretrained model for prompts it wasn't. The card describes both and compares them.
- To find named things, use the caption to phrase grounding task with a caption. <OD> returns boxes with the labels the model learned.
Grounding DINO
- Use Transformers' GroundingDinoForObjectDetection when you can. It avoids compiling the repository's CUDA extension and loads IDEA-Research checkpoints.
- Separate category names with a full stop in the text prompt, for example
chair . person . dog ., as the README suggests. - Set box_threshold and text_threshold yourself. The README's example uses 0.35 and 0.25, and the model returns 900 candidate boxes by default.
- Download .pth checkpoints only from IDEA Research's GitHub releases, and load them with the repository's own code, since PyTorch pickles can run code when loaded.
- For masks, pair it with a segmentation model. The README points to Grounded SAM 2.
Questions
Which is better for AI agents, Florence-2 or Grounding DINO?
Florence-2 scores 48.5 (D) on agent readiness against Grounding DINO's 32.3 (F), and leads in 2 of 4 scored categories.
Other comparisons with Florence-2 or Grounding DINO
- DINOv3 vs Florence-2
- DINOv3 vs Grounding DINO
- Florence-2 vs Moondream
- Florence-2 vs PaliGemma
- Florence-2 vs RF-DETR
- Florence-2 vs Segment Anything (SAM 3.1)
- Florence-2 vs Ultralytics YOLO
- Grounding DINO vs Moondream
- Grounding DINO vs PaliGemma
- Grounding DINO vs RF-DETR
- Grounding DINO vs Segment Anything (SAM 3.1)
- Grounding DINO vs Ultralytics YOLO
Machine-readable
- This page as Markdown
/compare/florence-2-vs-grounding-dino.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/florence-2.json·/api/v1/tools/grounding-dino.json - From a terminal
anchor compare florence-2 grounding-dino(the CLI) - Over MCP
compare_tools {"a": "florence-2", "b": "grounding-dino"}at/mcp, no key