Florence-2

MicrosoftText & chatReleased June 2024Open weights
Vision inputOCR & documentsRuns locallyFast & cheap

A tiny open vision model from Microsoft that captions images, finds objects and reads text, all switched by a short prompt. Popular as a fast building block inside image pipelines.

Overview

Best for
auto-captioning image datasets, object detection, simple OCR, image pipeline building block
Input
image, text
Output
text
Context window
Not listed
Access
Open weights
License
MIT
Company
Microsoft
Hugging Face
microsoft/Florence-2-base, 23,651,722 downloads in the last 30 days (as of November 25, 2026)

Strengths and limitations

Good at

  • Very small: 0.23B (base) and 0.77B (large) parameters, so it runs even on a CPU
  • One model handles captions, detailed captions, object detection, region captions, grounding and OCR
  • Trained on 5.4 billion annotations across 126 million images
  • MIT license allows commercial use

Watch out for

  • Not a chat model: it does fixed tasks chosen by prompt tags, not open questions
  • Released in 2024 and much weaker than modern vision-language models at reasoning about images
  • Needs trust_remote_code to load in Transformers

Where to use it

Hugging Face

Pricing

Apps and plans
Free to self-host
API
Not listed
Good to know
Fine-tuned -ft versions exist for downstream tasks.

Checked November 25, 2026. Prices change often; confirm on the official site before you pay.