Skip to content
Laya AI
Official Laya logo: a blue spiral mark, the word laya, and the line decisions, not text.
Official logo from the Convai Innovations model card.

Unofficial community documentation

Laya AI — System One Decision Model

Typed decisions for agents and software — choice, score, and yes/no in one forward pass. Hosted prepaid API here; Apache 2.0 weights if you run locally. Compared with the closed Jev API throughout.

Jev is a closed API that works out of the box. Laya is the open System One option: low latency, local weights, or a hosted prepaid key on this site. Open source is the license story — System One decision model is the product category.

No GPU? Skip pip and weights — prepaid hosted API, key in minutes, typical decide ≈ $0.0004. Prefer local Apache 2.0 weights? Use Download.

Playground

Typed decisions, live

Pick a tool scenario, tweak the input, run the real API — choice, score, and yes/no with calibrated scores.

Browse all tools →

POST api.layaaimodel.com/v1/social/post-analyze

State — the input software gives Laya

207c

Questions — typed decisions you get back

  • choicehookHow strong is the opening hook?
  • noulopens_loopDoes it open an information loop?
  • noulhas_evidenceDoes it include evidence or proof?
  • choiceformatPost format?
  • choiceviral_potentialViral potential?

Sample answers

sample · not yet run

  • choicehook
    scroll-stopping
    scroll-stopping
    72%
    solid
    9%
    weak
    9%
    none
    9%

    confidence 72%

  • noulopens_loop
    yes · 91%
    yes
    91%
    no
    9%

    confidence 91%

  • noulhas_evidence
    yes · 68%
    yes
    68%
    no
    32%

    confidence 32%

  • choiceformat
    how_to
    how_to
    68%
    story
    8%
    hot_take
    8%
    promo
    8%
    other
    8%

    confidence 68%

  • choiceviral_potential
    high
    high
    61%
    medium
    20%
    low
    20%

    confidence 61%

Anonymous: 1 free real-API run / IP · register for a laya_ key to keep going

Open this tool →

Laya vs Jev

Official chart comparing Laya with routing against TypeSafe Jev on accuracy, language coverage, speed, calibration, license, and cost.
Official figure from the convaiinnovations/laya model card. Jev bars are published third-party numbers.

Two sources sit in separate tables on purpose. The first is the project's own README. The second is a Hugging Face community dataset that remeasured Laya. Jev cells in both places are published quotes unless a caption says otherwise. Limits, calibration notes, and Banking77 detail live on the Laya vs Jev benchmarks page — including which checkpoint the headline 0.766 figure belongs to.

Official self-test

README table “Laya (with routing) vs Jev”. Laya figures are what Router().predict returns. Jev figures are third-party published and were not measured in the Laya repository.
Jev 1.13.0Laya (routed)
typed-decisions, 2,000 decisions0.7270.766+0.039
AG News, 4 labels0.9100.950+0.040
DAIR Emotion, 6 labels0.4800.595+0.115
Banking77 (72 vs 77 labels)0.8700.425Jev leads on >20 options
ECE (lower better)0.2460.0813× better (post-temperature)
p50 latency, 1 question236–276 ms32.8 ms7.8× faster
Languages usableno published benchmark45 of 51—
Weightsclosed APIApache 2.0—
Cost$0.042 / 1M tokens$0 self-hosted—

Third-party independent test

Third-party independent test. Luni/laya-jev-benchmark, typed-decisions, 400 cases. Laya was remeasured. The Jev row is marked published in that card.
ModelAccuracyECEms per case
Laya, no fine-tuning0.3600.17515.9
Laya fine-tuned on this task0.7670.21216.4
Jev 1.13.0 (published)0.7270.144710
Teacher self-agreement0.735——
Third-party independent test. Hugging Face dataset Luni/laya-jev-benchmark, PhishNChips, 2,000 emails, RTX 5090. Laya rows were measured there. Rows marked published are quotes, not a Jev API rerun.
ModelAccuracyECEAUROCRecallp50
Laya, raw0.5050.4410.6780.0129 ms
Laya, Platt-calibrated0.611—0.679—9 ms
Jev (published)0.6260.1540.6890.432239 ms
Claude Haiku 4.5 (published)0.8130.0970.8370.764687 ms
Third-party fine-tune, not a Laya vs Jev run. Cahol/laya-banking77-v1 on the official 3,080-example BANKING77 test, all 77 labels. That card says the result does not show Laya is better than Jev.
ModelAccuracyMacro F1Top-3 accuracy
Laya English base, same 77-label protocol45.91%42.90%69.42%
Cahol fine-tune85.55%85.53%96.43%

Videos

Community YouTube explainers about Laya and Laya vs Jev. These creators are not affiliated with Convai Innovations or with this site. Prefer the README and BENCHMARKS.md for numbers.

Features

Fast Inference

Official T4 table: 32.8 ms for one question on laya-multilingual, 39.5 ms on laya. Batched multilingual throughput there is 7.2 ms/question at 10 questions.

Apache 2.0 Open Source

Weights and the pip package are Apache 2.0. Jev, in the same README comparison, is a closed API at a published $0.042 / 1M tokens.

100+ Languages

The README describes laya-multilingual as the 100+ language checkpoint. On the published 51-language MASSIVE sweep it clears 3× random on 45 of 51 languages.

No LLM Hallucinations

The project says there is no text generation, so there is nothing to parse. Outputs are choice, score, and yes/no. Wrong labels still show up in the tables below.

Run Laya locally

Shortened slice of the README Router quickstart. Hardware, preload pitfalls, and the full script are on Get Started. This site does not run the model.

bash
pip install laya
python
import laya
from laya import Router

router = Router(preload=True)

state = {
    "from": "[email protected]",
    "subject": "Duplicate charge on invoice #4411",
    "body": "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
}

questions = {
    "department": {
        "type": "choice",
        "instructions": "Which department should handle this request?",
        "criteria": {
            "billing": "invoices, payments, refunds",
            "technical": "bugs, outages, system errors",
            "sales": "pricing, new contracts",
            "other": "everything else"
        }
    }
}

res_en = router.predict(state, questions)
print("Department :", res_en["answers"]["department"]["choice"])

Use cases

Skip the GPU install — hosted packs from $5, typical decide ≈ $0.0004.