noupload — background removal model benchmark

MODNet (fast tier) vs BiRefNet Lite (quality tier). Same 4 images, same machine (M4). Matte composited on checkerboard.

Model facts

MODNet fp16BiRefNet Lite fp32
Download (one-time)12.4 MB213.6 MB
Input512×5121024×1024
Load0.63 s2.1 s
Per image (avg of 3)1.48 s — in-browser, Chrome CPU (wasm)11.1 s — native onnxruntime CPU (M4). Browser wasm build: over 4 min/image single-threaded, needs WebGPU to be usable
Edge qualitygood on portraits, weak on fur and general objectsexcellent — hair, fur, complex edges
Scopeportraits/humans onlygeneral: objects, animals, products
LicenseApache 2.0MIT

Verdict

MODNet is ~7.5x lighter and ~7.5x faster, but portraits only. BiRefNet Lite is the quality king for everything (hair, fur, objects) and it is MIT licensed — no traps. Recommendation for noupload: two tiers — MODNet as the instant preview, BiRefNet Lite as the export pass, shipped with WebGPU only. Measured without WebGPU (plain CPU wasm), BiRefNet took over 4 minutes per image in a tab, so WebGPU is not optional for this model.

Timing environment: same M4 machine. MODNet: Chrome browser, wasm CPU. BiRefNet: native onnxruntime CPU (the browser wasm path was not viable — that itself is the finding). First-run model downloads are cached by the browser after initial use.

Side by side

Original — Portrait (hair detail)
MODNet — 1476 ms/image
BiRefNet Lite — 11.78 s/image
Original — Dog (fur edges)
MODNet — 1477 ms/image
BiRefNet Lite — 11.68 s/image
Original — Cat (fur edges)
MODNet — 1482 ms/image
BiRefNet Lite — 11.11 s/image
Original — Random scene
MODNet — 1476 ms/image
BiRefNet Lite — 10.78 s/image

Generated 2026-09-14 — inputs resized to model resolution, matte composited on checkerboard.