← All use cases

Model routing

Let Jev pick which model should handle a request.

Live toolRun this on your own data with the Model Router

Try it live

This is the real thing, not a mockup. Edit the input, hit Run, and Jev returns every typed answer in one round trip — free, no signup. Now picture the same call fired across thousands of items in parallel.

POST api.typesafe.ai/v1/systemone
state — the input software gives Jev262c
questions — the typed decisions you want back
scorecomplexity
How complex is this request?
→ 0…4 · 5 levels
choiceroute
Which model should handle it?
one of: fast, balanced, strong
noulneeds_tools
Will this likely require tool calls (reading files, running commands)?
probability 0.0 … 1.0
real API · free · no signup
Typed, calibrated output appears here.
Pick a demo, tweak the input, and hit Run Jev.
Get an API key →← All use cases

The decisions Jev makes

In a single call, Jev evaluates each of these — in parallel, against the same input:

scorecomplexity

How complex is this request?

rates it on an ordered scale:

  1. trivial
  2. simple
  3. moderate
  4. hard
  5. very hard / architectural
choiceroute

Which model should handle it?

picks one of these options:

  • fast — fast cheap model — trivial edits, formatting, lookups
  • balanced — mid model — normal features and fixes
  • strong — frontier model — architecture, migrations, hard reasoning
noulneeds_tools

Will this likely require tool calls (reading files, running commands)?

returns a calibrated yes/no probability.

The exact request

This is the real payload behind the live demo — copy it, change the state, and you're building:

{
  "model": "jev-latest",
  "state": "Incoming user request to an AI coding agent: \"Refactor our auth service to support multi-tenant SSO with SAML and SCIM, keep backward compatibility, and write a migration plan.\" Available models: fast (cheap, small), balanced (mid), strong (expensive, frontier).",
  "questions": {
    "complexity": {
      "type": "score",
      "instructions": "How complex is this request?",
      "criteria": [
        "trivial",
        "simple",
        "moderate",
        "hard",
        "very hard / architectural"
      ]
    },
    "route": {
      "type": "choice",
      "instructions": "Which model should handle it?",
      "criteria": {
        "fast": "fast cheap model — trivial edits, formatting, lookups",
        "balanced": "mid model — normal features and fixes",
        "strong": "frontier model — architecture, migrations, hard reasoning"
      }
    },
    "needs_tools": {
      "type": "noul",
      "instructions": "Will this likely require tool calls (reading files, running commands)?"
    }
  }
}

Wire it into your code

Read the typed answers and branch in plain code — no parsing. Auto-handle the high-confidence cases and route the uncertain ones to a bigger model or a human. It's one API call and output is free, so ask every question you need at once.

Build your own

Every scenario above is a single API call. Try any of them free in the playground, then get a hosted key to ship it in minutes.

Run this demo ▶Get an API key →
Model routing — a Jev use case with a live demo · Jev by TypeSafe AI