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

Florence-2 D

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

Grounding DINO F

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

CategoryWeightFlorence-2Grounding DINOEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6530Florence-2 +35
Risk20%3525Florence-2 +10
Agent interface10%6060even
Documentation and upkeep10%2325Grounding DINO +2
Negative events≤1500
TotalD 48.5/100F 32.3/100

Facts side by side

FactFlorence-2Grounding DINO
KindOpen-weight modelOpen-weight model
VendorMicrosoftIDEA Research
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2025-08-042023-04-07
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno 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

  1. 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.
  2. 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.
  3. Use float16 on a GPU and float32 on a CPU. The card says all models were trained in float16.
  4. 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.
  5. 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

  1. Use Transformers' GroundingDinoForObjectDetection when you can. It avoids compiling the repository's CUDA extension and loads IDEA-Research checkpoints.
  2. Separate category names with a full stop in the text prompt, for example chair . person . dog ., as the README suggests.
  3. 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.
  4. 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.
  5. 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.