Laya, without the server bill.
Running Laya yourself means renting a server that sits waiting most of the day, then keeping it patched, updated and online. Jein runs Laya on shared infrastructure in the EU, so you get a ready API in minutes and never pay for a machine that's doing nothing.
Free preview. Sign up with email, no credit card.
What self-hosting really costs
A server that's mostly idle
Laya needs a machine running around the clock, whether it answers ten requests a day or ten thousand. At everyday volumes it's busy a few percent of the time, and you pay for all of it.
Your time
Install, configure, secure, monitor, update. Every new Laya release is yours to test and roll out, and every outage at 2 a.m. is yours to fix.
Everything around the model
API keys, rate limits, usage tracking, TLS, a domain. laya-serve gives you the model; the rest you build and maintain.
Jein takes all three off your plate.
Running Laya yourself, or on Jein
| On Jein | On your own server | |
|---|---|---|
| Server bill | No server to rent. Free during the preview | A whole machine, 24/7, used or not |
| Time to the first request | About five minutes | Hours, often a day |
| Model updates | Tested and rolled out for you | Test and roll out yourself |
| Uptime and monitoring | Handled | On you |
| API keys, limits, usage dashboard | Included | Build it yourself |
| Hosted in the EU, texts never stored | Yes | If you build it that way |
| Same open model, Jev request format | Yes | Yes |
Works with the TypeSafe SDK
Laya speaks the Jev request format, and so does Jein. Point the TypeSafe SDK for Python or JavaScript at Jein and send your first decision. Coming from Jev? Here's how Jein compares.
export TYPESAFE_BASE_URL=https://app.jein.dev
export TYPESAFE_API_KEY=YOUR_JEIN_API_KEYNo lock-in, ever
Laya is open source. Start on Jein today; if you ever want your own server, take your code and the same model with you.
Jein is independent and not affiliated with or endorsed by TypeSafe AI or Convai Innovations. Jev and TypeSafe are trademarks of their respective owners.