Head to head · Vision detect · October 2026 research run
Florence-2 vs PaliGemma
Florence-2 scores 48.5 (D) on agent readiness against PaliGemma's 44.8 (E), and leads in 2 of 4 scored categories. PaliGemma leads on documentation and upkeep. 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 55
- Agent interface, 60 against 50
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 fine-tune a small vision-language model for one captioning, OCR or detection task, and can accept the Gemma Terms and a Kaggle gate
Ahead on
- Documentation and upkeep, 34 against 23
Watch for
Gated behind a Kaggle account, an access request and a consent form, with an API key for the Keras route
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.
Documentation and upkeep PaliGemma +11
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.
PaliGemma 34
The card has five of seven items (14) and names its pre-training data without sizes or a cut-off (10). The newest release was 651 days ago (0). Responsiveness and file health are scored as absent because the Hugging Face pages weren't read (0 and 0). Dated releases for each generation earn 10.
Reach Florence-2 +10
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).
PaliGemma 55
Memory 30 from 3B parameters. Runtimes 10, Transformers and vLLM, 5 each. No quantised build found (0), Gemma terms (10), a Kaggle access request and account (5) and no host found (0).
Agent interface Florence-2 +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).
PaliGemma 50
Read for a vision model. The command syntax and the Keras decoding code are documented (25), the prompt format is code and docs and not a template (10), one command per prompt (10), and text and location-token outputs without a JSON mode (5). No reasoning mode and no context length (0).
Score by category
| Category | Weight | Florence-2 | PaliGemma | Edge |
|---|---|---|---|---|
| Capability | 35%pending | pending | pending | not scored in this run |
| Reach | 25% | 65 | 55 | Florence-2 +10 |
| Risk | 20% | 35 | 35 | even |
| Agent interface | 10% | 60 | 50 | Florence-2 +10 |
| Documentation and upkeep | 10% | 23 | 34 | PaliGemma +11 |
| Negative events | ≤15 | 0 | 0 | |
| Total | D 48.5/100 | E 44.8/100 |
Facts side by side
| Fact | Florence-2 | PaliGemma |
|---|---|---|
| Kind | Open-weight model | Open-weight model |
| Vendor | Microsoft | Google DeepMind |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Gemma Terms of Use |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2025-08-04 | 2025-02-19 |
| Terms last updated | no document linked | 2026-04-01 |
| Privacy policy last updated | no document linked | no document linked |
| Customer content may train models | not read yet | yes |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
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.
PaliGemma
PaliGemma 2 mix answers questions about images and returns captions, OCR text, boxes and masks from a prompt syntax, at 3B, 10B or 28B, and Transformers and vLLM run it. Access needs a Kaggle request under the Gemma Terms, and the newest release dates to 19 February 2025.
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.
PaliGemma
- Request access on Kaggle first. Then set KAGGLE_USERNAME and KAGGLE_KEY before loading a preset with KerasHub.
- Use a mix checkpoint (PaliGemma 2 mix) for out-of-the-box work. Fine-tune a PT checkpoint before you rely on it, and send an FT checkpoint only its own task's syntax.
- Send the image first and the prompt second, for example
detect coworsegment cow. Reversing the order usually gives unusable output. - Decode detect output with the location-token parser in Google's Keras guide. Segmentation output also needs the mask decoder in that guide.
- Treat each call as one round. The card says PaliGemma 2 isn't a multi-turn chatbot.
Questions
Which is better for AI agents, Florence-2 or PaliGemma?
Florence-2 scores 48.5 (D) on agent readiness against PaliGemma's 44.8 (E), and leads in 2 of 4 scored categories. PaliGemma leads on documentation and upkeep.
Other comparisons with Florence-2 or PaliGemma
- DINOv3 vs Florence-2
- DINOv3 vs PaliGemma
- Florence-2 vs Grounding DINO
- Florence-2 vs Moondream
- Florence-2 vs RF-DETR
- Florence-2 vs Segment Anything (SAM 3.1)
- Florence-2 vs Ultralytics YOLO
- Grounding DINO vs PaliGemma
- Moondream vs PaliGemma
- PaliGemma vs RF-DETR
- PaliGemma vs Segment Anything (SAM 3.1)
- PaliGemma vs Ultralytics YOLO
Machine-readable
- This page as Markdown
/compare/florence-2-vs-paligemma.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/florence-2.json·/api/v1/tools/paligemma.json - From a terminal
anchor compare florence-2 paligemma(the CLI) - Over MCP
compare_tools {"a": "florence-2", "b": "paligemma"}at/mcp, no key