Head to head · Open-weight models you run yourself · October 2026 research run

LingSante-3.1-flash vs Baidu Unlimited-OCR-2

LingSante-3.1-flash scores 61 (C) on agent readiness against Baidu Unlimited-OCR-2's 54.2 (C), and leads in 3 of 4 scored categories. Baidu Unlimited-OCR-2 leads on agent interface. Both do open-weight models you run yourself.

Best open-weight models you download and run yourself for AI agents · All 7052 open weights comparisons

Which one, for what

LingSante-3.1-flash C

Best for Research teams with a multi-GPU server that want an MIT-licensed model for medical evidence work and tool-using medical agents, with human review

Ahead on

  • Reach, 65 against 55
  • Risk, 60 against 45
  • Documentation and upkeep, 69 against 50

Watch for

Even the MXFP4 build is 313 GB, so no machine under about 376 GB of GPU memory runs it

Baidu Unlimited-OCR-2 C

Best for Pipelines with an NVIDIA GPU that need long scanned or rendered documents parsed in one pass, with page order, cross-page tables and boxes kept

Ahead on

  • Agent interface, 75 against 60

Watch for

Loading runs Baidu's code, remote code in Transformers or a prebuilt SGLang fork from the repository, and the save_results path calls eval on model output

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 LingSante-3.1-flash +19

LingSante-3.1-flash 69

Model card 14, Intended use, limitations, architecture, parameters (560B total, 25B active) and context (1M claimed) are on the card. Languages and a knowledge cut-off are missing, 3 off each. Training data 5, A general description, general and medical data mixed through pretraining, mid-training and fine-tuning, then reinforcement learning and distillation, with no sources, sizes or cut-off. The card links no training-content summary for this model. Last change 20, The newest commit, on 23 November 2026, edited the card, the day of this check. The weights went up on 22 November. Responsiveness 20, The one discussion, opened on 22 November 2026, has three replies from an inclusionAI organisation member on 23 November. Counted by author flags and dates with a script, text not read. Version policy 5, The earlier healthcare release, Ling-3.0-flash-Sante, stays in its own repository and the card names it under Model Lineage, with no date or note that it was replaced. File health 5, The card states a 1M-token context while config.json gives 262,144 with no rope scaling, and the MXFP4 card says 262,144. The repository also holds a 38-byte placeholder file, clean-success-aistudio-atxqtbaa.txt. The one discussion has replies. 14 + 5 + 20 + 20 + 5 + 5 = 69.

Baidu Unlimited-OCR-2 50

The card covers intended use and the new attention, and misses limitations, parameters, context length, languages and a cut-off (5). Training data is described by mix and labelling with no datasets named and no cut-off (5). The card changed on 2 November 2026 and the SGLang wheel on 29 October (20). Baidu's uploader replied in 1 of the 5 Hub discussions, a few (5). The first model stays in its own repository without a note pointing here (5), and the files agree with the card (10).

Risk LingSante-3.1-flash +15

LingSante-3.1-flash 60

File safety 15, Safetensors only in both repositories, no .bin, .pt or .pth files (25), less 10 because the card's vLLM command and the MXFP4 card's SGLang command pass --trust-remote-code, which runs the repository's configuration_bailing_moe_v3.py and modeling_bailing_moe_v3.py. The card's SGLang command for the FP8 release doesn't need it. Provenance 15, Files in the inclusionAI organisation that www.inclusion-ai.org links to (10). Every one of the 54 shards has a SHA-256 on the Hub, and every one of the MXFP4 build's 153 (5). Safety evaluation 0, The card's text says the model did well on internal evaluations that include safety, with no numbers. Its results are in two chart images, which weren't read, so no published safety result was found. Agent guidance 15, The card's responsible-use section says search results and tool outputs can contain malicious instructions, and tells the reader to use least-privilege tool access, auditable execution and human approval for consequential actions. That is prompt-injection guidance for an agent using tools. It also says the model must not diagnose, prescribe, set treatment or triage on its own. Licence risk 15, MIT with no use policy, no field-of-use limits, no threshold and no clause letting inclusionAI change or revoke it. No LICENSE file is linked, so there's no broken link. Security programme 0, www.inclusion-ai.org answers 404 for security.txt on 23 November 2026, and our other inclusionAI listings found no SECURITY.md or disclosure policy in the inclusionAI .github repository. No advisories found. 15 + 15 + 0 + 15 + 15 + 0 = 60.

Baidu Unlimited-OCR-2 45

File safety gets 15, safetensors only but loaded with trust_remote_code or through a prebuilt SGLang wheel from the repository. Provenance gets 15 for files in Baidu's verified organisation, linked from its GitHub organisation, with hashes for every file. Licence risk keeps 15, since MIT has none of the deductions. Safety evaluation, agent guidance and the security programme score 0, with no safety results, no cautions about use and no security contact found.

Agent interface Baidu Unlimited-OCR-2 +15

LingSante-3.1-flash 60

Chat template 20, chat_template.jinja in the repository (5,984 bytes), which handles tools, the thinking switch and preserved reasoning, and is the same size as the MXFP4 build's. Tool-calling format 10, Only the template says how tools are declared (JSON in a tools block) and how calls come back (the function name with arg_key and arg_value pairs). The cards name --tool-call-parser ling3 but don't describe the format, and send readers to SGLang's cookbook for tool calling, as on the Ling-3.1-flash-1019 listing. Trained tool calling 20, The template tells the model it may call one or more functions and loops over every entry in an assistant message's tool_calls, and the card says reinforcement learning covered tool use and search for long medical workflows. Structured output 0, The card lists structured information extraction as an intended use but doesn't document JSON or JSON Schema output or how to ask for it. Reasoning control 0, The card turns thinking on per request with chat_template_kwargs enable_thinking, and the template leaves it off otherwise, but the card doesn't say where the reasoning text comes back. Read as on the Ling-3.0-tiny and Ling-3.1-flash-1019 listings. Context 10, 262,144 tokens natively in config.json (max_position_embeddings 262144, rope_scaling null), and the MXFP4 card states the same. The 1M the card states isn't counted. 20 + 10 + 20 + 0 + 0 + 10 = 60.

Baidu Unlimited-OCR-2 75

Read for a document parser, the tool-calling, trained tool calling and structured-output lines stand for what it takes and returns. Baidu documents the page images, the prompt, the request settings and the block output, and ships a converter for the server's output (25). It was trained to read many pages in one request (20). The block format with classes, boxes and HTML tables, and its conversion to Markdown, are documented with how to get them (15). The prompt is built in code, with no Jinja template in the repository (10). Reasoning control scores 0, and the context 5, trained at up to 64K tokens.

Reach LingSante-3.1-flash +10

LingSante-3.1-flash 65

Memory 0, inclusionAI's smallest build is the MXFP4 repository at 313.23 GB, × 1.2 = 375.9 GB, above 256 GB. The FP8 release is 573.82 GB, × 1.2 = 688.6 GB. No runtime's library has a build. Runtimes 25, Released model code in Transformers 5.24.0 (bailing_hybrid in its auto mappings), vLLM 0.34.0 (BailingMoeV3ForCausalLM in its registry), SGLang 0.5.23 (bailing_moe_v3.py) and llama.cpp b12653 (bailingmoe3), and Ollama v0.40.17, which pins llama.cpp b12257, whose architecture list has bailingmoe3. The card says the model keeps Ling-3.1-flash's architecture, and config.json names the same class. The card's own recipes use a day-0 SGLang image and a vLLM branch, which don't count. Five at 5 each. Builds 15, Two quantised precisions from inclusionAI, the FP8 release and the MXFP4 build in inclusionAI/LingSante-3.1-flash-MXFP4, published on 22 November 2026. No GGUF from inclusionAI. Terms 15, MIT in both cards' metadata, with no use policy or other terms added on the cards or in the repositories. No LICENSE file, so the licence is scored by its terms, as on the Ling-3.1-flash-1019 listing. Download 10, The Hub API's model information gives gated false for both repositories on 23 November 2026, so the files download with no account and no terms to accept. Hosted 0, The Hub API's provider mapping is empty for this repository on 23 November 2026. The card links a Computrix API page, which renders only with JavaScript and wasn't read, so who serves it there, and whether Computrix is inclusionAI's own, wasn't established. 0 + 25 + 15 + 15 + 10 + 0 = 65.

Baidu Unlimited-OCR-2 55

Memory earns the full 30, since the only build is 6.69 GB of BF16 weights that need about 8 GB with the fifth added. Runtimes score 0. Released vLLM 0.33.0, SGLang 0.5.23 and Transformers 5.22.1 know the first Unlimited-OCR but not the sparse attention this one adds, Baidu's own routes are remote code in Transformers and a customised SGLang wheel, llama.cpp b12111 has nothing for it, so Ollama has nothing either, and LM Studio couldn't be checked. Builds score 0, as Baidu publishes no quantised build (16 exist, all by others). Terms get 15 for MIT with nothing added. Download gets 10 for an ungated repository, and hosted too 0, with no inference provider mapped and the card's Baidu Cloud line unconfirmed.

Score by category

CategoryWeightLingSante-3.1-flashBaidu Unlimited-OCR-2Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6555LingSante-3.1-flash +10
Risk20%6045LingSante-3.1-flash +15
Agent interface10%6075Baidu Unlimited-OCR-2 +15
Documentation and upkeep10%6950LingSante-3.1-flash +19
Negative events≤1500
TotalC 61/100C 54.2/100

Facts side by side

FactLingSante-3.1-flashBaidu Unlimited-OCR-2
KindOpen-weight modelOpen-weight model
VendorinclusionAI (Ant Group)Baidu
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITMIT (Hub metadata; the Hugging Face repository has no LICENSE file, and the GitHub code repository's LICENSE is the MIT text, copyright 2026 Baidu)
Read-only variant documentednono
llms.txtnono
Last release2026-11-232026-10-26
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked

How the scores have moved

Verdicts

LingSante-3.1-flash

inclusionAI's medical mixture of experts, 560B under plain MIT, which released vLLM, SGLang, Transformers and llama.cpp run. The card gives clear limits on clinical use and warns about injected instructions in tool output. It needs a multi-GPU server even in MXFP4, overstates its context, documents little about tool calls and publishes no safety results.

Baidu Unlimited-OCR-2

An MIT document parser of 3.3B parameters that reads up to hundreds of pages in one request and returns ordered layout blocks with boxes and HTML tables. ParseBench's independent run puts content faithfulness at 89.16 and charts at 1.06. It needs an NVIDIA GPU with about 12 GB and runs only through Baidu's remote code or its own SGLang build.

Before you call either

LingSante-3.1-flash

  1. Do not use its output to diagnose, prescribe or triage without a qualified person reviewing it, per the card
  2. Serve it with SGLang 0.5.23 or later on 8 H200 or 4 GB300 GPUs, per the card
  3. Set chat_template_kwargs enable_thinking true, which the card recommends. The template leaves thinking off by default
  4. With vLLM pass --trust-remote-code, --tool-call-parser ling3 and --reasoning-parser ling3
  5. Plan on 262,144 tokens of context, not the 1M on the card
  6. Give its tools least privilege and treat search results and tool output as untrusted, per the card

Baidu Unlimited-OCR-2

  1. Quickest local run, pip install torch==2.13.0 torchvision pillow transformers==4.52.1 huggingface-hub==0.36.0 tokenizers==0.21.4 addict==2.4.0 einops==0.8.2 easydict==1.13, then AutoModel.from_pretrained("baidu/Unlimited-OCR-2", trust_remote_code=True, use_safetensors=True, torch_dtype=torch.bfloat16).eval().cuda() and model.infer_multi(tokenizer, image_files=pages, output_path="out")
  2. To serve it, download the repository, install wheel/sglang-0.5.20.dev13+g75b9b06b02-py3-none-any.whl with pymupdf and fastokens in a Python 3.10 venv, and start python -m sglang.launch_server --model-path baidu/Unlimited-OCR-2 --chat-template unlimited-ocr --enable-custom-logit-processor --enable-streaming-session --disable-radix-cache --mem-fraction-static 0.7 --max-prefill-tokens 2048 with the SGLANG_UOCR_ variables from the card
  3. Send all pages of a document in one request, images first, then the text <PAGE><image> repeated per page and Multi page parsing., with temperature 0, skip_special_tokens false, max_tokens of about 8,000 per page and the DeepseekOCRNoRepeatNGramLogitProcessor (ngram_size 35, window_size 1024 for several pages)
  4. The output is layout blocks, not Markdown; run utils/process_unlimitedOCR2.py from github.com/baidu/Unlimited-OCR, or convert(raw_output) in Python, to get Markdown with HTML tables
  5. Render PDFs to images first (the card uses PyMuPDF at 300 DPI), keep save_results off for untrusted documents, and treat extracted text as untrusted before passing it to another model

Questions

Which is better for AI agents, LingSante-3.1-flash or Baidu Unlimited-OCR-2?

LingSante-3.1-flash scores 61 (C) on agent readiness against Baidu Unlimited-OCR-2's 54.2 (C), and leads in 3 of 4 scored categories. Baidu Unlimited-OCR-2 leads on agent interface.

Other comparisons with LingSante-3.1-flash or Baidu Unlimited-OCR-2

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.