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

Sophon-Realtime 4B Flash vs Baidu Unlimited-OCR-2

Baidu Unlimited-OCR-2 scores 54.2 (C) on agent readiness against Sophon-Realtime 4B Flash's 53.1 (D), and leads in 1 of 4 scored categories. Sophon-Realtime 4B Flash leads on reach and documentation and upkeep. Both do open-weight models you run yourself.

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

Which one, for what

Sophon-Realtime 4B Flash D

Best for Voice agents and assistants on your own GPU that need natural turn-taking more than deep knowledge

Ahead on

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

Watch for

The 4B calls no tools and knows much less than the 32B builds, per the card

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 15

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.

Agent interface Baidu Unlimited-OCR-2 +60

Sophon-Realtime 4B Flash 15

Chat template 15, spoken in and out through an OpenAI Realtime-compatible WebSocket (ws://host:8000/v1/realtime) and /v1/chat/completions with audio in and text and audio out, documented in the repository's flash/README.md; no text chat template is the interface. Tool-calling format 0, the card says the 4B doesn't call tools. Trained tool calling 0, not trained for tool calls in the 4B; the 32B builds are. Structured output 0, speech out, with sound tags (laughs, sighs) in the tagged reply; no structured output. Reasoning control 0, no thinking mode. Context 0, the context length isn't stated on the card. 15 + 0 + 0 + 0 + 0 + 0 = 15.

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 Sophon-Realtime 4B Flash +15

Sophon-Realtime 4B Flash 70

Memory 25, about 13 GB of files (an 8.4 GB thinker in BF16, a 3.9 GB talker and a 0.7 GB speech tokeniser), and the card says it uses about 21 GB on one 24 GB GPU. Runtimes 5, a custom architecture (SophonRealtimeForConditionalGeneration) served by vLLM-Omni 0.30 with the publisher's plugin, from its own install script; no stock runtime, llama.cpp, Ollama or LM Studio runs it (5). Builds 10, the publisher's 4-bit MLX build for Macs with 16 GB or more, beside the BF16 set, and two community quantisations in the model tree. Terms 15, Apache 2.0, with a NOTICE naming the sources of the bundled weights. Download 10, the Hub API reports gated false on 2 December 2026, so the files download with no account. Hosted 5, the publisher runs a hosted API (three hours free, per the card), a phone number to call it and a Hugging Face Space. 25 + 5 + 10 + 15 + 10 + 5 = 70.

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.

Documentation and upkeep Sophon-Realtime 4B Flash +15

Sophon-Realtime 4B Flash 65

Model card 15, intended use, limits, languages (best in Chinese and English, usable in five more), hardware and memory, with a known-limits line; no context length or knowledge cut-off. Training data 5, the card says the 4B brain is the publisher's DuplexJev-4B-Para with a tag-writing adapter merged in, and a NOTICE names the bundled weights' sources, but the training data isn't described. Last change 20, files last changed 2 December 2026, per the Hub API. Responsiveness 5, 12 community discussions on the Hub; replies weren't counted for this run. Version policy 10, versioned weights (1.4.0) and code (1.6.3), with a changelog. File health 10, config, thinker and talker files agree with the card's layout, and no broken-file report waits. 15 + 5 + 20 + 5 + 10 + 10 = 65.

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

Score by category

CategoryWeightSophon-Realtime 4B FlashBaidu Unlimited-OCR-2Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%7055Sophon-Realtime 4B Flash +15
Risk20%4545even
Agent interface10%1575Baidu Unlimited-OCR-2 +60
Documentation and upkeep10%6550Sophon-Realtime 4B Flash +15
Negative events≤1500
TotalD 53.1/100C 54.2/100

Facts side by side

FactSophon-Realtime 4B FlashBaidu Unlimited-OCR-2
KindOpen-weight modelOpen-weight model
VendorAdventists AIBaidu
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT (Hub metadata; the Hugging Face repository has no LICENSE file, and the GitHub code repository's LICENSE is the MIT text, copyright 2026 Baidu)
Tools exposed0none
Read-only variant documentednono
llms.txtnono
Last release2026-12-022026-10-26
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked

How the scores have moved

Verdicts

Sophon-Realtime 4B Flash

An open full-duplex voice model that listens while you talk, answers in about 0.2 seconds and stops when you cut in, under Apache 2.0, on one 24 GB GPU or a 16 GB Mac. The 4B calls no tools, runs only through the publisher's vLLM-Omni plugin, and its results are the publisher's own so far.

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

Sophon-Realtime 4B Flash

  1. Use the 32B builds when answers have to be right, as the publisher says
  2. Connect over the OpenAI Realtime-compatible WebSocket at /v1/realtime
  3. Clone only your own voice or one you have permission to use

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, Sophon-Realtime 4B Flash or Baidu Unlimited-OCR-2?

Baidu Unlimited-OCR-2 scores 54.2 (C) on agent readiness against Sophon-Realtime 4B Flash's 53.1 (D), and leads in 1 of 4 scored categories. Sophon-Realtime 4B Flash leads on reach and documentation and upkeep.

Other comparisons with Sophon-Realtime 4B 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.