Decisions,
not text.
Moderation, routing, intent and scoring for every message, over one Jev-compatible API.
Comments
moderation + spam
Live demo
POST /v1/decide
Answer
recorded answer · laya-english
toxic
Support inbox
intent + routing
Side panels show recorded answers from the API. The middle one runs the live model.
Decision flows
Draw the logic. Call once.
Chain decisions on a canvas: spam check, intent, routing, urgency. Each answer leads to the next question or to an outcome. One request runs the whole flow, and only the questions on the path are billed.
POST /v1/flows/support-inbox/run
Outcome
—
A replay of real answers from the production model. Only the questions on the path are asked, and billed.
Start from a template
Support inbox triage, comment moderation or lead qualification, then change anything.
Test before you ship
Paste real texts and watch the path light up, with the probability of every answer.
Unsure? Ask a person
Borderline answers take their own branch, so a human sees what the model is not sure about.
Migrate from Jev
One line.
Same /v1/systemone, same question types, answers and errors. The official Jev SDKs work as they are: point them at layahost and use a layahost key.
.env
- TYPESAFE_BASE_URL=https://api.typesafe.ai + TYPESAFE_BASE_URL=https://layahost.com TYPESAFE_API_KEY=lh_…
Both SDKs read these variables. Nothing else in your code changes.
import os
from typesafe_sdk import TypeSafeClient
client = TypeSafeClient(
base_url="https://layahost.com",
api_key=os.environ["LAYAHOST_API_KEY"],
)
import { TypeSafeClient } from "@typesafe-ai/sdk";
const client = new TypeSafeClient({
baseURL: "https://layahost.com",
apiKey: process.env.LAYAHOST_API_KEY,
});
Use cases
What you can build.
Anything that ends in a decision: one of your options, with a probability you can act on.
Content moderation
Hold back insults, harassment and threats before they are published.
“You are all idiots and I hope you get fired.”
→ toxic 80%
Spam and scam filtering
Keep fake prizes, phishing and get-rich-quick offers out of your inbox and forms.
“Earn $5000 a day from home! Message me on WhatsApp.”
→ spam 84%
Support triage
Know what a customer wants before anyone opens the ticket.
“Please cancel my subscription at the end of this month.”
→ cancellation 94%
Ticket routing
Send every message to the right team, with your own list of departments.
“The API returns 502 errors since this morning.”
→ technical 82%
Priority and escalation
Page someone for outages, let the rest wait for business hours.
“Our whole checkout is down and we are losing orders right now!”
→ urgent 85%
Language detection
Route or reply in the customer’s language, across 35 languages.
“Dzień dobry, mam pytanie o fakturę.”
→ pl 92%
Answers you can branch on
Only the options you define, each with a probability. No parsing, no malformed output.
EU-hosted, text never stored
Servers in Finland. Your text is processed in memory and never written to disk or used for training.
No lock-in
The Jev API on the open Laya model, which you can also run yourself.
Examples are real answers from the API.
Custom models
Trained on your data.
For your own labels, such as product categories, internal teams or policy rules, we fine-tune a private Laya checkpoint on your examples and serve it on the same API.
-
01
Send labelled examples · a CSV of texts and the answers you expect
-
02
We train and calibrate · on GPUs, with an accuracy report on held-out examples
-
03
Call your own model · same endpoints and SDKs, private to your account
On the Laya project’s typed-decisions benchmark, fine-tuning lifted accuracy from 36% to 77%.
Pricing
Pick a plan. Or don’t.
Monthly plans with decisions included, or prepaid credit with no subscription. A decision costs the same whatever the length of the text.
Pay as you go
$15
per million decisions
- ✓Prepaid credit from $10
- ✓+10% from $100, +20% from $500
- ✓No subscription, credit never expires
Starter
$9
per month
- ✓1M decisions included
- ✓Then $10 per million from credit
- ✓Change or cancel any time
Pro lowest per decision
$49
per month
- ✓10M decisions included
- ✓Then $5 per million from credit
- ✓Change or cancel any time
Custom
Talk
to us
- ✓A model trained on your data
- ✓Higher limits and volume pricing
- ✓DPA and invoicing for your company
What fits your volume
decisions a month
best fit
per month
Every account starts with $1 of free credit (66.7K decisions), no card needed. Failed and rejected requests are free. Invoices with your VAT ID.
FAQ
Straight answers.
What counts as a decision? +
One answered question. A call to /v1/decide is one decision; a /v1/systemone request with three questions is three. Rejected or failed requests (4xx, 5xx) are free.
Is it really compatible with Jev? +
Yes for the API: the same /v1/systemone and /v1/models endpoints, request and response shapes, errors and request IDs, tested with the official Python and JavaScript SDKs. Jev model names such as jev-latest are accepted. The model behind it is different, so probabilities are not identical.
Is Laya as accurate as Jev? +
Not on every task. Laya is an open model, and independent tests put it behind Jev on some benchmarks. Try the demo or the playground on your own data before you switch production traffic, and check any thresholds your code relies on.
Is there a free tier? +
New accounts get $1 of credit (66.7K decisions) once they verify their email, no card needed. After that, pick a monthly plan (from $9 for 1M decisions) or buy prepaid credit from $10, which buys 666.7K decisions and does not expire while your account is active. The demo on this page is free to try.
Where is my data processed? +
On our servers in Helsinki, Finland (EU). Text is processed in memory and never used for training. Logs keep verdicts and metadata for 7 days; request text only if you turn it on.
Can it replace the Perspective API? +
Yes. Google shuts Perspective down on 31 December 2026, and layahost implements the same comments:analyze call with TOXICITY, INSULT, THREAT and the other attributes. Change the host and the key; see the Perspective migration guide in the docs.
Does layahost work with images? +
No. Like Jev, it decides on text only. For images, send the text you already have about them, such as a caption, alt text or OCR output.
Can you train a model on our data? +
Yes. We fine-tune a private Laya checkpoint on your labelled examples and serve it on the same API under your own model name. Write to [email protected] with a description of your decisions and how much labelled data you have.
What are the limits? +
600 requests per minute per key by default, up to 32 questions per request and 32,000 characters of text. Need more? Write to [email protected].
Your first decision in five minutes.
Create an account, verify your email for $1 of free credit, copy a key, send one request.