Decision model

Laya (Free)

Turn context into typed decisions.

Laya (Free) turns shared input into typed results your code can use.

One input. Typed decisions.

Illustrative values · No API call

Shared input

“My subscription was charged twice this month. I can’t update my card, and this is my second message. Please help.”

Send one question per request. Switch question types to explore illustrative answers for the same input.

Which team should handle this?

Billinghighest-probability option

Billing
82%
Technical
13%
Account
5%

Define a set of categories. The model returns the most likely option and the probability of every option, adding up to 100%.

Confidence

Read the whole distribution.

The winning option is only part of the answer. A clear preference and a close call can both select “Billing”. Their distributions show how much ambiguity remains.

Use the returned probabilities to choose an action or send ambiguous results for human review. Probability is not a guarantee of correctness.

Clear preference

Billing
90%
Technical
7%
Account
3%

Close call

Billing
36%
Technical
34%
Account
30%

Illustrative Choice distributions.

Pricing

Catalog pricing

Input / 1M tokens
Free
Output / 1M tokens
Free
Request minimum
$0

No deposit or monetary hold. Customer charges stay zero; free requests share account and API-key quotas with free chat.

Endpoints

Decision endpoints

OpenAI decision format
POST
Ordered typed questions and answers, including native refusals.
Primary HTTP API
POST
Boolean probabilities, selected choices and rubric scores. Choice and score answers include their full probability distributions.
Limits

Building with Laya (Free)

Availability follows the qualified catalog and your API key permissions. If the qualified route is unavailable, requests return 503 before a credit hold or provider call.
Text and JSON in, typed answers out
State can be a string, object or array. This model accepts text input, without audio, images or streaming.
One question per request
Send each question in a separate request. Free-inference quotas apply across endpoints.
Your categories and scale
Up to 64 options per choice; 2–10 ordered levels per score. Describe each option clearly, and add an “other” option when categories are not exhaustive.
Shared free allowance
The qualified request reserves up to 8,192 tokens against shared free quotas, including any reported output usage.
32 KiB normalized request limit
The upstream JSON must fit within 32,768 UTF-8 bytes, including routing fields MiniRouter adds.
Example

HTTP example

Use an explicit model and an integration API key. Disable automatic retries: a lost response may still incur cost.
Decision HTTP request
curl --fail-with-body https://api.minirouter.sh/v1/evaluate \
  -H "Authorization: Bearer $MINIROUTER_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
  "model": "convaiinnovations/laya-free",
  "state": "The subscription was charged twice.",
  "questions": {
    "billing": {
      "type": "boolean",
      "instructions": "Does this describe a billing problem?"
    }
  }
}'

Every model, one key.