Developers can now classify a short support ticket through AnyRouter for $0 per request, receiving a typed decision with probabilities instead of a generated reply. The new endpoint hosts HAL-X’s THX-01, a specialized model for tasks such as routing, classification, scoring, and agent control.
AnyRouter’s October 11, 2026 release lists the 322 million-parameter model as free, with no bring-your-own provider key required. Developers still need an AnyRouter API key, but they don’t have to run the weights themselves or connect a separate paid model account.
The practical attraction is a narrower interface than chat generation: supply the current state, define the question and permitted answer type, and receive a decision that software can act on. The main restriction deserves equal attention. THX-01 reads up to 1,024 tokens per question, and longer state is truncated.
That makes this release worth testing for compact operational decisions, not for passing an entire conversation or document into another general-purpose assistant.
Typed Decisions Fit Tasks With Defined Outcomes
THX-01 is a non-autoregressive model, according to the HAL-X model card. Rather than generating an answer token by token, it scores the available outcomes in a forward pass. Its published architecture combines an mmBERT-base encoder with a decision head.
AnyRouter exposes three question types:
choiceselects among named options and supplies probabilities for those options.noulexpresses a yes-or-no decision as a probability of yes.scorereturns an ordinal level and its probability distribution.
Those types cover a useful category of application logic. A support system might choose between billing and technical queues. A workflow might assess whether a message requires escalation. An agent controller might select the next permitted step from a predefined set.
For these jobs, an unrestricted paragraph creates extra work. The application ultimately needs a category, boolean-like assessment, or ordered score, not an explanation that must be interpreted afterward. A chat model can also produce structured output, but THX-01’s interface is built specifically around decisions and their probabilities.
It is a poor substitute when the actual task is drafting a response, explaining a complicated issue, or synthesizing a long record. A sensible division of labor is to use a decision model to select the route, then call a generative model only when that route requires generated text.
AnyRouter says THX-01 was post-trained in 18 languages and supports more than 100. That broad coverage is relevant to multilingual queues, but it is a provider claim, not evidence of equal accuracy in every language or business domain. A deployment serving several languages should evaluate each important language separately.
Free Access Still Requires an AnyRouter Key
The AI pricing detail is straightforward: AnyRouter lists THX-01 at $0 per request, without requiring another provider’s key. Free pricing does not mean unauthenticated access.
The published request example uses bearer authentication with an AnyRouter API key. The dedicated endpoint is:
POST https://anyrouter.dev/api/v1/decisions
It is not a chat-completions request with a different model name. The request contains state, model, and a questions object describing the decisions to make.
Here is a server-side JavaScript call following AnyRouter’s request example, with an HTTP error check added:
const response = await fetch(
"https://anyrouter.dev/api/v1/decisions",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ANYROUTER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "hal-x/thx-01",
state: "I was charged twice this month.",
questions: {
category: {
type: "choice",
instructions: "What is this ticket about?",
criteria: {
billing: "billing issue",
bug: "software bug",
},
},
},
}),
}
);
if (!response.ok) {
throw new Error(`Decision request failed: ${response.status}`);
}
console.log(await response.json());
Set ANYROUTER_API_KEY in the server environment before running it. Keep that credential out of browser code and public repositories. The example prints the response rather than assuming an undocumented response layout or inventing a result.
The release also documents a native CLI route through anyr login followed by anyr decision --model hal-x/thx-01. Developers already using AnyRouter’s tooling can use that to explore the model before integrating HTTP calls.
The two-option example is intentionally simple. In a real ticket queue, billing and bugs will not cover every incoming message. Define options around the actual workflow, test ambiguous cases, and provide an application-level fallback when confidence is insufficient.
The release establishes launch pricing, not unlimited capacity or a permanent pricing commitment. It does not specify request quotas, a service-level guarantee, or data-retention terms. Those details should be checked before building a production dependency around free access.
The 1,024-Token Budget Includes the Question and Options
AnyRouter warns that the hosted model cuts longer state. The model card gives an important clarification: the 1,024-token input limit includes the question, options, and state together, for each question.
A developer should therefore not treat 1,024 tokens as an allowance solely for the source text. Long instructions and verbose category descriptions consume space that could otherwise hold evidence.
Consider a support workflow that sends a customer’s latest message, earlier correspondence, account details, and a lengthy routing taxonomy. Even if the latest message is short, the complete input can exceed the budget. If a decisive fact sits in material that gets truncated, the model cannot base its answer on that fact.
A safer design is to construct a compact decision record:
- Include the current message and only the metadata necessary for that decision.
- Keep question instructions and option descriptions concise and distinguishable.
- Check the full input budget, rather than counting only the state.
- Send oversized or incomplete records to a separate handling path.
Token counts are not interchangeable with word or character counts. Multilingual text makes a fixed character limit especially unreliable as a proxy. Leave headroom for the question and options instead of assuming that a short-looking record will fit.
For agent control, the state should describe the immediate decision: relevant tool results, current status, and available next actions. Passing the entire agent trace is a poor fit for this endpoint.
Summarizing a long record first is possible as an application design, but it introduces another failure point. If the summary drops the fact needed for routing, a well-formed answer from THX-01 does not repair that omission. The token limit should influence what the application sends, not merely how it trims an oversized payload.
Calibration Needs Validation on Your Own Decisions
HAL-X and AnyRouter describe THX-01’s probabilities as calibrated. The intended interpretation is that, across comparable predictions assigned a probability near 0.8, roughly 80% should be correct.
That is more useful for automation than an answer without a usable confidence measure. An application can accept sufficiently confident decisions and send the rest to a person or another model. The threshold becomes part of the operating policy.
But calibration is a population-level property. It does not establish that one particular ticket is safe to automate, nor does calibration measured on a provider’s evaluation automatically carry over to a different queue, taxonomy, or language mix.