Can InsightFace models be used commercially?
No, not without a separate commercial licence. While the InsightFace Python repository is published under the MIT licence, its pretrained model packs (including buffalo_l and antelopev2) are explicitly restricted to non-commercial research purposes only.
Installing the package via pip automatically downloads those non-commercial weights, which commonly fails commercial compliance and M&A audits.
Facts read on 26 November 2026. Sources are at the foot of the page. This is not legal advice.
The licence in one table
| What it is | An open-source face detection, alignment and recognition toolkit (deepinsight/insightface), pulling over 947,000 monthly PyPI downloads. |
|---|---|
| Code licence | MIT licence for the Python and C++ source code in the repository. |
| Pretrained weights | Strictly non-commercial research only. The repository notes that pretrained models are available for non-commercial research purposes only. |
| Auto-download trap | Calling pip install insightface and loading default packs (buffalo_l, antelopev2) fetches non-commercial weights at runtime even though the wrapper code is MIT. |
| Training provenance | Pretrained face recognition and detection checkpoints rely on academic and scraped celebrity datasets (such as MS-Celeb and WebFace) with no commercial consent chain. |
What is unclear
- Whether fine-tuning or distilling from InsightFace’s non-commercial weights still binds derivative checkpoints to the non-commercial restriction.
- Whether downstream MIT-licensed face-blurring CLIs that pull InsightFace or Ultralytics AGPL-3.0 weights at runtime pass enterprise vendor diligence. Ask a lawyer.
- What privacy and biometric rights remain with the people photographed in scraped upstream training corpora.
What to use
| Non-commercial academic research | InsightFace works out of the box within its research-only weight terms. |
|---|---|
| Simple single-frame frontal face detection on CPU | Google MediaPipe Face Detector (Apache-2.0) or OpenCV YuNet (MIT), which cover faces only with no plate or screen classes. |
| Commercial video redaction with clean provenance | Milliframe pii-video ships free Apache-2.0 Nano for faces and plates. Paid Pro ($0.08/$0.05 a minute in Cloud, or from $499/mo in a --network=none VPC) adds screens, badges, multi-frame tracking and NDA DATA_BOM.json. |
Sources
Read on 26 November 2026.
Related
| pii-video | Apache-2.0 Nano and --network=none Pro video redaction |
|---|---|
| Can Meta EgoBlur be used commercially? | Apache-2.0 face and plate blur, and where single-frame ends |
| Video redaction tools and prices | Commercial redaction APIs, containers and suites |
Not open yet. Be told when it is.
Tell us what you are building and which models you need, and we will write when they open.