Switch Coral from Perspective
Coral's toxic comment filter uses Perspective API, which shuts down on December 31, 2026. Spamgone answers the same requests, so you switch in Coral's admin by changing two fields, without touching code. We tested this with Coral 9.11.9.
Switching from Perspective? Use code PERSPECTIVE50 at checkout for 50% off Pro or Scale for your first 3 months, until January 31, 2027.
1. Create a Spamgone key
In the dashboard, under API keys, create a key with Check only permission. That's all Coral needs, and it can't change your settings.
2. Change two fields in Coral
In Coral's admin, open Configure, then Moderation, then Toxic comment filter:
| Field | Set it to |
|---|---|
| API key | Your Spamgone key |
| Custom endpoint | https://spamgone.dev/v1alpha1 |
Keep Toxicity model set to TOXICITY, and keep your Toxicity threshold. Coral's default of 80 is a good start. Save, and Spamgone checks new comments straight away.
If you host Coral yourself, also set PERSPECTIVE_TIMEOUT=2s in its environment and restart it. Coral waits only 800 ms by default, and a comment that gets no answer in time goes through without the toxicity check.
3. Check that it works
Post an obviously insulting test comment on a test story. Coral should hold it for review as toxic. In Spamgone, the Checks page lists each comment Coral sent.
To switch back, clear Custom endpoint and put your Google key back. Perspective keeps working until December 31, 2026.
What to expect
- Scores run from 0 to 1, like Perspective's. In our test, two insults scored 0.93 and were held, a strongly worded disagreement scored 0.18, and friendly comments scored 0.02. Watch the moderation queue for a week and adjust the threshold if needed.
- Languages: unless your site is in English, Spanish, French, German or Brazilian Portuguese, Coral labels every comment as English. Spamgone ignores the label and reads each comment in its own language, so the filter works for other languages too.
- Speed: Spamgone answered in 0.2 to 0.4 seconds in our test. The longer timeout above covers slow moments. Coral's logs show
timeout of 800ms exceededwhen a check took too long. - Privacy: while Allow Google to store comment data is off, as it is by default, Coral asks Spamgone not to keep the comment, and we don't. The Checks page then shows the scores without the text.
- Moderator decisions: with Allow Coral to send moderation actions to Google on, Coral sends each approval and rejection. Spamgone accepts them but doesn't save them, because its corrections are about spam, so you can leave this off.
- Usage: each comment Coral sends counts as one check. See pricing for the plans.
For other Perspective clients, see the Perspective API migration guide.