Florence-2 OCR online
Small Microsoft vision model (0.23B and 0.77B) with OCR and OCR-with-regions tasks that return text with boxes.
PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?
- Model ID
- microsoft/florence-2
- Type
- Open source
- Price
- 1 credit / page ($1.00 per 1,000 pages)
- Typical speed
- 0.8 s / page
- Inputs
- images
- Languages
- English
- Max pages per request
- 500
- Output
- Markdown, JSON with positions
- License
- MIT
- Supports
- Bounding boxes
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "microsoft/florence-2",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Florence-2 speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
Florence-2 pricing
Florence-2 costs 1 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $1.00. You only pay for pages that return a result.
New accounts get 50 free credits, enough for about 50 pages with this model. See pricing for credit packs.
Similar models
1docTROpen-source OCR library from Mindee with separate text detection and recognition models.
mindee/doctr1 credit / page2PaddleOCR (PP-OCR)Baidu's classic open-source text detection and recognition pipeline. Light enough to run on CPU.paddle/paddleocr1 credit / page3EasyOCRPython OCR library with a simple API. Returns text lines with boxes and confidence.jaided/easyocr1 credit / pageAll Florence-2 alternativesBest OCR models by use case
Compare Florence-2
Florence-2 vs docTRFlorence-2 vs PaddleOCR (PP-OCR)Florence-2 vs EasyOCRFlorence-2 vs RolmOCRFlorence-2 vs GPT-5Florence-2 vs MiniCPM-V 4.5