Skip to content
ProductSeptember 25, 2026

anyr decision puts structured decisions in your terminal

Run TypeSafe Jev, Fastino GLiNER2.5-Decide, or the anyrouter/decision preset with one native CLI command instead of forcing decision models through a chat agent.

A decision is not a chat completion

The Decisions family evaluates application state against typed noul, choice, and score questions. That contract is available through POST /api/v1/decisions; it is not an OpenAI messages payload.

Use typesafe/jev, fastino/gliner2.5-multi-v1, or anyrouter/decision for auto-routing across the decision models your keys can reach. Model pages now lead with the native command and raw request samples instead of chat-agent launchers.

One command from the CLI

Install anyr, sign in, then choose an exact model:

curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr decision --model typesafe/jev
Run Jev through the native Decisions client.

The command uses the same Decisions endpoint and structured response as the API, so the result is typed answers rather than generated chat text.

The SDK surface follows the API

For application code, the model page also shows a raw fetch sample with state and questions. Chat SDK samples are intentionally omitted because they call the wrong endpoint for this model family.

const res = 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({
    state: "Help! My payouts have been failing for 3 days.",
    model: "typesafe/jev",
    questions: {
      is_urgent: {
        type: "noul",
        instructions: "Does this convey urgency?",
      },
    },
  }),
})

console.log(await res.json())
POST a Decisions request from TypeScript.

Read the Decisions API reference or open the full Decisions app. Release details: Decisions family + anyr decision.

Route your first request in 2 minutes

Start free with your own keys, or top up and pay per token. Get $4/mo in credits and free models on Go — $2/mo, or free when you donate a provider key.

Start free