top of page

Github Laya Review: Do We Really Need It?

Writer: Daniel Carr, MSW
Daniel Carr, MSW
Sep 22
4 min read

Updated: Sep 24

Laya is one of the fastest rising AI projects on GitHub this week, and its premise is genuinely interesting. Instead of asking a large language model to generate text, Laya is designed to make structured decisions in a single pass. Give it an email, ticket, document, or JSON object, define the questions you want answered, and it returns choices, scores, probabilities, or yes and no decisions without generating a paragraph first.


The technical argument is easy to understand. If a company only needs to know whether an email belongs in billing, whether a customer appears likely to cancel, and how urgently a ticket should be handled, generating several hundred tokens of prose is wasteful. Laya attempts to remove that generation entirely and turn the model into something closer to a dedicated reasoning classifier.


The harder question is whether that is still a compelling product in 2026.



Laya solves a problem that large language models already know how to solve


A few years ago, building a dedicated classification model made obvious sense. General language models were expensive, slow, difficult to constrain, and unreliable when software expected a precise output structure.


That environment has changed considerably. Modern LLMs can return structured JSON, call functions, follow schemas, operate tools, maintain workflow state, and make several decisions about the same input in a single request. An agent can read a customer message, classify it, update a CRM record, check an account, draft a response, and decide whether a human should become involved without requiring a separate model for every stage.

Laya is therefore competing against something broader than another classifier. It is competing against the increasing ability of general AI systems to absorb classification itself into a larger automated workflow.



Speed is Laya’s strongest argument


Laya claims decisions in roughly 33 milliseconds on suitable hardware. That is considerably different from asking a large generative model to reason through a prompt and produce a structured response.


At enormous scale, those milliseconds become economically meaningful. A service evaluating millions of moderation events, support tickets, fraud signals, advertisements, or routing decisions may have little reason to invoke a much larger generative model when the required output is simply one of five choices.


Laya also returns probabilities directly rather than asking developers to infer certainty from generated language. For applications built around thresholds, ranking, or automated escalation, that architecture is cleaner than forcing a generative model into the role of a classifier.


There is a legitimate product here. The question is how large that product category remains as general AI becomes cheaper and more capable.



General AI has one enormous advantage


Laya needs developers to define the decision in advance. A normal language model can encounter something outside the expected workflow and reason about what to do next.

Consider a support system designed around billing, sales, technical support, and cancellations. Laya can become extremely efficient at deciding between those categories.


An agentic LLM can make the same classification, then notice that the message describes an entirely new problem, inspect company documentation, create a new workflow, ask another system for information, or escalate intelligently when the existing categories no longer make sense.


That flexibility is expensive, but it is increasingly useful. Software is moving toward AI systems that understand objectives rather than systems that merely execute predetermined decision trees.



The workflow problem may be more consequential than the inference problem


The future of business AI may not be dominated by individual model calls at all. Developers are increasingly building agents that understand workflows, retain context, interact with software, and decide which tools or models should handle each stage of a task.

In that architecture, classification becomes one small operation inside a much larger process. A capable agent could decide that a particular task deserves a fast local model, another deserves a large reasoning model, and a third requires no model at all. The intelligence gradually shifts upward from the individual classifier into the orchestration layer.


Laya can certainly become one of those tools. Its difficulty is that this also reduces the need for users to think of Laya as a separate intelligence product. It may ultimately be most useful as an invisible component selected automatically by a larger agent.



There is also a complexity trade


Laya currently uses separate checkpoints and a router that decides which model should handle different languages and workloads. That engineering exists to make specialized inference extremely fast and accurate.


A general LLM removes much of that architecture from the application developer. You send the model a schema and instructions, and the provider handles the enormous machinery underneath it. The result may be slower and more expensive, but development becomes simpler and the system can adapt without training another specialized model.

Laya therefore exchanges generality for efficiency. That is an excellent trade when the workload is stable, enormous, and repetitive. It becomes less obvious when workflows change frequently or when the AI is expected to reason beyond categories anticipated by the developer.



So is Laya actually needed?


For high volume decision systems, it can be effective. There are applications where paying for generative reasoning every time software needs to choose between three known options is computationally absurd, and Laya is attacking exactly that inefficiency. Microsoft may need Laya more than Joe Shmoe needs Laya.



Comments


bottom of page