{
  "data": {
    "a": {
      "slug": "florence-2",
      "name": "Florence-2",
      "vendor": "Microsoft",
      "vendorUrl": "https://huggingface.co/microsoft/Florence-2-large",
      "company": "microsoft.com",
      "kind": "weights",
      "category": "computer-vision",
      "summary": "Florence-2 is Microsoft's family of small vision foundation models, 0.23B and 0.77B parameters, that take a task prompt such as \u003cOD\u003e and return captions, object boxes, grounded phrases, regions, OCR text or segmentation, under the MIT licence.",
      "url": "https://www.anchorterminal.com/tools/florence-2",
      "markdownUrl": "https://www.anchorterminal.com/tools/florence-2.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/florence-2.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/florence-2.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/florence-2.json",
      "dns": "florence-2.grade.anchorterminal.com",
      "repo": "https://huggingface.co/microsoft/Florence-2-large",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "huggingface",
          "name": "microsoft/Florence-2-large"
        },
        {
          "registry": "huggingface",
          "name": "microsoft/Florence-2-base"
        },
        {
          "registry": "huggingface",
          "name": "microsoft/Florence-2-large-ft"
        },
        {
          "registry": "huggingface",
          "name": "microsoft/Florence-2-base-ft"
        }
      ],
      "auth": "none",
      "authNotes": "The weights download from Hugging Face with no account, token or terms to accept. The repositories aren't gated (gated: false in the Hub's model information). The card's example needs trust_remote_code=True to run Microsoft's repository code (checked 2026-12-01).",
      "pricing": "free",
      "pricingNotes": "Free to download and use under MIT, commercial use included. Running the large model takes about 1.5 GB of weights at 16 bits, from the card's 0.77B parameters, and the base model about 0.5 GB. Microsoft sells no per-call access to these weights found on the pages read (checked 2026-12-01).",
      "priceSummary": "Free",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "Weights you download and run yourself, so there is nothing to pay per call and no payment protocol (checked 2026-12-01).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-12-01"
      },
      "docsUrl": "https://huggingface.co/microsoft/Florence-2-large",
      "capabilities": [
        "vision.detect",
        "vision.segment",
        "vision.describe",
        "model.open-weights"
      ],
      "tags": [
        "open-weights",
        "model",
        "computer-vision",
        "vision-foundation-model",
        "object-detection",
        "captioning",
        "ocr",
        "grounding",
        "segmentation",
        "prompt-based",
        "mit",
        "safetensors",
        "pickle-files",
        "custom-code",
        "self-hosted"
      ],
      "lastRelease": "2025-08-04",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 48.5,
        "grade": "D",
        "agentReady": false,
        "rank": 0,
        "ranked": false,
        "notRankedWhy": "An open-weight model, graded by the open-weight checklist and ranked among open-weight models, not against tools",
        "rankOf": 1764,
        "categoryRank": 16,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "interface": 60,
          "reach": 65,
          "risk": 35,
          "upkeep": 23
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-12-01"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "Agents that need small local captioning, OCR with regions or box output from a task token, and can accept an older model",
        "strengths": [
          "0.77B parameters (large) or 0.23B (base), about 1.5 GB and 0.5 GB at float16",
          "One task token per call covers captions, detection, grounding, OCR with regions and segmentation, with typed outputs",
          "MIT licence, not gated, and no account needed to download",
          "Transformers has a native implementation and vLLM lists it through a plugin",
          "The card lists nine tasks with calls and Microsoft's technical report describes the FLD-5B training data"
        ],
        "weaknesses": [
          "The card's example runs repository code with trust_remote_code=True, and pytorch_model.bin sits beside the safetensors",
          "The repositories were last modified on 4 August 2025, and reports that the custom code fails on newer Transformers wait on the discussion list",
          "No quantised build from Microsoft, no safety results and no agent guidance on the card",
          "The card has no limitations section, no languages and no knowledge cut-off, and the dataset isn't linked",
          "A 4k context and one task token per call, with no chat or reasoning mode"
        ],
        "agentNotes": [
          "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 \u003cOD\u003e or \u003cCAPTION\u003e, 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. \u003cOD\u003e returns boxes with the labels the model learned."
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 48.5
          }
        ],
        "editorialScores": {
          "interface": 60,
          "reach": 65,
          "risk": 35,
          "upkeep": 23
        },
        "provenanceScore": 72,
        "checked": {
          "categories": {
            "interface": "2026-12-01",
            "reach": "2026-12-01",
            "risk": "2026-12-01",
            "upkeep": "2026-12-01"
          },
          "last": "2026-12-01",
          "oldest": "2026-12-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install -U transformers accelerate pillow requests\npython -c \"from transformers import AutoProcessor, AutoModelForCausalLM; m = AutoModelForCausalLM.from_pretrained('microsoft/Florence-2-large', trust_remote_code=True); print(m.config.model_type)\""
      },
      "letme": {
        "capability": "https://letme.dev/vision.detect",
        "tool": "https://letme.dev/florence-2"
      },
      "sameCompany": [
        "azure-openai",
        "azure-foundry-fine-tuning",
        "azure-ai-content-safety",
        "azure-speech-to-text",
        "azure-text-to-speech",
        "microsoft-agent-framework",
        "microsoft-execution-containers",
        "microsoft-entra-agent-id",
        "azure-key-vault",
        "bing-grounding",
        "microsoft-web-iq",
        "azure-document-intelligence",
        "azure-devops-mcp",
        "microsoft-learn-mcp",
        "tokeneconomizer",
        "playwright-mcp",
        "azure-mcp",
        "azure-maps",
        "azure-translator",
        "microsoft-graph-calendar",
        "azure-blob-storage",
        "onedrive-sharepoint",
        "microsoft-teams",
        "dynamics-365-sales",
        "copilot-studio-mcp",
        "power-automate",
        "foundry-local",
        "microsoft-mcp-server-enterprise",
        "microsoft-decision-1",
        "microsoft-decision-1-1",
        "microsoft-advertising-api",
        "microsoft-excel-graph",
        "outlook-mail-graph",
        "microsoft-graph-people",
        "fara1-5-27b",
        "fara1-5-4b",
        "fara1-5-9b",
        "mage-vl-cowork",
        "aion-1-0-instruct-2-3b",
        "microsoft-apm",
        "azure-ai-vision"
      ],
      "weights": {
        "trainedBy": "Microsoft",
        "params": "0.77B",
        "context": 4096,
        "goodFor": "Small prompt-driven vision tasks on modest hardware: captions, object boxes, grounded phrases, OCR with regions and referring segmentation, from one task token per call.",
        "runtimes": [
          "Transformers",
          "vLLM"
        ],
        "builds": [
          {
            "name": "Florence-2-large",
            "url": "https://huggingface.co/microsoft/Florence-2-large",
            "who": "publisher",
            "precision": "f16",
            "sizeGB": 1.54,
            "memoryGB": 8,
            "format": "safetensors",
            "runsOn": [
              "Transformers"
            ],
            "note": "0.77B parameters per the card, trained in float16. Size is the parameter count at 16 bits, not a file size read from the Hub. The repository also holds pytorch_model.bin"
          },
          {
            "name": "Florence-2-base",
            "url": "https://huggingface.co/microsoft/Florence-2-base",
            "who": "publisher",
            "precision": "f16",
            "sizeGB": 0.46,
            "memoryGB": 8,
            "format": "safetensors",
            "runsOn": [
              "Transformers"
            ],
            "note": "0.23B parameters per the card. Size is the parameter count at 16 bits"
          }
        ],
        "run": "pip install -U transformers accelerate pillow requests",
        "runBuild": "Florence-2-large (float16 safetensors)",
        "checked": "2026-12-01",
        "minMemoryGB": 8
      },
      "area": "developer",
      "provenance": {
        "legalEntity": "Microsoft",
        "domain": "microsoft.com",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "https://huggingface.co/microsoft/Florence-2-large/commits/main",
        "securityTxt": "valid",
        "checked": "2026-12-01",
        "notes": [
          "The files sit in Microsoft's microsoft organisation on Hugging Face, and the card is Microsoft's, citing its own technical report. Microsoft's company facts are carried from our other Microsoft listings.",
          "Nothing is hosted under this listing, so MIT stands in for terms of service and no privacy policy is scored.",
          "The changelog is the Hub's commit history, whose page wasn't read. The Hub's model information gives a last modification of 4 August 2025.",
          "microsoft.com/.well-known/security.txt is valid until 27 October 2027 and points to the Microsoft Security Response Center. The repository carries a SECURITY.md."
        ],
        "score": 72
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/florence-2.json"
    },
    "answer": "Florence-2 scores 48.5 (D) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep.",
    "b": {
      "slug": "segment-anything",
      "name": "Segment Anything (SAM 3.1)",
      "vendor": "Meta",
      "vendorUrl": "https://github.com/facebookresearch/sam3",
      "company": "meta.com",
      "kind": "weights",
      "category": "computer-vision",
      "summary": "Segment Anything is Meta's promptable segmentation model family. The newest, SAM 3.1, masks and tracks objects in images and video from a text phrase, boxes, points or masks. Weights are gated on Hugging Face, and Meta Model API hosts it.",
      "url": "https://www.anchorterminal.com/tools/segment-anything",
      "markdownUrl": "https://www.anchorterminal.com/tools/segment-anything.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/segment-anything.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/segment-anything.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/segment-anything.json",
      "dns": "segment-anything.grade.anchorterminal.com",
      "repo": "https://github.com/facebookresearch/sam3",
      "license": "SAM License, a custom Meta licence last updated 19 November 2025, for code and weights. Royalty-free and commercial use allowed, with prohibited uses beyond the law (military, nuclear, espionage, weapons) and terms Meta may change",
      "transports": [],
      "packages": [
        {
          "registry": "huggingface",
          "name": "facebook/sam3.1"
        },
        {
          "registry": "huggingface",
          "name": "facebook/sam3"
        }
      ],
      "auth": "none",
      "authNotes": "The SAM 3.1 weights are gated on Hugging Face with manual approval. A person signs in, gives a name, date of birth, country, affiliation and job title, and accepts the SAM License, then waits for Meta to approve. Nearly all of the 40 most recent discussions are people asking Meta to review or reset a rejected or pending request. The code needs a CUDA GPU. The hosted route is a bearer key from Meta Model API after a browser sign-up (checked 2026-12-01).",
      "pricing": "free",
      "pricingNotes": "The weights and code are free to download and use commercially under the SAM License once access is granted. Running them needs a CUDA GPU. Meta Model API serves SAM 3.1 as sam-3.1 at $2.50 per 1,000 images and $0.20 per 1,000 video frames, at least 50 frames a video request, with 3,000 requests a minute per team. No free allowance was found (checked 2026-12-01).",
      "priceSummary": "Free",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "Weights you run yourself, so there is no per-call payment protocol. Meta Model API bills a team account with a bearer key and lists no x402, MPP or L402 for sam-3.1 (checked 2026-12-01).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-12-01"
      },
      "docsUrl": "https://github.com/facebookresearch/sam3",
      "capabilities": [
        "vision.segment",
        "vision.track",
        "vision.detect"
      ],
      "tags": [
        "open-weights",
        "model",
        "vision",
        "segmentation",
        "video",
        "tracking",
        "open-vocabulary",
        "custom-licence",
        "gated",
        "pickle",
        "self-hosted",
        "hosted-api",
        "new"
      ],
      "lastRelease": "2026-03-27",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 34.7,
        "grade": "F",
        "agentReady": false,
        "rank": 0,
        "ranked": false,
        "notRankedWhy": "An open-weight model, graded by the open-weight checklist and ranked among open-weight models, not against tools",
        "rankOf": 1764,
        "categoryRank": 22,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "interface": 15,
          "reach": 45,
          "risk": 25,
          "upkeep": 48
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-12-01"
        },
        "negative": 0,
        "verdict": "Meta's newest promptable segmentation model, which masks and tracks every object matching a text phrase in images and video. The code is current and the licence allows commercial use. Access is the problem, since the checkpoint is a pickle behind manual approval, and Meta's own API is the practical route for most agents.",
        "bestFor": "Agents that need pixel masks and tracked objects from a text phrase, on a machine with a CUDA GPU or through Meta Model API",
        "strengths": [
          "Text, box, point and mask prompts for images and video in one model, with tracking through a clip",
          "Code updated 17 November 2026, and SAM 3.1 has a dated release note naming the Object Multiplex change",
          "The SAM License allows free commercial use, with the prohibited uses written in the licence file",
          "Meta Model API serves it as sam-3.1 at $2.50 per 1,000 images and $0.20 per 1,000 video frames",
          "Each earlier SAM version stays in its own repository"
        ],
        "weaknesses": [
          "The only weight file is a PyTorch pickle, with no safetensors build",
          "Hugging Face gates it with manual approval, and the recent discussions are mostly rejected requests with no Meta reply",
          "No Transformers, vLLM, llama.cpp or Ollama support for SAM 3.1, and no quantised build",
          "The licence bars military, nuclear, espionage and weapons uses and lets Meta change the terms at once",
          "The PyPI package named sam3 belongs to Roboflow, and the package metadata lists an MIT licence the repository doesn't carry"
        ],
        "agentNotes": [
          "Request access to facebook/sam3.1 on Hugging Face before anything else and expect a wait. Without a CUDA GPU, call Meta Model API's sam-3.1 instead",
          "Install from a clone of facebookresearch/sam3 with pip install -e . on Python 3.12 and PyTorch 2.7. Don't pip install sam3, which is Roboflow's package",
          "Send one short noun phrase per request. To find several kinds of object, send several requests, as Meta's hosted docs advise",
          "On the hosted API a video request bills at least 50 frames, so batch short clips",
          "Pull the latest code before loading SAM 3.1 checkpoints, since the README says they need it"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "F",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 34.7
          }
        ],
        "editorialScores": {
          "interface": 15,
          "reach": 45,
          "risk": 25,
          "upkeep": 48
        },
        "provenanceScore": 53,
        "checked": {
          "categories": {
            "interface": "2026-12-01",
            "reach": "2026-12-01",
            "risk": "2026-12-01",
            "upkeep": "2026-12-01"
          },
          "last": "2026-12-01",
          "oldest": "2026-12-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "git clone https://github.com/facebookresearch/sam3.git \u0026\u0026 cd sam3 \u0026\u0026 pip install -e .\n# needs Python 3.12, PyTorch 2.7 and a CUDA GPU. Request access to facebook/sam3.1 on Hugging Face first, then `hf auth login`",
        "http": "# Hosted route on Meta Model API, billed per image or frame\ncurl -N -X POST \"https://api.meta.ai/v1/responses\" \\\n  -H \"Authorization: Bearer $MODEL_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: text/event-stream\" \\\n  -d '{\"model\":\"sam-3.1\",\"stream\":true,\"input\":[{\"type\":\"message\",\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"yellow school bus\"},{\"type\":\"input_image\",\"image_url\":\"https://example.com/street.png\"}]}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/vision.segment",
        "tool": "https://letme.dev/segment-anything"
      },
      "sameCompany": [
        "meta-model-api",
        "muse-ember",
        "muse-spark-open",
        "llama-guard",
        "llamafirewall",
        "whatsapp-cloud-api",
        "astryx",
        "muse-code",
        "meta-marketing-api",
        "muse-glimmer-30b",
        "dinov3"
      ],
      "weights": {
        "trainedBy": "Meta",
        "builtOn": "SAM 3 (November 2025), with the SAM 2 tracker design",
        "params": "848M",
        "goodFor": "Open-vocabulary segmentation and tracking in images and video from text, box, point or mask prompts.",
        "runtimes": [],
        "builds": [
          {
            "name": "sam3.1_multiplex.pt",
            "url": "https://huggingface.co/facebook/sam3.1",
            "who": "publisher",
            "precision": "fp32",
            "sizeGB": 3.5,
            "memoryGB": 16,
            "format": "pytorch-pickle",
            "note": "The only weight file in facebook/sam3.1. Gated, manual approval. Meta's code, not Transformers, loads it"
          }
        ],
        "run": "git clone https://github.com/facebookresearch/sam3.git \u0026\u0026 pip install -e . (after access to facebook/sam3.1 is granted)",
        "runBuild": "sam3.1_multiplex.pt",
        "checked": "2026-12-01",
        "minMemoryGB": 16
      },
      "area": "developer",
      "unitPrices": [
        {
          "item": "Segment Anything 3.1 image segmentation (Meta Model API)",
          "unit": "image",
          "usd": 0.0025,
          "note": "$2.50 per 1,000 images. Video is billed per frame, $0.20 per 1,000 frames, at least 50 frames a request"
        }
      ],
      "provenance": {
        "legalEntity": "Meta Platforms, Inc., or Meta Platforms Ireland Limited in the EEA and Switzerland, per the SAM License",
        "domain": "github.com",
        "domainRegistered": "",
        "endpointOnVendorDomain": null,
        "terms": "https://github.com/facebookresearch/sam3/blob/main/LICENSE",
        "privacy": "https://www.facebook.com/privacy/policy/",
        "statusPage": "",
        "changelog": "https://github.com/facebookresearch/sam3/blob/main/RELEASE_SAM3p1.md",
        "securityTxt": "unknown",
        "checked": "2026-12-01",
        "notes": [
          "The weights and code are Meta's, since the repository is in the facebookresearch organisation, its README links the facebook organisation on Hugging Face, and the licence names Meta Platforms.",
          "Nothing in the weights is hosted by us. For the model graded here the SAM License stands in for terms of service. The privacy link is the Meta Privacy Policy the Hub gate form cites.",
          "The changelog is RELEASE_SAM3p1.md, dated 27 March 2026, plus the repository's commit history. The repository has no tags.",
          "ai.meta.com answered 400 to every page tried, so the project page and blog were not read. huggingface.co closed to our reader after a 401 on the model's commit history, so only the model page, its metadata and its discussion list were read.",
          "security.txt was not checked. The repository's CONTRIBUTING.md points security bugs to Meta's whitehat bounty."
        ],
        "score": 53
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/segment-anything.json"
    },
    "edges": [
      {
        "by": 45,
        "category": "interface",
        "leads": "florence-2",
        "name": "Agent interface",
        "reasons": {
          "a": "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).",
          "b": "Chat template 10, prompts are given as code. Tool-calling format 0 and trained tool calling 0, the model doesn't call tools. Structured output 5, the README names masks, boxes and scores without shapes. Reasoning control 0 and context 0, neither applies. 10 + 0 + 0 + 5 + 0 + 0 = 15. A segmentation model is read for what it takes and returns, and the hosted wire format is better documented than the weights' own."
        },
        "scores": {
          "a": 60,
          "b": 15
        }
      },
      {
        "by": 25,
        "category": "upkeep",
        "leads": "segment-anything",
        "name": "Documentation and upkeep",
        "reasons": {
          "a": "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.",
          "b": "Model card 8, no limitations, context length, languages or cut-off. Training data 5, a general description of the data engine with no sizes or cut-off. Last change 20, a commit 14 days before this check. Responsiveness 0, no Meta reply in the 40 most recent Hub discussions. Version policy 10, each version in its own repository with a dated release note. File health 5, the licence file and the package metadata disagree. 8 + 5 + 20 + 0 + 10 + 5 = 48."
        },
        "scores": {
          "a": 23,
          "b": 48
        }
      },
      {
        "by": 20,
        "category": "reach",
        "leads": "florence-2",
        "name": "Reach",
        "reasons": {
          "a": "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).",
          "b": "Memory 30, the 3.5 GB checkpoint needs about 4.2 GB with the fifth added. Runtimes 0, none of the six runs SAM 3.1 from a release we could read, and the Hub card says there's no Transformers integration. Builds 0, one 32-bit checkpoint. Terms 10, the SAM License allows free commercial use under prohibited uses beyond the law. Download 0, gated with manual approval. Hosted 5, Meta Model API serves it. 30 + 0 + 0 + 10 + 0 + 5 = 45."
        },
        "scores": {
          "a": 65,
          "b": 45
        }
      },
      {
        "by": 10,
        "category": "risk",
        "leads": "florence-2",
        "name": "Risk",
        "reasons": {
          "a": "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.",
          "b": "File safety 0, a pickle checkpoint and nothing else. Provenance 15, Meta's facebook organisation with a SHA-256 for the large file. Safety evaluation 0 and agent guidance 0, nothing found. Licence risk 5, 15 less 5 for field-of-use limits and 5 for terms Meta may change. Security programme 5, a whitehat route in CONTRIBUTING.md, advisories unchecked. 0 + 15 + 0 + 0 + 5 + 5 = 25."
        },
        "scores": {
          "a": 35,
          "b": 25
        }
      }
    ],
    "facts": [
      {
        "a": "Open-weight model",
        "b": "Open-weight model",
        "name": "Kind"
      },
      {
        "a": "Microsoft",
        "b": "Meta",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT",
        "b": "SAM License, a custom Meta licence last updated 19 November 2025, for code and weights. Royalty-free and commercial use allowed, with prohibited uses beyond the law (military, nuclear, espionage, weapons) and terms Meta may change",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2025-08-04",
        "b": "2026-03-27",
        "name": "Last release"
      },
      {
        "a": "no document linked",
        "b": "not read yet",
        "name": "Terms last updated"
      },
      {
        "a": "no document linked",
        "b": "couldn't be read",
        "name": "Privacy policy last updated"
      }
    ],
    "faq": [
      {
        "answer": "Florence-2 scores 48.5 (D) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep.",
        "question": "Which is better for AI agents, Florence-2 or Segment Anything (SAM 3.1)?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Reach, 65 against 45",
          "Risk, 35 against 25",
          "Agent interface, 60 against 15"
        ],
        "also": null,
        "goodFor": "Agents that need small local captioning, OCR with regions or box output from a task token, and can accept an older model",
        "slug": "florence-2",
        "watchFor": "The card's example runs repository code with trust_remote_code=True, and pytorch_model.bin sits beside the safetensors"
      },
      {
        "aheadOn": [
          "Documentation and upkeep, 48 against 23"
        ],
        "also": null,
        "goodFor": "Agents that need pixel masks and tracked objects from a text phrase, on a machine with a CUDA GPU or through Meta Model API",
        "slug": "segment-anything",
        "watchFor": "The only weight file is a PyTorch pickle, with no safetensors build"
      }
    ],
    "history": null,
    "job": {
      "capability": "vision.detect",
      "name": "Vision detect"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/dinov3-vs-florence-2.json",
        "title": "DINOv3 vs Florence-2",
        "url": "https://www.anchorterminal.com/compare/dinov3-vs-florence-2"
      },
      {
        "json": "https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.json",
        "title": "DINOv3 vs Segment Anything (SAM 3.1)",
        "url": "https://www.anchorterminal.com/compare/dinov3-vs-segment-anything"
      },
      {
        "json": "https://www.anchorterminal.com/compare/florence-2-vs-grounding-dino.json",
        "title": "Florence-2 vs Grounding DINO",
        "url": "https://www.anchorterminal.com/compare/florence-2-vs-grounding-dino"
      },
      {
        "json": "https://www.anchorterminal.com/compare/florence-2-vs-moondream.json",
        "title": "Florence-2 vs Moondream",
        "url": "https://www.anchorterminal.com/compare/florence-2-vs-moondream"
      },
      {
        "json": "https://www.anchorterminal.com/compare/florence-2-vs-paligemma.json",
        "title": "Florence-2 vs PaliGemma",
        "url": "https://www.anchorterminal.com/compare/florence-2-vs-paligemma"
      },
      {
        "json": "https://www.anchorterminal.com/compare/florence-2-vs-rf-detr.json",
        "title": "Florence-2 vs RF-DETR",
        "url": "https://www.anchorterminal.com/compare/florence-2-vs-rf-detr"
      },
      {
        "json": "https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo.json",
        "title": "Florence-2 vs Ultralytics YOLO",
        "url": "https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo"
      },
      {
        "json": "https://www.anchorterminal.com/compare/grounding-dino-vs-segment-anything.json",
        "title": "Grounding DINO vs Segment Anything (SAM 3.1)",
        "url": "https://www.anchorterminal.com/compare/grounding-dino-vs-segment-anything"
      },
      {
        "json": "https://www.anchorterminal.com/compare/moondream-vs-segment-anything.json",
        "title": "Moondream vs Segment Anything (SAM 3.1)",
        "url": "https://www.anchorterminal.com/compare/moondream-vs-segment-anything"
      },
      {
        "json": "https://www.anchorterminal.com/compare/paligemma-vs-segment-anything.json",
        "title": "PaliGemma vs Segment Anything (SAM 3.1)",
        "url": "https://www.anchorterminal.com/compare/paligemma-vs-segment-anything"
      },
      {
        "json": "https://www.anchorterminal.com/compare/rf-detr-vs-segment-anything.json",
        "title": "RF-DETR vs Segment Anything (SAM 3.1)",
        "url": "https://www.anchorterminal.com/compare/rf-detr-vs-segment-anything"
      },
      {
        "json": "https://www.anchorterminal.com/compare/segment-anything-vs-ultralytics-yolo.json",
        "title": "Segment Anything (SAM 3.1) vs Ultralytics YOLO",
        "url": "https://www.anchorterminal.com/compare/segment-anything-vs-ultralytics-yolo"
      }
    ],
    "panel": null,
    "scores": [
      {
        "key": "capability",
        "name": "Capability",
        "pending": true,
        "weight": 35
      },
      {
        "by": 20,
        "edge": "florence-2",
        "florence-2": 65,
        "key": "reach",
        "name": "Reach",
        "segment-anything": 45,
        "weight": 25
      },
      {
        "by": 10,
        "edge": "florence-2",
        "florence-2": 35,
        "key": "risk",
        "name": "Risk",
        "segment-anything": 25,
        "weight": 20
      },
      {
        "by": 45,
        "edge": "florence-2",
        "florence-2": 60,
        "key": "interface",
        "name": "Agent interface",
        "segment-anything": 15,
        "weight": 10
      },
      {
        "by": 25,
        "edge": "segment-anything",
        "florence-2": 23,
        "key": "upkeep",
        "name": "Documentation and upkeep",
        "segment-anything": 48,
        "weight": 10
      }
    ],
    "summary": "Florence-2 scores 48.5 (D) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep. Both do vision detect.",
    "tasks": null,
    "tutorials": [],
    "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.",
      "segment-anything": "Meta's newest promptable segmentation model, which masks and tracks every object matching a text phrase in images and video. The code is current and the licence allows commercial use. Access is the problem, since the checkpoint is a pickle behind manual approval, and Meta's own API is the practical route for most agents."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/florence-2-vs-segment-anything",
    "json": "https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.min.md"
  },
  "markdown": "Florence-2 scores 48.5 (D) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep. Both do vision detect.\n\n- 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\n- Segment Anything (SAM 3.1): grade F, 34.7/100, rank #182 of 184 open-weight models. Markdown https://www.anchorterminal.com/tools/segment-anything.md · JSON https://www.anchorterminal.com/api/v1/tools/segment-anything.json\n- Best computer vision models, APIs and labelling tools for AI agents: https://www.anchorterminal.com/best/computer-vision/index.md\n- All 118 computer vision comparisons: https://www.anchorterminal.com/compare/computer-vision/index.md\n\n## Which one, for what\n\n### Florence-2 (D)\n\nGood for: Agents that need small local captioning, OCR with regions or box output from a task token, and can accept an older model\n\nAhead on:\n- Reach, 65 against 45\n- Risk, 35 against 25\n- Agent interface, 60 against 15\n\nWatch for: The card's example runs repository code with trust_remote_code=True, and pytorch_model.bin sits beside the safetensors\n\n### Segment Anything (SAM 3.1) (F)\n\nGood for: Agents that need pixel masks and tracked objects from a text phrase, on a machine with a CUDA GPU or through Meta Model API\n\nAhead on:\n- Documentation and upkeep, 48 against 23\n\nWatch for: The only weight file is a PyTorch pickle, with no safetensors build\n\n\n## Why the edge\n\n### Agent interface: Florence-2 +45\n\n- 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).\n- Segment Anything (SAM 3.1) (15): Chat template 10, prompts are given as code. Tool-calling format 0 and trained tool calling 0, the model doesn't call tools. Structured output 5, the README names masks, boxes and scores without shapes. Reasoning control 0 and context 0, neither applies. 10 + 0 + 0 + 5 + 0 + 0 = 15. A segmentation model is read for what it takes and returns, and the hosted wire format is better documented than the weights' own.\n\n### Documentation and upkeep: Segment Anything (SAM 3.1) +25\n\n- 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.\n- Segment Anything (SAM 3.1) (48): Model card 8, no limitations, context length, languages or cut-off. Training data 5, a general description of the data engine with no sizes or cut-off. Last change 20, a commit 14 days before this check. Responsiveness 0, no Meta reply in the 40 most recent Hub discussions. Version policy 10, each version in its own repository with a dated release note. File health 5, the licence file and the package metadata disagree. 8 + 5 + 20 + 0 + 10 + 5 = 48.\n\n### Reach: Florence-2 +20\n\n- 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).\n- Segment Anything (SAM 3.1) (45): Memory 30, the 3.5 GB checkpoint needs about 4.2 GB with the fifth added. Runtimes 0, none of the six runs SAM 3.1 from a release we could read, and the Hub card says there's no Transformers integration. Builds 0, one 32-bit checkpoint. Terms 10, the SAM License allows free commercial use under prohibited uses beyond the law. Download 0, gated with manual approval. Hosted 5, Meta Model API serves it. 30 + 0 + 0 + 10 + 0 + 5 = 45.\n\n### Risk: Florence-2 +10\n\n- 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.\n- Segment Anything (SAM 3.1) (25): File safety 0, a pickle checkpoint and nothing else. Provenance 15, Meta's facebook organisation with a SHA-256 for the large file. Safety evaluation 0 and agent guidance 0, nothing found. Licence risk 5, 15 less 5 for field-of-use limits and 5 for terms Meta may change. Security programme 5, a whitehat route in CONTRIBUTING.md, advisories unchecked. 0 + 15 + 0 + 0 + 5 + 5 = 25.\n\n## Score by category\n\n| Category | Weight | Florence-2 | Segment Anything (SAM 3.1) | Edge |\n| --- | --- | --- | --- | --- |\n| Capability | 35%, pending | pending | pending | not scored in this run |\n| Reach | 25% | 65 | 45 | Florence-2 +20 |\n| Risk | 20% | 35 | 25 | Florence-2 +10 |\n| Agent interface | 10% | 60 | 15 | Florence-2 +45 |\n| Documentation and upkeep | 10% | 23 | 48 | Segment Anything (SAM 3.1) +25 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **48.5 · D** | **34.7 · F** | |\n\n## Facts side by side\n\n| Fact | Florence-2 | Segment Anything (SAM 3.1) |\n| --- | --- | --- |\n| Kind | Open-weight model | Open-weight model |\n| Vendor | Microsoft | Meta |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  |  |\n| Auth | None | None |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | MIT | SAM License, a custom Meta licence last updated 19 November 2025, for code and weights. Royalty-free and commercial use allowed, with prohibited uses beyond the law (military, nuclear, espionage, weapons) and terms Meta may change |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2025-08-04 | 2026-03-27 |\n| Terms last updated | no document linked | not read yet |\n| Privacy policy last updated | no document linked | couldn't be read |\n\n## Verdicts\n\n**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.\n\n**Segment Anything (SAM 3.1).** Meta's newest promptable segmentation model, which masks and tracks every object matching a text phrase in images and video. The code is current and the licence allows commercial use. Access is the problem, since the checkpoint is a pickle behind manual approval, and Meta's own API is the practical route for most agents.\n\n## Before you call either\n\n### Florence-2\n\n1. 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.\n2. Send one task token per call, such as \u003cOD\u003e or \u003cCAPTION\u003e, and pass the output to processor.post_process_generation with the task and the image size.\n3. Use float16 on a GPU and float32 on a CPU. The card says all models were trained in float16.\n4. 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.\n5. To find named things, use the caption to phrase grounding task with a caption. \u003cOD\u003e returns boxes with the labels the model learned.\n\n### Segment Anything (SAM 3.1)\n\n1. Request access to facebook/sam3.1 on Hugging Face before anything else and expect a wait. Without a CUDA GPU, call Meta Model API's sam-3.1 instead\n2. Install from a clone of facebookresearch/sam3 with pip install -e . on Python 3.12 and PyTorch 2.7. Don't pip install sam3, which is Roboflow's package\n3. Send one short noun phrase per request. To find several kinds of object, send several requests, as Meta's hosted docs advise\n4. On the hosted API a video request bills at least 50 frames, so batch short clips\n5. Pull the latest code before loading SAM 3.1 checkpoints, since the README says they need it\n\n## Questions\n\n### Which is better for AI agents, Florence-2 or Segment Anything (SAM 3.1)?\n\nFlorence-2 scores 48.5 (D) on agent readiness against Segment Anything (SAM 3.1)'s 34.7 (F), and leads in 3 of 4 scored categories. Segment Anything (SAM 3.1) leads on documentation and upkeep.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.json, and with the fewest tokens: https://www.anchorterminal.com/compare/florence-2-vs-segment-anything.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"florence-2\", \"b\": \"segment-anything\"}`. From a terminal: `anchor compare florence-2 segment-anything`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/florence-2.json and https://www.anchorterminal.com/api/v1/tools/segment-anything.json\n\n## Other comparisons with Florence-2 or Segment Anything (SAM 3.1)\n\n- [DINOv3 vs Florence-2](https://www.anchorterminal.com/compare/dinov3-vs-florence-2.md)\n- [DINOv3 vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/dinov3-vs-segment-anything.md)\n- [Florence-2 vs Grounding DINO](https://www.anchorterminal.com/compare/florence-2-vs-grounding-dino.md)\n- [Florence-2 vs Moondream](https://www.anchorterminal.com/compare/florence-2-vs-moondream.md)\n- [Florence-2 vs PaliGemma](https://www.anchorterminal.com/compare/florence-2-vs-paligemma.md)\n- [Florence-2 vs RF-DETR](https://www.anchorterminal.com/compare/florence-2-vs-rf-detr.md)\n- [Florence-2 vs Ultralytics YOLO](https://www.anchorterminal.com/compare/florence-2-vs-ultralytics-yolo.md)\n- [Grounding DINO vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/grounding-dino-vs-segment-anything.md)\n- [Moondream vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/moondream-vs-segment-anything.md)\n- [PaliGemma vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/paligemma-vs-segment-anything.md)\n- [RF-DETR vs Segment Anything (SAM 3.1)](https://www.anchorterminal.com/compare/rf-detr-vs-segment-anything.md)\n- [Segment Anything (SAM 3.1) vs Ultralytics YOLO](https://www.anchorterminal.com/compare/segment-anything-vs-ultralytics-yolo.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-12-01",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Florence-2 vs Segment Anything (SAM 3.1)",
        "url": ""
      }
    ],
    "description": "Florence-2 scores 48.5 (D) to Segment Anything's 34.7 (F) for vision detect. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Florence-2 D 48.5",
      "Segment Anything (SAM 3.1) F 34.7",
      "scores"
    ],
    "h1": "Florence-2 vs Segment Anything (SAM 3.1)",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/florence-2-vs-segment-anything",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Florence-2 vs Segment Anything for AI agents (2026) | Anchor Terminal",
    "toc": null,
    "updated": "2026-12-01",
    "url": "https://www.anchorterminal.com/compare/florence-2-vs-segment-anything"
  },
  "tokens": {
    "markdown": 2750,
    "slim": 780
  },
  "version": 1
}
