PricingUSD, as published
| Item | Value |
|---|---|
| List price | Free (self-host)3 |
| Free tier | Yes |
Free open weights (Apache-2.0); you pay your own compute.3 [Verified 2026-11-10 on https://huggingface.co/convaiinnovations/laya (license apache-2.0)]
Not in the cost calculator: Open weights; you pay your own compute, which depends on your hardware. No per-request price exists.
LimitsPer request
| Limit | Value |
|---|---|
| Context window | 512 tokens |
| Rate limit | None stated (self-host) |
512-token context on the English laya checkpoint (about 320 tokens left for state at default settings).3 [Verified 2026-11-10 on https://huggingface.co/convaiinnovations/laya]
Two more checkpoints in the same repo: laya-multilingual (mmBERT-base, 322M, 1,024 context, encoder up to 8,192) and laya-typed-decisions (421M, 1,024 context). Default option budget gives 77-option questions only 3–4 tokens per label, so accuracy falls on many-option questions unless head_max_len is raised. laya-multilingual ships with a 1,024-token limit; pass max_len=8192 for long documents.3 [Verified 2026-11-10 on https://huggingface.co/convaiinnovations/laya]
Statusv0.4.8 (2026-10-15)
- Hugging Face model and GitHub repo were both created on 2026-09-18 (UTC), which matches the third-party release date.12 [Verified 2026-10-16 on https://huggingface.co/api/models/convaiinnovations/laya and https://api.github.com/repos/NandhaKishorM/laya/releases]
- Latest GitHub release v0.4.30, published 2026-11-08 (Vega input-validation fixes, video probe fixes, dependency bumps); nine releases since v0.4.21 on 2026-11-01. The Hugging Face model repo changed on 2026-11-09 only to cite a preprint in the model card; checkpoint files are unchanged since 2026-10-03.561 [Verified 2026-11-10 on https://huggingface.co/api/models/convaiinnovations/laya/commits/main and https://api.github.com/repos/NandhaKishorM/laya/releases/latest and https://huggingface.co/api/models/convaiinnovations/laya]
- Paper: the model card now cites a preprint, “From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities” (Preprints 2026, doi 10.20944/preprints202611.0781.v1).3 [Verified 2026-11-10 on https://huggingface.co/convaiinnovations/laya (Cite this work); DOI resolves to preprints.org manuscript 202611.0781]
- Our smoke test (script: /workspace/research/bench/laya_bench.py): local CPU on an 8-vCPU box, median 181 ms and p95 245 ms per call, 10/10 correct on easy synthetic items, stable across 5 repeats and reversed option order. Small smoke test only, not a quality benchmark. Confidences are uncalibrated (the loader warns the checkpoint ships invalid temperatures). [Verified 2026-10-15 — AgentAPIList local run]
Auth
| Method | Optional key |
| Details | Self-hosted. laya-serve binds 0.0.0.0 with no authentication unless LAYA_API_KEY is set; then it requires Authorization: Bearer <key>.3 [Verified 2026-11-10 on https://huggingface.co/convaiinnovations/laya] |
FeaturesFrom lib/apiFeatures.js
| Capability | State |
|---|---|
| Free tierFree open weights | Yes3 |
| MCP supportlaya[mcp] MCP server | Yes3 |
| Fine-tuningFine-tuning notebook | Yes3 |
Official SDKspip install laya | Yes3 |
| Open source / self-hostApache-2.0 weights | Yes3 |
| BatchSelf-hosted: no hosted batch API; you batch on your own server | N/A |
| SLA publishedSelf-hosted: no hosted service to carry an SLA | N/A |
| EU / data residencySelf-hosted: data stays on the hardware you choose | N/A |
| Structured JSON outputNot on the model card | Not published3 |
| Tool / function callingNot on the model card | Not published3 |
| StreamingNot on the model card | Not published3 |
Fit and safety
Good for
- The model card says base checkpoints are near chance on typed-decisions zero-shot; its 0.766 score comes from the checkpoint fine-tuned on that benchmark. Plan to fine-tune for your task.
Watch out
- Tiny and fast enough for CPU routing and gating; recalibrate before using confidence thresholds.
- Short 512-token context; truncate or summarize long state.
How it works
pip install laya;laya-serveexposes /v1/systemone.- 512-token context; multilingual and typed-decisions checkpoints.
FAQ
Is there a Laya paper?
Yes. The Hugging Face model card cites a preprint: “From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities” (Preprints, 2026, doi 10.20944/preprints202611.0781.v1), added to the card on 2026-11-09.
Where is the Laya code on GitHub?
github.com/NandhaKishorM/laya. The latest release is v0.4.30 (2026-11-08); releases ship often, but the model checkpoints on Hugging Face have not changed since 2026-10-03.
How long can a Laya input be?
512 tokens per question on the English checkpoint (about 320 left for state at default settings). laya-multilingual ships with a 1,024-token limit and reads up to 8,192 tokens with max_len=8192.
Is Laya free for commercial use?
Yes. The weights are Apache-2.0; you pay only for your own compute.
Compare
Put Laya (open source) side by side with other APIs on price, limits and features. Open the comparison table →
Deciding between a decision model and a generative LLM? See Decision model vs LLM: when to use which.
SourcesFootnotes
- 1huggingface.co/api/models/convaiinnovations/layahuggingface.co/api/models/convaiinnovations/layaVerified 2026-10-16
- 2api.github.com/repos/NandhaKishorM/laya/releasesapi.github.com/repos/NandhaKishorM/laya/releasesVerified 2026-10-16
- 3Hugging Face model cardhuggingface.co/convaiinnovations/layaVerified 2026-11-10
- 4GitHub: layagithub.com/NandhaKishorM/layaChecked 2026-10-16
- 5huggingface.co/api/models/convaiinnovations/laya/commits/mainhuggingface.co/api/models/convaiinnovations/laya/commits/mainVerified 2026-11-10
- 6api.github.com/repos/NandhaKishorM/laya/releases/latestapi.github.com/repos/NandhaKishorM/laya/releases/latestVerified 2026-11-10
- 7Laya benchmark report (BENCHMARKS.md)github.com/NandhaKishorM/laya/blob/main/BENCHMARKSCited