Icon for Laya

Laya

Open Source

Open-source multilingual decision model: typed choices, scores and yes/no answers in one forward pass.

Laya is a non-autoregressive decision model built on ModernBERT. It answers typed questions (choice, score, yes/no) over 100+ languages in a single forward pass rather than generating tokens, with calibrated probabilities.

Install it with pip install laya, or use the TypeScript package. Extras add an HTTP server, an MCP server and integrations for LangChain, LlamaIndex and CrewAI. Weights are on Hugging Face under Apache-2.0. Berget AI also serves it as a hosted API at €0.042 per 1M tokens (September 2026).

Pricing: Free

Hosting Self-hosted
Pricing Free, Free (open-source)
License APACHE-2.0
Screenshot of Laya webpage

Work on Laya? Feature it at the top of Inference APIs.

Is your product missing?

Add it here →