Stop Paying Your LLM to Flip Coins
From the publisher’s feed, collected in the ZeroLabs newsroom.
9 design patterns for System One models like Jev and Laya, and how they make AI agents faster, cheaper, and saferHere’s an uncomfortable exercise. Open your agent’s traces and count the LLM calls that return a single word: “billing,” “yes,” “high,” “tool_3.”In most agent systems, it’s a lot of them.We’ve been paying a reasoning engine to think for three seconds and emit a paragraph of JSON. Then we write a parser to pull one label back out. It’s like hiring a lawyer to flip a coin.A new class of model is built for exactly this gap. TypeSafe’s Jev launched on September 15, 2026 after two years in stealth. Three days later, Convai Innovations open-sourced Laya under Apache 2.0. Both belong to what TypeSafe calls “System One,” named after Daniel Kahneman’s fast, intuitive mode of thinking.This isn’t another model review. It’s about the architecture that emerges when you give your agents two brains instead of one.What a System One model actually isA System One model doesn’t write. You give it two things:State: a ticket, an email, a JSON blob, or an agent’s last tool output.Typed questions whose possible answers you define in advance.It gives back typed answers with probabilities. There are only three question types:Choice: pick one option from a list you define.Score: place the input on an ordinal rubric you write, such as “not urgent” through “critical.”Noul: answer yes or no, with a probability attached.The key property is that the model can only answer within the options you define, so it can’t invent a tool that doesn’t exist. There’s no JSON to parse and no retry loop when parsing fails.Two flavours exist today:Jev is a hosted, closed API. TypeSafe reports 70–500ms end to end at $0.042 per million input tokens.Laya has open weights and runs locally. The English checkpoint is ModernBERT-large at roughly 421M parameters, with a reported ~33ms latency on a Tesla T4 for a single question.The mental model I use: System One is a fuzzy if-statement. It’s the branch in your code that needs semantic understanding but not creativity.Now the patterns.Part A: The Foundations1. The Deterministic Logic SandwichThis is the pattern everything else sits on:The model gives you refund_requested: 0.92. Your code then checks whether the order is refundable, whether the user is authorised, and whether the amount is under the auto-approve limit. The model never touches the side effect.A developer testing Laya for fraud detection learned this the hard way. Their first instinct was to ask the model whether to approve, review, or hold an order. That’s a policy decision disguised as a semantic one. Ask the model “does this look like an account takeover?” and let code decide what to do with the answer.Rule of thumb: if a wrong answer is expensive or irreversible, the model supplies evidence and code makes the call.2. Speculative Fan-OutSystem One models evaluate all questions in parallel, so asking ten costs roughly the same time as asking one. Stop making sequential round-trips.Here’s one request for an inbound ticket:questions = { "department": Choice(["billing", "bug", "feature_request"]), "urgency": Score(["not urgent", "somewhat", "urgent", "critical"]), "refund": Noul("Is the customer asking for a refund?"), "churn_risk": Noul("Is the customer threatening to leave?"), "pii_present": Noul("Does the message contain card or account numbers?"),}result = system_one(state=ticket, questions=questions) # illustrativeThe “speculative” part is the interesting bit. Ask the questions you might need, and let code discard the irrelevant answers. That’s cheaper than a second round-trip when a branch turns out to need them.3. Scope-Partitioned StateThis is the flip side of fan-out: don’t feed the whole world to every question. A page-level check gets the headings. A clause check gets the clause.Less input means lower latency and, more importantly, less noise. TypeSafe is unusually upfront about Jev’s failure modes, and large, noisy input is one of them. Their advice is to filter first. Small, precise state is the biggest accuracy lever you control.Part B: Inside the Agent LoopThis is where System One models go from “cheaper classifier” to “architectural component.”4. Tool and Skill Routing with a Decline OptionAgents with 40 tools spend a surprising share of their reasoning budget deciding which tool to call. Sometimes they call one that doesn’t fit.Put a Choice question in front of tool selection, and include an explicit none_of_these option. The community is already doing this. One project routes agent skill selection through confidence-aware Jev decisions so that weak matches get declined instead of guessed.Declining is the feature. An agent that says “I don’t have a tool for this” beats one that confidently calls the wrong API.5. Guardrails on Every HopLLM guardrails usually live at the front door and nowhere else, because each check costs a full model call. At System One prices, you can check every hop: input, tool arguments, tool output, and final response.LangChain already ships experimental middleware for model routing and tool-risk gating. A typical question set per tool call:Is this a prompt injection attempt? (Noul)Does this shell command modify files outside the workspace? (Noul)How risky is this action? (Score)Remember the sandwich, though. A guardrail score is an input to your permission system, not a replacement for it. As one community directory puts it, a model’s judgment doesn’t establish safety and doesn’t replace the host application’s permission checks.6. Per-Turn Harness RoutingEvery turn, your orchestrator makes a meta-decision: which model tier, how much reasoning effort, and which tools to expose. That’s a Choice question.One open-source router does exactly this. A single ~350ms Jev call picks the tier, effort, tools and skill. It runs behind a hard deadline with a regex fallback. Copy that part. A router that can hang is worse than no router.A related variant is triage before escalation. Before dumping a 500-line stack trace into a frontier model, ask a System One model whether it’s a missing dependency, a flaky network, or a real bug. The cheap cases never reach the expensive brain.7. Composite ScoringSome decisions are genuinely multi-dimensional, like “is this candidate a fit?” or “is this vendor risky?” Instead of asking one mushy question, score each criterion independently with Score questions. Then aggregate with weights in code.You get two wins:The weights are auditable. That matters a lot in regulated industries.Policy changes don’t touch the model. When policy changes, you change the weights, not the prompts. A community CV screener re-scores candidates for free when its policy changes.Part C: Orchestration at Scale8. The Confidence-Gated CascadeThis is the pattern that makes the whole thing economical:The idea is local-first: run Laya, and fall back to Jev only when confidence drops below your threshold. Most traffic should stop at the first tier.Two warnings, learned from the benchmarks rather than the marketing:Your threshold is yours, not the vendor’s. Calibration varies by model and task. In one community test, raw Laya was poorly calibrated on a binary task until it was recalibrated. Build a labelled set of a few hundred examples, plot accuracy against confidence, and pick your threshold from that curve. Don’t copy 0.85 from a blog post, including this one.Pin your model version. The jev-latest alias can move to a new version without any change to your code. A silent upgrade can quietly invalidate every threshold you tuned.9. Map-Reduce Micro-AuditingRun the same small question over thousands of rows, such as log lines, support tickets, or contract clauses. Then aggregate with plain SQL.Someone has already built a DuckDB integration that exposes Choice, Noul and Score as SQL table functions. Semantic WHERE clauses are a genuinely new primitive.For large batches, respect the limits. Hosted Jev publishes caps of 250,000 tokens per second and 1,200 requests per minute. That’s where a local Laya instance earns its keep.Where It Breaks (Read This Before You Migrate Everything)System One models are not magic.Keep math and dates in code. Jev struggles with arithmetic and dates, and you should assume anything else in this class does too.Base Laya is a starting point, not a finished product. The base checkpoint scores 0.362 on its typed-decisions benchmark. That’s below the 0.461 majority-class baseline. The fine-tuned checkpoint reaches 0.766, and the authors recommend treating Laya as a fast base to specialise. Budget for a fine-tune.Many-label choices hurt. Laya is weak when one Choice question has many labels. Go hierarchical instead: pick the family first, then the member.“Zero hallucination” means the schema, not the answer. The model can’t invent an option, but it can still pick the wrong one. TypeSafe’s own launch post calls the 0% hallucination figure “not empirical”.Most numbers are vendor numbers. Pricing, accuracy and speed figures come from TypeSafe’s own evaluations. Benchmark on your own workload.Anything that needs a string doesn’t belong here. Explanations, summaries and user-facing text are still System 2’s job.The TakeawayThe last two years of agent design assumed one brain doing everything. Good systems never worked that way. They’re layered: fast reflexes at the edges, slow deliberation in the middle.System One models give us the reflex layer. My test for what moves there:If you can list the valid answers in advance, and a wrong answer is cheap to catch, it’s a System One question.Everything else stays with the LLM.Open your traces. Count the one-word answers. That’s your migration backlog.Are you running System One models in production? I’d love to hear which patterns held up and which didn’t. Drop a comment.Official and model docsLaya offical Huggingface Page: https://huggingface.co/convaiinnovations/layaLaya on GitHub (Node.js/ONNX runtime): https://github.com/receptron/layaAwesome Jev (community project directory): https://github.com/hellogumbo/awesome-jevExplainers and comparisonsJev vs Laya, closed vs open System One models (Wilson Wu): https://wilsonwu.me/en/blog/2026/jev-vs-laya/What Is Jev AI, and where it fits in an agent harness (Width.ai): https://www.width.ai/post/what-is-jev-ai-typesafeLaya: the open-source Jev alternative, benchmarked honestly (Flowtivity): https://flowtivity.ai/blog/laya-open-source-jev-alternative/Jev explained (Analytics Vidhya): https://www.analyticsvidhya.com/?p=257705Jev vs Instructor and Guardrails: https://opentweet.io/jev/vs-instructor-guardrailsHands-on and community experimentsTesting Laya for e-commerce fraud detection (DEV Community): https://dev.to/sharifulislamsourav/laya-a-decision-making-system-one-model-41fbRunning Laya in a browser tab (Medium): https://medium.com/@visrow/jev-vs-laya-live-demo-i-ran-a-421-million-parameter-ai-decision-model-inside-a-browser-tab-no-84b86bed1f10Laya vs TypeSafe Jev (Medium): https://medium.com/data-science-in-your-pocket/laya-vs-typesafe-jev-ai-8b5dd9ce0176jev-harness, test-failure triage for coding agents: https://github.com/ismaelsoilet/jev-harness/wikiStop Paying Your LLM to Flip Coins was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.