ToxicFilter Blog

Technical

Tutorials, research and playbooks on AI content moderation. Built by the team behind ToxicFilter, written for developers and trust & safety teams.

Technical 8 posts
Moderating Comments in Express with the JavaScript SDK

Moderating Comments in Express with the JavaScript SDK

Build a comment wall in Express that publishes, holds or refuses each comment with its reason, keeps the key on the server, and verifies the review webhook.

Oct 2, 2026 6 min read
Moderating Comments in Flask with the Python SDK

Moderating Comments in Flask with the Python SDK

Build a comment wall in Flask that publishes, holds or refuses each comment with its reason, verifies the review webhook, and runs its tests without the network.

Oct 2, 2026 6 min read
Moderating Comments in Laravel with Laratox

Moderating Comments in Laravel with Laratox

A validation rule, a facade and a fake: build a comment wall in Laravel that publishes, holds or refuses each comment, and publishes held ones when a person approves them.

Oct 2, 2026 6 min read
Moderating Comments in Plain PHP with the ToxicFilter SDK

Moderating Comments in Plain PHP with the ToxicFilter SDK

No framework: a comment wall in plain PHP that publishes, holds or refuses each comment, tells the author why, and publishes held ones when a person approves them.

Oct 2, 2026 6 min read
Moderation on the Edge: Cloudflare Workers + ToxicFilter

Moderation on the Edge: Cloudflare Workers + ToxicFilter

Run a thin moderation proxy at the edge. Lower latency, smaller blast radius on outages, and a simpler client-side integration.

Apr 22, 2026 8 min read
Rate Limiting and Retries: Best Practices When Calling a Moderation API

Rate Limiting and Retries: Best Practices When Calling a Moderation API

Exponential backoff, jitter, circuit breakers, and what to do when the API is briefly unavailable. Keep your app resilient.

Apr 20, 2026 6 min read
How to Moderate User-Uploaded Images Before Saving Them to S3

How to Moderate User-Uploaded Images Before Saving Them to S3

Moderating after upload means the unsafe content already exists on your infrastructure. Here is how to flip the order of operations.

Apr 18, 2026 7 min read
Webhooks vs. Synchronous Calls: When to Use Each for Moderation

Webhooks vs. Synchronous Calls: When to Use Each for Moderation

Blocking the user until moderation completes is not always the right answer. A decision framework for sync, async, and hybrid patterns.

Apr 16, 2026 7 min read

Put it in front of your real traffic

Allow, review or block, and the reason in words. On the free plan: 2,000 credits a month, no card. A check costs 1 credit, about 8 if the model reads it, about 10 for an image.