Tools/NandhaKishorM/laya

laya

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

27.1k ★growthPythonApache License 2.0 →new this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

Laya answers typed questions about text without generating any: pick one of these labels, give this a score, yes or no. Hand it a support ticket or an email and it returns probabilities in a single pass. It's an open-weight rival to TypeSafe's hosted Jev model, and it copies Jev's API, so an existing client switches by changing one URL. Apache 2.0, code and weights.

It runs on CPU. The README puts one question at roughly 200 to 460 milliseconds on CPU and about 33 on a T4 GPU. There are three checkpoints of 322M to 421M parameters, one covering 100+ languages, plus a built-in HTTP server and MCP server. Jev charges $42 per billion input tokens; this costs whatever hardware you already have. mizorewww/laya-mlx ports it to Apple Silicon.

Teams routing tickets, triaging email or gating agent actions at high volume: self-host it and fine-tune it. The README is blunt that out of the box it's near chance on real workflows, and says to treat it as a fast base to specialise, not a zero-shot engine. A fine-tune takes about 4-5 hours on Kaggle's free GPUs.

The catch: its Jev comparisons use Jev's published numbers, not side-by-side runs, and with many options Jev wins clearly. Confidence scores behave differently too, so thresholds tuned on Jev need re-tuning.

Free vs Self-Hosted vs Paid

fully free

Free: Everything. Code and all three checkpoints (laya, laya-multilingual, laya-typed-decisions) are Apache 2.0, on top of Apache and MIT base encoders, so commercial use is clear.

Self-hosted: A Python package with an optional HTTP server. Runs on CPU with no GPU; a GPU cuts latency roughly tenfold. Budget about 1.5-2.5 GB of disk to preload all three checkpoints. Fine-tuning fits Kaggle's free dual-T4 tier in about 4-5 hours.

Paid comparison: TypeSafe's hosted Jev, the API Laya imitates, is $42 per billion input tokens with output free. At that price, the case for self-hosting Laya is keeping your data in-house more than saving money.

Completely free, Apache 2.0 code and weights. Runs on CPU; the cost is your hardware and a fine-tune.

What to do by team size

Solo
free; good for experiments, but fine-tune before trusting it
Small team
free; self-host if your data can't go to a hosted API
Medium team
free; worth it at high volume once fine-tuned on your labels
Large team
free; run it where your data lives and calibrate thresholds yourself
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
90/100 · A+
Adoption27/30
Maintenance25/25
Community13/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 21,342 starsActive community: 1,817 forksCommunity discussions enabledNotable author: 1,201 followers

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Nandakishor (User)
Stars
27,089
Forks
2,363

Explore Further

More tools in the directory