DeadlineGoogle shuts down the Perspective API on December 31, 2026
The Perspective API ends December 31. Move to Lasso before it does.
Perspective gave you a toxicity score and left the decision to your code. Lasso reads each message against your policy and returns the decision: allowed, flagged or removed. One API call, 200+ languages, and our team helps you switch.
Free plan: 1,000 content items a week, enough to test on your own content.
A set of numbers. Your code picks the thresholds and decides what happens next.
AllowedA decision. It comes back in the same API response.











Every Perspective attribute has a home in Lasso
Perspective scored a message on a handful of attributes. Lasso runs ten AI models on the same message, one per policy area, so each of your rules acts on one kind of violation.
| Perspective attribute | Lasso AI model |
|---|---|
TOXICITY | Harassment & BullyingHate SpeechViolence & ThreatsProfanity |
SEVERE_TOXICITY | Harassment & BullyingHate SpeechViolence & Threats |
INSULT | Harassment & Bullying |
THREAT | Violence & Threats |
IDENTITY_ATTACK | Hate Speech |
PROFANITY | Profanity |
SEXUALLY_EXPLICIT | Sexual Content |
What a toxicity score never caught
Some of the worst content is polite. It scores low on toxicity and still breaks your rules. Five more models cover it.
- Child Safety
Grooming often reads as friendly: "How old are you? Let's keep this between us."
- Scams & Spam
Phishing and giveaway scams are written to sound trustworthy.
- Personal Info & Off-Platform Contact
A phone number or "message me on Telegram" is not toxic.
- Self-Harm & Suicide
Encouragement is flagged. Recovery and help-seeking posts are allowed.
- Extremism & Terrorism
Recruitment and propaganda are rarely hostile in tone.
What you had, and what you get
| Capability | Perspective API | Lasso |
|---|---|---|
| What comes back | A score from 0 to 1 per attribute | A verdict per policy area, plus the decision |
| Follows your own policy | Same definitions for everyone | Models adjusted to your guidelines |
| Reads the context of a message | Scores each text on its own | AI moderator reads the conversation |
| Scams, grooming, self-harm, personal info | Not covered | Included |
| Images, video and audio | Text only | Included |
| Rules that act on results | You build them | Included, with a monitor-only mode |
| Review queue and dashboard for moderators | You build them | Included |
| User bans, strikes and user reports | You build them | Included |
| Languages | About 20 | 200+ |
| Help with the migration | None offered | Free migration call with our team |
| Price | Free, until it ends | Free plan, paid plans from $99 a month |
| After December 31, 2026 | Shut down | Running |
Perspective API details as published by Google Jigsaw before the shutdown. Last checked December 1, 2026.
One request out, one request in
You replace the call to Perspective with a call to Lasso. The threshold code that turned scores into decisions can go: the response already tells you what to do with the message.
curl -X POST \
"https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=$PERSPECTIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"comment": { "text": "You killed it tonight!" },
"requestedAttributes": {
"TOXICITY": {},
"THREAT": {}
}
}'const res = await fetch(
`https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze?key=${process.env.PERSPECTIVE_API_KEY}`,
{
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
comment: { text: 'You killed it tonight!' },
requestedAttributes: { TOXICITY: {}, THREAT: {} },
}),
},
);
const data = await res.json();
// Your code turns scores into a decision
const toxicity = data.attributeScores.TOXICITY.summaryScore.value;
if (toxicity > 0.8) hide(comment);
else if (toxicity > 0.5) sendToReview(comment);import os, requests
res = requests.post(
"https://commentanalyzer.googleapis.com/v1alpha1/comments:analyze",
params={"key": os.environ["PERSPECTIVE_API_KEY"]},
json={
"comment": {"text": "You killed it tonight!"},
"requestedAttributes": {"TOXICITY": {}, "THREAT": {}},
},
)
scores = res.json()["attributeScores"]
# Your code turns scores into a decision
toxicity = scores["TOXICITY"]["summaryScore"]["value"]
if toxicity > 0.8:
hide(comment)
elif toxicity > 0.5:
send_to_review(comment)# Response: scores you compare with your own thresholds
{ "attributeScores": {
"TOXICITY": { "summaryScore": { "value": 0.58 } },
"THREAT": { "summaryScore": { "value": 0.66 } } } }curl -X POST \
https://api.lassomoderation.com/api/v1/content/sync \
-H "Authorization: Bearer lasso.YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content_id": "comment-123",
"text": "You killed it tonight!",
"user": { "id": "user-1" },
"category": { "id": "comments" },
"subcategory": { "id": "general" }
}'const res = await fetch(
'https://api.lassomoderation.com/api/v1/content/sync',
{
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.LASSO_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
content_id: comment.id,
text: 'You killed it tonight!',
user: { id: comment.authorId },
category: { id: 'comments' },
subcategory: { id: 'general' },
}),
},
);
const { status } = await res.json();
// The decision is already made
if (status === 'hidden') hide(comment);import os, requests
res = requests.post(
"https://api.lassomoderation.com/api/v1/content/sync",
headers={"Authorization": f"Bearer {os.environ['LASSO_API_KEY']}"},
json={
"content_id": comment.id,
"text": "You killed it tonight!",
"user": {"id": comment.author_id},
"category": {"id": "comments"},
"subcategory": {"id": "general"},
},
)
# The decision is already made
if res.json()["status"] == "hidden":
hide(comment)# Response: allowed, flagged or hidden
{ "success": true,
"status": "allowed",
"actions": [] }Don't need the answer before content goes live? Send it to /api/v1/content and receive decisions on your webhook. Read the quickstart →
More than a replacement for a score
A decision, not a number to interpret
Is 0.7 toxic enough to remove? With Perspective, you had to answer that for every attribute and keep tuning. Lasso says whether a message breaks a policy area, and your rules say what happens then.
It follows your policy, not Google's
Maybe you allow swearing between friends, or sharing a social handle is fine on your platform. Tell us where you draw the line and we adjust the models to it. Perspective used one definition of toxic for everyone.
It reads the whole message
A user writes: "You killed it tonight!" A model that looks at the word "killed" on its own sees violence. Your AI moderator reads the sentence the way your moderators do, and allows it.
The tools you built around Perspective come included
A score needs code around it: rules, a place for moderators to review doubtful cases, a way to ban repeat offenders. Lasso has all of that in one dashboard, for text, images, video and audio.

Lasso does a lot of the work for you, but you fully control how it behaves.
Yuliia Matsiuk
Moderation Lead - COOL Media
Three steps, and nothing changes until you say so
You can run Lasso next to Perspective while it is still up, and switch when you trust what you see.
Sign up and create an API key
The free plan takes 1,000 content items a week. Create your key under Settings, then API & Webhooks.
Send the same content to Lasso
Add one request next to your Perspective call. The ten AI models start reading your content right away. No rule acts on it yet, so your users notice nothing.
Check the verdicts, then switch
See what each model flagged on your own content. Run your rules in monitor-only mode first: they show what they would have done without doing it. Happy? Set them live and remove the Perspective call.
Google offers no migration help. We do.
Book a free 30-minute call. We look at how you use Perspective today and map out your move to Lasso before December 31.
- Which Lasso models replace the attributes and thresholds you use now
- Where your policy differs from the defaults, so we can adjust the models
- A plan to run both side by side and switch without a gap
Book a migration call
Migrating off the Perspective API, answered
Google Jigsaw announced that the Perspective API is no longer in service after December 31, 2026. From January 1, 2027, every call to it fails. That includes your own code and any comment plugin or library that calls Perspective for you. Google has said it offers no migration support.
The request is: you swap one POST for another. The response is different, and that is the point. Perspective returned a score per attribute and your code decided what to do with it. Lasso returns a verdict per policy area and the decision itself: allowed, flagged or removed. Most teams delete their threshold code instead of porting it.
THREAT maps to Violence & Threats, IDENTITY_ATTACK to Hate Speech, INSULT to Harassment & Bullying, PROFANITY to Profanity and SEXUALLY_EXPLICIT to Sexual Content. TOXICITY covers the most ground, so it usually becomes several models: Harassment & Bullying, Hate Speech, Violence & Threats and, if you want to catch swearing, Profanity.
Nothing you have to tune. Each Lasso model returns Violation or Pass. If a model is stricter or looser than your community guidelines, you mark the messages it got wrong as examples and we adjust the model to your policy. You also decide per model what happens: remove hate speech straight away, send harassment to a moderator. One toxicity threshold could not do that.
Yes. The free plan takes 1,000 content items a week. The AI models read everything you send, and you see per model what was flagged. Rules can run in monitor-only mode, where they record what they would have done and take no action.
Yes, with the synchronous endpoint: it returns the decision for a text message in the response. If your content goes live first and is checked afterwards, use the standard endpoint and receive decisions on your webhook.
Perspective was free, with a default limit of one request per second. Lasso has a free plan for testing and paid plans from $99 a month. The AI models are included in every plan.
More than 200. Tricks to dodge a filter, such as swapped characters or spaced-out letters, are caught in those languages too.
Ready to move off Perspective?
Start on the free plan today, or let us walk you through the switch.