EVERYTHING XIAOMI
Get listed

LocalMod

LocalMod is a self-hosted content moderation API for text and images that is designed to run offline.

Place
#19 of 27
Score
5.8
LocalMod's website

What LocalMod is

LocalMod is a self-hosted content moderation API for text and images that is designed to run offline. Its text classifiers check for PII, toxicity, prompt injection, spam, and NSFW text. The PII classifier detects emails, phone numbers, Social Security numbers, and credit card numbers; image moderation detects explicit or adult images. API endpoints support single and batch text analysis, PII redaction, and image analysis from a URL or uploaded file.

The README documents Python use, running an API server, and Docker deployment. It also includes a Discord bot example for real-time text and image moderation, with auto-delete, timeout, and logging. To run offline, the documented setup downloads the models once and then uses the LOCALMOD_OFFLINE=1 setting. That model download is about 3.5 GB and includes the image model. The project recommends a GPU for production workloads and lists CPU and GPU latency estimates by classifier. LocalMod is MIT licensed and runs on Linux as an API or self-hosted deployment. Its plan is free at no cost.

Good

  • Checks text for PII, toxicity, and prompt injection
  • Detects explicit or adult images
  • Supports batch analysis and PII redaction
  • Documents Python, API server, and Docker use

Watch out

  • Model download is about 3.5 GB
  • Project recommends a GPU for production workloads

Who it suits

LocalMod suits users who want to moderate text and images within their own infrastructure. It is particularly relevant to deployments that need offline operation or API-based moderation.

Verdict

LocalMod offers offline text and image moderation with several deployment options. Plan for the documented model download and consider the project's GPU recommendation for production workloads.

Plans and prices

From LocalMod's own pricing page, checked 8 Oct 2026.

All about pricing
PlanPriceWhat it gives you
Free, self-hostedFreeNo price stated · self-hosted content moderation API

The facts

Each one read from LocalMod's own pages, with the date it was checked.

What it does

API endpoints
The API includes endpoints for single and batch text analysis, PII redaction, and image analysis by URL or uploaded file.checked 8 Oct 2026
Audience
The project describes itself as a self-hosted content moderation API for users who want moderation within their own infrastructure.checked 8 Oct 2026
Compute
The README recommends a GPU for production workloads and lists CPU and GPU latency estimates by classifier.checked 8 Oct 2026
Discord
A Discord bot example supports real-time text and image moderation, auto-delete, timeout, and logging.checked 8 Oct 2026
Image checks
Its image moderation classifier detects explicit or adult images.checked 8 Oct 2026
License
The repository identifies LocalMod as MIT licensed.checked 8 Oct 2026
Model download
The documented model download is about 3.5 GB and includes the image model.checked 8 Oct 2026
Offline setup
The README says to download the models once, then configure LOCALMOD_OFFLINE=1 to run offline.checked 8 Oct 2026
PII detection
The PII classifier detects emails, phone numbers, Social Security numbers, and credit card numbers.checked 8 Oct 2026
Privacy
The project says it runs offline and that user data never leaves their infrastructure.checked 8 Oct 2026
Purpose
LocalMod is a fully offline, self-hosted content moderation API for text and images.checked 8 Oct 2026
Text checks
Its text classifiers cover PII, toxicity, prompt injection, spam, and NSFW text.checked 8 Oct 2026
Ways to run
The README documents Python usage, an API server, and Docker deployment.checked 8 Oct 2026

Alternatives to LocalMod

All alternatives
  1. 1

    Google Cloud Vision API

    Free planWebAPILinuxmacOS
    7.9$0.60 usage-based
  2. 2

    Sightengine

    Free planWebAPISelf-hosted
    7.5From $29 a month
  3. 3

    WebPurify

    Free planAndroidiOSWebAPI
    7.4From $5 a month
  4. 4Amazon Rekognition Content Moderation logo
    7.3From $0.10 a month
  5. 5

    Tisane API

    Free planWebAPILinuxmacOS
    7.1From $99 a month
  6. 6
    7.0$0.09 usage-based