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

Aion-1.0-Instruct-2.3B vs Baidu Unlimited-OCR-2

Aion-1.0-Instruct-2.3B 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

Aion-1.0-Instruct-2.3B C

Best for Summarising, rewriting and short question answering on a laptop or in a browser, under MIT, where a small model is enough

Ahead on

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

Watch for

Custom architecture that vLLM, SGLang, llama.cpp and Ollama don't run, and Transformers only through the repository's code

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 55

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.

Risk Aion-1.0-Instruct-2.3B +25

Aion-1.0-Instruct-2.3B 70

File safety 15, Safetensors only, no .bin, .pt or .pth files (25), less 10 because the card's documented way to load it is trust_remote_code=True, which runs the repository's configuration_aion_instruct.py and modeling_aion_instruct.py. Provenance 15, Files in Microsoft's microsoft organisation on Hugging Face, which the card ties to the Applied Sciences Group of Microsoft Windows and Devices with an aioninstruct@microsoft.com contact (10). The weights file has a SHA-256 on the Hub and the ONNX data file too (5). The first commit duplicated the repository from asgmodels/Aion-Instruct-v1, which isn't public. Safety evaluation 10, The card publishes Microsoft's own safety benchmark scores as a bar chart, normalised so higher is better, and names cross-prompt injection (XPIA), DIC and ECI among the metrics to improve. No one else ran them, and how to rerun them isn't given. The chart image wasn't read for its numbers. Agent guidance 5, General cautions only. The card says the model may be susceptible to adversarial attacks and doesn't understand every attempt to induce unsafe behaviour, lists out-of-scope uses, and says Windows will pair it with a local content moderation model. It gives no prompt-injection guidance for agents and doesn't say what its trained refusals cover. Licence risk 15, MIT with no use policy, threshold or change clause, and a LICENSE file the card links. Security programme 10, The GitHub repository the card links has a SECURITY.md, Microsoft's standard route to MSRC (5), and MSRC publishes advisories in public, as recorded on our other Microsoft listings (5). 15 + 15 + 10 + 5 + 15 + 10 = 70.

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

Aion-1.0-Instruct-2.3B 55

Chat template 20, chat_template.jinja in the repository (4,286 bytes), which handles system, user, assistant and tool turns, and stops with an error when any message contains one of its control tokens. Tool-calling format 15, The card documents how tools are declared (JSON between <|tool|> and <|/tool|>) and how calls come back (<|tool_call|> holding a JSON name and arguments) and where results go. It names no parser for any runtime, so it sits between the 10 for a template-only format and the 25 for a format with its parser. Trained tool calling 20, The template tells the model it may call one or more functions and writes every entry in an assistant message's tool_calls as its own block. The card gives no tool-calling results. Structured output 0, The card doesn't document JSON or JSON Schema output. Reasoning control 0, An instruction-tuned model with no thinking mode in the card or the template, so there is nothing to turn off or budget. The checklist has no not-applicable rule, as on the LFM3 Omni listing. Context 0, 32,768 tokens per the card and config.json, which puts it in the 32K band (5). The full-attention layers reach it with YaRN, factor 16 on 2,048 original positions (original_max_position_embeddings 2048), so it counts one band down. Training at 32K isn't stated. 20 + 15 + 20 + 0 + 0 + 0 = 55.

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.

Documentation and upkeep Aion-1.0-Instruct-2.3B +20

Aion-1.0-Instruct-2.3B 70

Model card 20, Intended use, out-of-scope use and limitations, the architecture, the parameters (about 2.29B), the context (32,768 tokens), eight languages and a knowledge cut-off (2025-12) are all on the card. Training data 15, The card names the kinds of source (public documents filtered for quality, synthetic data for maths, coding, reasoning and general knowledge), part of the mix (multilingual data about 6 per cent), its relation to Phi Silica's data, the filtering and the knowledge cut-off, without datasets or sizes. Last change 20, The last commit, on 18 November 2026, edited the card and removed two images, five days before this check. Responsiveness 0, None of the 3 discussions, opened on 20 and 23 November 2026, has a reply from anyone, Microsoft included. Counted by author flags, comment counts and dates with a script, text not read. Version policy 5, A first release. The card says quantised versions will follow and that a further optimised version will ship in Windows. File health 10, config.json, the template and the card agree on 28 layers (21 sliding-window, 7 full attention), 32,768 tokens, the vocabulary and the 2025-12 cut-off, and no discussion has been answered to say a file is broken. The card's list of library names includes GGUF, which isn't public, and is noted under the builds. 20 + 15 + 20 + 0 + 5 + 10 = 70.

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

Reach Aion-1.0-Instruct-2.3B +10

Aion-1.0-Instruct-2.3B 65

Memory 30, Microsoft's smallest build is the INT4 ONNX repository at 1.29 GB, × 1.2 = 1.6 GB, within 16 GB. The BF16 release is 4.58 GB, × 1.2 = 5.5 GB, also within 16 GB. Runtimes 0, None of the six runs the architecture from its own code in a released version. Transformers 5.24.0's auto mappings have no aion_instruct, so it loads only Microsoft's remote code (0). vLLM 0.34.0's registry, SGLang 0.5.23's models and llama.cpp b12653's architecture list have nothing for it, so Ollama v0.40.17, which pins llama.cpp b12257, has nothing either. LM Studio wasn't checked, and with no llama.cpp or MLX support it has no engine to run it. ONNX Runtime GenAI, which runs Microsoft's ONNX build, isn't one of the six. Builds 10, One quantised precision from Microsoft, the INT4 ONNX build exported from a quantisation-aware-trained checkpoint. Its card links a GGUF and an NPU build under asgmodels, which answered 401 on 23 November 2026, so they aren't public and aren't counted. Terms 15, MIT, in a LICENSE file in the repository and in the card's metadata, with nothing added. The card says its out-of-scope list doesn't restrict the licence. 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 on 23 November 2026, and the card names no Microsoft API that serves it. The card says a further optimised version will ship in Windows by the end of January 2027, which is on-device, not hosted. 30 + 0 + 10 + 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

CategoryWeightAion-1.0-Instruct-2.3BBaidu Unlimited-OCR-2Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6555Aion-1.0-Instruct-2.3B +10
Risk20%7045Aion-1.0-Instruct-2.3B +25
Agent interface10%5575Baidu Unlimited-OCR-2 +20
Documentation and upkeep10%7050Aion-1.0-Instruct-2.3B +20
Negative events≤1500
TotalC 61/100C 54.2/100

Facts side by side

FactAion-1.0-Instruct-2.3BBaidu Unlimited-OCR-2
KindOpen-weight modelOpen-weight model
VendorMicrosoftBaidu
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-182026-10-26
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked

How the scores have moved

Verdicts

Aion-1.0-Instruct-2.3B

Microsoft's 2.3B on-device model, a preview of the next Windows small language model, under plain MIT with a full card, a documented tool-call format and a 1.3 GB INT4 ONNX build. No mainstream runtime runs its custom architecture without the repository's own code, it has no reasoning mode, and no question on the repository has an answer.

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

Aion-1.0-Instruct-2.3B

  1. Review modeling_aion_instruct.py before loading it, because the card's loading code needs trust_remote_code=True
  2. Remove chat control tokens such as <|tool_call|> from user and tool text before you apply the template. The template stops with an error if it finds them
  3. Parse tool calls from <|tool_call|> blocks yourself. No runtime parser is named
  4. Keep prompt and output within 32,768 tokens
  5. Treat retrieved and tool text as untrusted. The card names cross-prompt injection as a weakness
  6. For a browser or a GPU without PyTorch, use the INT4 ONNX build with ONNX Runtime GenAI 0.14.1

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, Aion-1.0-Instruct-2.3B or Baidu Unlimited-OCR-2?

Aion-1.0-Instruct-2.3B 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 Aion-1.0-Instruct-2.3B 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.