Problem
Over 4 million chat messages a day pass between DoorDash consumers, couriers and merchants, and a meaningful share of safety incidents is verbal abuse. Contacts last only minutes, so the system must act at once, and every delivered message should already be judged safe. An LLM call on each message does not fit: 2 to 10 seconds of latency per call and a large bill.
Example from the article: a threat in chat should block the message and let the affected person cancel the order for free, while plain swearing is only censored.
Solution in brief
A small internal classifier clears the 90%+ of messages that are obviously safe in about 100 ms. The rest go to an LLM that scores each abuse axis instead of returning a safe/unsafe flag, and the score drives a graduated action. DoorDash then generalized the pattern into a no-code moderation platform with backtesting.
Questions this case answers
- How to screen a high-volume stream of short texts for rare policy violations when an LLM call per item is too slow and too expensive
- How to turn a model's judgement into graduated actions by severity when the unsafe class is rare and the cost of a missed case is human harm
- How to moderate millions of real-time chat messages with an LLM without paying for an LLM call on every message
- How to turn an LLM verdict into graduated actions instead of a single block or allow decision
Tools and methods
- Cheap internal classifier — filters obviously safe messages, no per-call cost
- LLM multi-axis scoring — scores abuse axes; replaces a boolean verdict
- Graduated actions by severity — censor, block, offer a free cancel, auto-cancel the order
- LLM gateway — many vendors behind one entry, fallback and retry per prompt
- Apache Kafka — publishes results of asynchronous moderation runs to client topics
- Backtesting — runs a prompt, a step or a whole pipeline on historical data with human labels
Google or a one-time email code. No password.