# Florence-2 vs Ultralytics YOLO

> Ultralytics YOLO scores 52 (D) to Florence-2's 48.5 (D) for vision detect. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo
- Markdown: https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo.md (~2,850 tokens)
- Slim: https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo.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

Ultralytics YOLO scores 52 (D) on agent readiness against Florence-2's 48.5 (D), and leads in 2 of 4 scored categories. Florence-2 leads on reach and risk. Both do vision detect.

- Florence-2: grade D, 48.5/100, rank #165 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/florence-2.md · JSON https://www.anchorterminal.com/api/v1/tools/florence-2.json
- Ultralytics YOLO: grade D, 52/100, rank #153 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/ultralytics-yolo.md · JSON https://www.anchorterminal.com/api/v1/tools/ultralytics-yolo.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

### Florence-2 (D)

Good 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 60
- Risk, 35 against 30

Watch for: The card's example runs repository code with trust_remote_code=True, and pytorch_model.bin sits beside the safetensors

### Ultralytics YOLO (D)

Good for: Developers who need fast object detection, segmentation or pose on their own GPU or an edge device, and who can publish their code under AGPL-3.0 or buy an Enterprise licence

Ahead on:
- Agent interface, 70 against 60
- Documentation and upkeep, 58 against 23

Watch for: Official weights are pickle .pt files, and the restricted loader is opt-in through an environment variable


## Why the edge

### Documentation and upkeep: Ultralytics YOLO +35

- Florence-2 (23): The card has three of seven items (8) and a short description of FLD-5B (5). Last modified 484 days ago (0). Responsiveness is scored as absent because the host limit stopped the count (0). Versions sit in separate repositories (5), and open reports of broken custom code keep file health at 5.
- Ultralytics YOLO (58): Model card 8, tasks, parameters and architecture are given, while limitations, context, languages and cut-off are not. Training data 10, COCO is named and no cut-off or filtering is given. Last change 20, the code was tagged on 30 November 2026. Responsiveness 10, one of 3 Hub discussions was answered by a member, and GitHub issues were not readable. Version policy 5, older families kept in their own repositories without notes. File health 5, the card lists models the Hub repository doesn't hold. 8 + 10 + 20 + 10 + 5 + 5 = 58.

### Agent interface: Ultralytics YOLO +10

- Florence-2 (60): Read for a vision model. Task tokens and typed outputs through post_process_generation are documented (25 and 15). One task per call (10), prompts as task tokens in code (10), no reasoning mode (0) and a 4k context (0).
- Ultralytics YOLO (70): Chat template 10, none because it isn't a chat model, and the input format is given as code. Tool-calling format 25, read for a detector, the sources it takes and the Results it returns are documented. Trained tool calling 20, a list of images or several streams go in one call. Structured output 15, Results objects with boxes, masks, keypoints and probabilities. Reasoning control 0, none. Context 0, not stated and not applicable. 10 + 25 + 20 + 15 + 0 + 0 = 70.

### Reach: Florence-2 +5

- 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).
- Ultralytics YOLO (60): Memory 30, yolo26n.pt is 5.5 MB and yolo26x.pt 118.7 MB, within 16 GB. Runtimes 0, no listed chat-model runtime loads the files and the ultralytics library is the runtime, with exports to ONNX, TensorRT, OpenVINO and CoreML. Builds 0, Ultralytics publishes .pt checkpoints only. Terms 15, AGPL-3.0 with nothing added to the licence file. Download 10, not gated and no account. Hosted 5, Ultralytics Platform serves YOLO models over REST and accepts anonymous requests for public models. 30 + 0 + 0 + 15 + 10 + 5 = 60.

### Risk: Florence-2 +5

- 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.
- Ultralytics YOLO (30): File safety 0, every official weight is a pickle .pt file, default loading is not restricted and the restricted loader is opt-in. Provenance 15, files in Ultralytics' own Hub organisation and assets repository (10) and a SHA-256 for each file on the Hub (5). Safety evaluation 0, none. Agent guidance 0, none found. Licence risk 10, 15 less 5 because Ultralytics asks for an Enterprise licence for internal and commercial use beyond what AGPL-3.0 itself requires. Security programme 5, a report address and private reporting, no security.txt, public advisories not read. 0 + 15 + 0 + 0 + 10 + 5 = 30.

## Score by category

| Category | Weight | Florence-2 | Ultralytics YOLO | Edge |
| --- | --- | --- | --- | --- |
| Capability | 35%, pending | pending | pending | not scored in this run |
| Reach | 25% | 65 | 60 | Florence-2 +5 |
| Risk | 20% | 35 | 30 | Florence-2 +5 |
| Agent interface | 10% | 60 | 70 | Ultralytics YOLO +10 |
| Documentation and upkeep | 10% | 23 | 58 | Ultralytics YOLO +35 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **48.5 · D** | **52 · D** | |

## Facts side by side

| Fact | Florence-2 | Ultralytics YOLO |
| --- | --- | --- |
| Kind | Open-weight model | Open-weight model |
| Vendor | Microsoft | Ultralytics |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | AGPL-3.0 for the library and the pretrained weights. Commercial use without publishing your own source needs a paid Ultralytics Enterprise licence |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2025-08-04 | 2026-11-30 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | not read yet |

## 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.

**Ultralytics YOLO.** Ultralytics YOLO26 detects, segments, tracks and estimates pose from images and video on small local hardware, with a documented library and command. Weights are pickle files under AGPL-3.0, and the company says commercial use needs a paid licence. Usage analytics are on by default, and no independent benchmark was read.

## 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.

### Ultralytics YOLO

1. Install with `pip install ultralytics`, then `yolo predict model=yolo26n.pt source=image.jpg`. The first run downloads the weights.
2. Run `yolo settings sync=False` before the first call if usage analytics must stay off.
3. Load only weights from Ultralytics or a source you trust, since a .pt file runs code when loaded. Set ULTRALYTICS_SAFE_LOAD to restrict loading.
4. Pass `stream=True` for video or long lists of images, since the default returns every result in memory.
5. Check the AGPL-3.0 terms and Ultralytics' licensing page before serving the models in a product. YOLO27 is announced with no launch date.

## Questions

### Which is better for AI agents, Florence-2 or Ultralytics YOLO?

Ultralytics YOLO scores 52 (D) on agent readiness against Florence-2's 48.5 (D), and leads in 2 of 4 scored categories. Florence-2 leads on reach and risk.


## For agents

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

## Other comparisons with Florence-2 or Ultralytics YOLO

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