Decision AI for
real workflows.
Route requests, prioritize work, and flag cases for review. Jein hosts the open Laya decision model for applications and agents, behind a Jev-compatible API.
Free preview. Sign up with email, no credit card.
Preview: short texts, English and other languages. See limits.
“Hi, I was billed twice for March.
Please refund the duplicate.”
choiceHosted in the EU.
We never store request content.
Models run in the EU
The Laya models, the API and the database run on servers in the EU.
Kept in memory only
State, questions and answers stay in memory while a request runs. We never write them to disk, database or logs. Usage metering keeps token counts and request metadata.
Paperwork ready
A Data Processing Agreement is part of the Terms. The subprocessors page lists our subprocessors.
Customer messages, sorted as they arrive.
An online shop gets messages in 7 languages. Jein checks each one the moment it arrives, sends it to the right team and flags who wants money back. Anything it isn't sure about goes to a person.
Shipping 13
- Dzień dobry, paczka miała być wczoraj, a dalej nic. Kiedy dotrze?
- Mijn bestelling is nog steeds niet verzonden terwijl er stond 'binnen 24 uur'. Wat is er aan de hand?
- Buongiorno, il pacco risulta consegnato ma non l'ho mai ricevuto. Potete verificare?
- El paquete lleva 2 semanas en aduana, ¿qué pasa?
- Le colis est arrivé mais il manque un article. Pouvez-vous l'envoyer rapidement ?
- Wann kommt mein Paket an? Die Sendungsnummer funktioniert nicht.
- can i change the delivery address? i'm moving next week and the order hasnt shipped yet
- how long does shipping to Ireland usually take?
Returns 12
- Proszę o zwrot pieniędzy za uszkodzony produkt – ekran był pęknięty zaraz po rozpakowaniu.
- Ho restituito il prodotto un mese fa e non ho ancora ricevuto il rimborso. È inaccettabile!
- Quiero devolver las zapatillas, me quedan grandes. ¿Me devolvéis el dinero o solo dais un vale?
- Hi, I'd like to exchange the blue sweater for the grey one, same size. Thanks!
- Gift for my mum's birthday tomorrow and tracking says 'delayed'. Anything you can do? Otherwise I'll have to cancel and get my money back
- I returned two items but only got refunded for one. Order 66018.
- Courier left the box in the rain, everything inside is soaked and ruined. I want a full refund.
- The zipper on the backpack broke after 2 weeks. Is that covered by warranty?
Billing 12
- Ik heb betaald met iDEAL maar mijn bestelling staat nog op 'wacht op betaling'.
- Mi serve la fattura intestata alla mia ditta, come posso richiederla?
- Me cobraron dos veces el mismo pedido. Necesito que me devuelvan el dinero ya.
- Est-ce que je peux payer en trois fois sans frais ?
- Ich wurde für meine Bestellung zweimal belastet!! Bitte sofort das Geld zurück, mein Konto ist im Minus.
- the discount code didnt work at checkout and i paid full price. can you refund the difference?
- My bank shows a €64 charge from your shop but I never ordered anything. Is this fraud?? I want it reversed.
- I cancelled my order an hour after placing it but you still charged my card €129. Please refund.
Product 8
- Czy ten plecak ma osobną kieszeń na laptopa?
- La giacca è impermeabile o solo antivento?
- Cette robe existe-t-elle en taille 36 ?
- Gibt es den Rucksack auch in Schwarz? Auf der Seite sehe ich nur Blau.
- What's the battery life on the wireless headphones? the page doesn't say
- Is the cast iron pan ok for induction hobs?
- Hola, ¿en la mochila grande cabe un portátil de 15 pulgadas?
- Hallo, die Jacke ist leider zu klein. Kann ich sie gegen eine Größe L umtauschen?
To a person 3
- De schoenen zijn te klein, kan ik ze ruilen voor maat 43?
- Love the mug!! Quick q, is it dishwasher safe?
- Do the running shoes (Trail 2) run true to size or should I go half a size up?
Ask it a question.
Paste a short text, pick a question, and see how the model answers. No account needed.
Get an API key for real workloads.
Public sandbox: a few requests per minute per visitor, short text only. Nothing you type is stored.
Keep the client. Run Laya.
Compatible with the Jev API by TypeSafe. Independent of TypeSafe. The TypeSafe SDK connects with a different base URL and API key. The request format stays familiar; model behavior differs.
Coming from Jev? See how Jein compares Running Laya yourself? See what it really costs
Preview limits
- English and other languages. Non-English text is routed to the multilingual model automatically.
- Roughly 476 state tokens (about 1.4k characters) in English with simple questions, about 2,000 on the multilingual model; less with longer instructions.
- Up to 32 questions per call.
- 240 requests a minute per account (up to 40 at once, then four per second) and 4 concurrent requests.
- 500,000 free billed input tokens per account each month (UTC); a separate compute allowance also applies.
- Answers come from the open Laya model, not Jev. Recheck thresholds on representative cases.
# Jein service root
export TYPESAFE_BASE_URL=https://app.jein.dev
export TYPESAFE_API_KEY=API_KEY_HEREtypesafe-sdkPython + JavaScript clientsCheck inputs and decision quality
Laya’s context window is much smaller than Jev’s. Oversized inputs return 422; they are not silently truncated.
Use the Jein service root without a version path. The SDK appends /v1/systemone. The host above is the live Jein endpoint.
from typesafe_sdk import TypeSafeClient
# Reads TYPESAFE_API_KEY and TYPESAFE_BASE_URL
client = TypeSafeClient()
response = client.system_one(
model="laya-latest",
state="Hi, I was billed twice for March. Please refund the duplicate.",
questions={
"department": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "Payment issues",
"technical": "Bugs",
"sales": "Sales questions"
}
}
},
)
print(response.answers){
"model": "laya-0.3.20",
"answers": {
"department": {
"type": "choice",
"choice": "billing",
"confidence": 0.8725,
"probabilities": {
"billing": 0.9736,
"technical": 0.0147,
"sales": 0.0117
}
}
},
"usage": {
"input_tokens": 30,
"output_tokens": 0
}
}jev-latest is a compatibility alias; the response names the Laya checkpoint that answered.Set the API URL and key See what each request uses.
The state is counted once per call. Tokens for the question instructions and criteria are added to that input total.
Usage is included in every response
usage.input_tokens reports the input total. Question names, template words, and special tokens are not counted. usage.output_tokens is always zero.
Jein is a free preview: a free account, a free monthly allowance, no credit card and no payment details. Sign up with your email and create an API key; the dashboard shows your usage.
Pick a workflow.
Put Jein to work.
Free preview: sign up with email, then create an API key. No credit card.