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

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

PaliGemma E

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

CategoryWeightFlorence-2PaliGemmaEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6555Florence-2 +10
Risk20%3535even
Agent interface10%6050Florence-2 +10
Documentation and upkeep10%2334PaliGemma +11
Negative events≤1500
TotalD 48.5/100E 44.8/100

Facts side by side

FactFlorence-2PaliGemma
KindOpen-weight modelOpen-weight model
VendorMicrosoftGoogle DeepMind
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITGemma Terms of Use
Read-only variant documentednono
llms.txtnoyes
Last release2025-08-042025-02-19
Terms last updatedno document linked2026-04-01
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsnot read yetyes
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot 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

  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.

PaliGemma

  1. Request access on Kaggle first. Then set KAGGLE_USERNAME and KAGGLE_KEY before loading a preset with KerasHub.
  2. 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.
  3. Send the image first and the prompt second, for example detect cow or segment cow. Reversing the order usually gives unusable output.
  4. Decode detect output with the location-token parser in Google's Keras guide. Segmentation output also needs the mask decoder in that guide.
  5. 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

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.