← Use cases

Jev 101

Start here. Jev is TypeSafe AI's System One model: instead of writing text, it turns some state plus a few typed questions into calibrated decisions your code can branch on directly. This is the from-scratch primer — what it is, the three things you can ask it, your first call, and where to go next. No machine-learning background needed.

What Jev is (in one minute)

A chat model answers by generating prose one token at a time, and then you parse that text to get the value you actually wanted. Jev skips both ends. You declare the answer space up front — a set of options, a scale, or a yes/no — and Jev returns the typed value directly in a single non-autoregressive pass. Nothing is generated outside what you asked for, so there is nothing to parse and nothing to hallucinate. That single parallel pass (not a smaller model) is why decisions land in roughly 70–500ms, often 40–200x faster than prompting a frontier LLM for the same thing, with 0% structured-output error.

state + questions your input, typed Jev parallel sampler typed answer + confidence one round trip
One call: state plus typed questions in, a typed answer per question out — each with calibrated probabilities, no free text in between.

The three things you can ask

Every Jev question is one of three primitives. That's the whole vocabulary:

Your first decision

There is no SDK ceremony to learn first — a decision is one HTTP request. You send a state (the context the decision needs) and a map of typed questions, and you get back a typed answer per question. Here is a complete, paste-able first call that routes a support ticket and flags urgency:

const res = await fetch("https://jevtypesafeai.com/api/v1/decide", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${process.env.JEV_KEY}`, // jv_live_...
  },
  body: JSON.stringify({
    state: { message: ticket.body },
    questions: {
      queue:  { type: "choice", instructions: "Route this ticket.",
                criteria: { billing: "payments", bug: "something broken", sales: "pricing" } },
      urgent: { type: "noul", instructions: "Is it urgent?" },
    },
  }),
});
const { answers } = await res.json();
route(answers.queue.choice, answers.urgent.noul > 0.8); // typed + calibrated, no parsing

The official upstream endpoint is POST https://api.typesafe.ai/v1/systemone with the same request shape; jevtypesafeai.com/api/v1/decide is the hosted route that takes a jv_live_ key.

Why the confidence is trustworthy

The probabilities Jev returns are meant to be honest, not just ordered. Jev is trained with RLCD — Reinforcement Learning for Calibrated Decisions — so a 0.8 is right about 80% of the time across many calls. That is what lets you act on the number itself: auto-accept above a high threshold, send the uncertain middle to a human, fall back below a low one. Pin a model version in production so those thresholds stay stable.

Where to run it (free first)

You don't need a key to try it. Run a real decision in the browser playground with no signup, then grab a jv_live_ key and point your own code at the endpoint above. Each decision costs a fraction of a cent (output is free), so a classifier or a guardrail that would be expensive on a frontier LLM is cheap here. Current tiers live on the pricing page.

A short learning path

Once the first call makes sense, these are the next steps in roughly the order most people take them:

What is JevConceptThe one-page explainer: System One, typed decisions, where it fitsRead →How does Jev workMechanismThe non-autoregressive pass and calibration, step by stepRead →Jev examplesPatternsReal request/response snippets for routing, judging, gatingSee →PlaygroundTry itRun a typed decision in the browser, no signupTry →Jev + MCPAgentsGive a coding agent typed decisions over MCPWire up →PricingCostCurrent tiers and what a decision actually costsSee →

Prefer video or a third-party walkthrough? There are community-made "Jev 101" guides, courses and tutorials, plus Jev listed on OpenRouter — all independent of TypeSafe, so treat their API details as a starting point and check against the live docs.

FAQ

What is Jev in one sentence?

Jev is TypeSafe AI's System One model: you send it state plus typed questions and it returns a calibrated typed answer to each — a choice, a score, or a yes/no — in a single non-autoregressive pass, with no text to parse.

Do I need machine-learning experience to use Jev?

No. If you can make an HTTP request and write an if-statement, you can use Jev. You describe the decision in plain language (options, a scale, or a yes/no question) and branch on the typed answer that comes back. There is no model training or prompt-engineering ritual to learn first.

How is Jev different from ChatGPT or Claude?

Those are generators — they write text and you parse it. Jev is a decision primitive — it returns a typed value you act on directly and never writes prose. You often use both: an LLM to generate, and Jev in front of it to route, classify, verify, or gate, cheaply and reliably.

How do I start for free?

Open the browser playground and run a decision with no signup. When you want to call it from code, generate a jv_live_ key and POST to the decide endpoint. Each decision costs a fraction of a cent and output is free.

Where does the name come from?

Jev is named after the economist William Stanley Jevons; "System One" is a nod to Kahneman's fast, intuitive mode of thought. It's the first model in TypeSafe AI's System One line.

See also: What is Jev · How does Jev work · Jev examples · Playground · What is a decision model

Make your first decision

Run a real typed decision in the browser with no signup, then grab a jv_live_ key and call /api/v1/decide from your own code.

▶ Try Jev freeGet an API key →
Jev 101 — a plain-English intro to the System One decision model · Jev by TypeSafe AI