Oussama Essamadi

Writings

Is Jev just a classifier?

Three days after TypeSafe released Jev, a look at what it actually is, why calling it a classifier is both right and beside the point, and what cheap, fast decisions could do to the cost of coding agents.

Published

Reading time

10 minutes

Post

Three days ago, TypeSafe AI released Jev (opens in a new tab) in early access, and my timeline has been split in two ever since. Half of it says it’s a whole new kind of model, the other half says it’s a classifier with very good marketing. Honestly, I think both halves are right, and the interesting part is why that matters a lot less than it sounds.

What Jev actually is

Jev doesn’t write. No text, no code, nothing. You send it a state, some text describing a situation, plus a few typed questions, and it sends back typed answers with probabilities. TypeSafe calls it a “System One” model, after the fast, intuitive System 1 from Kahneman’s Thinking, Fast and Slow, as opposed to the slow, deliberate System 2 that the big models are busy imitating.

The questions come in three shapes:

  • Choice, pick one of the options you define, up to 255 of them.
  • Score, place the state on a scale you define.
  • Noul, a yes or no, answered as a probability between 0 and 1.

Several questions can ride on the same state, and they’re evaluated in parallel. LangChain’s write-up (opens in a new tab), published yesterday, has the simplest example of what a call looks like:

classifier = TypeSafeClassifier()
response = classifier.invoke({
    "state": "...",
    "questions": {"urgent": Noul(instructions="Does this need attention right now?")},
})
urgency = response.nouls["urgent"].noul

You get a number back, not a sentence to parse. The output is the whole product here, and funnily enough, it’s free, TypeSafe only charges for input tokens, $0.042 per million, while output is “too cheap to meter”.

Under the hood, the launch post talks about a new model architecture, a parallel sampler that generates all of its outputs in a single query instead of one token at a time, and a training method they call RLCD, Reinforcement Learning for Calibrated Decisions. That’s about all they say, no paper, no weights, so anything more specific about the inside would be me guessing.

So, is it just a classifier?

Let’s get this out of the way, yes. Strictly speaking, a model that takes an input and returns a probability distribution over a set of labels is a classifier. Choice is multi-class classification, Noul is binary classification, Score is ordinal regression, and even LangChain’s own integration is literally called TypeSafeClassifier. Arguing otherwise is marketing.

But the word brings a picture with it that doesn’t fit. The classifiers most of us have built were trained for one job, a spam filter, a sentiment model, something that tells cats from dogs. You collected labeled data, you trained, and if you wanted a new label, you trained again. Jev doesn’t work like that, the labels, their criteria and the instructions all arrive with the request, in plain English. You program it with a sentence instead of a dataset, and that’s the genuinely new part, not the output type, but how cheap it is to define a new one.

The other half of the pitch is calibration, the idea that a 0.8 means right about 80% of the time. That’s the one thing a chat model can’t give you, ask it how sure it is and you get a word or a number it made up, not a probability you can put a threshold on. If Jev’s numbers hold up, that’s worth more than the labels themselves. And for now it’s a big if, the launch post claims calibration but doesn’t show any calibration data.

Same with the “zero hallucinations” headline. What’s guaranteed is that every answer matches the schema, it can’t invent a fourth option or hand you a paragraph when you asked for a probability, and TypeSafe themselves write that the number is “not empirical”, it follows from the schema. An answer can be perfectly typed and still wrong. “Can’t hallucinate” really means “can’t go off-script”, which is useful, it’s just not the same thing.

So yes, it’s a classifier, a promptable, fast and (supposedly) calibrated one, and I’d argue that’s exactly why it’s interesting. We already have plenty of models that can do everything. What agents are missing is something that can do one small thing, very cheaply, a thousand times a session.

The decisions inside a coding agent

If you’ve used a coding agent, you’ve seen these decisions, even if you never thought of them as decisions. Every step of the loop carries a few:

  • Is this shell command safe to run, or should it ask me first?
  • Does this task need the big model, or will a smaller one do?
  • Which of these fifty files are actually relevant?
  • Is the conversation long enough to compact, and is this a good moment for it?
  • Is the work actually done, or is it about to stop early?

Today, these get answered in one of three ways. Hard-coded rules, an allowlist or a regex, which are fast and blind. The main model itself, inside its own reasoning, which costs no extra call but means the expensive model spends its attention on housekeeping. Or me, through a permission prompt, which is the most accurate and by far the slowest, and after the fortieth “allow this command?” of the day, not that accurate anymore either.

Jev slots in as a fourth option, a model-quality judgment at close to the cost and speed of a rule. LangChain already shipped two ways to use it in an agent, a ModelRouterMiddleware that picks a model from the user’s message for the whole run, and an AutoModeMiddleware that checks tool calls and blocks the risky ones before they execute.

The cost math

The headline numbers are 193.6 times faster and 444.6 times cheaper, and I wanted to know where they come from before repeating them. They come from four workflows TypeSafe built, measured against the average of two frontier models, and TypeSafe themselves say they expect those numbers to be “on the higher end of real world gains”. Fair enough, so let’s do the math ourselves, with their own published prices.

Say a decision needs 2,000 tokens of state, a command plus some context, and an LLM judging it answers in about 30 tokens. TypeSafe quotes LLM input prices “from $0.20 to $10” per million tokens, with output around five times the input price. For Jev, a decision is only its input, 2,000×$0.042/1062{,}000 \times \$0.042 / 10^6, and for an LLM, it’s the input plus the answer, 2,000 p+30×5p2{,}000\,p + 30 \times 5p, with pp the input price per token. That gives:

Who decides Cost per decision Compared to Jev
Jev $0.000084 1x
A cheap LLM ($0.20 per million input) $0.00043 about 5x
A frontier LLM ($10 per million input) $0.0215 about 256x

That table is the whole honesty problem in one place. Against a frontier model, the savings are huge. Against a cheap one, they’re about five times, nice, but not a revolution. The real answer to “how much does Jev save” is “compared to what?”

What checking every tool call costs, as the calls add up
US dollarstool calls checked
  • frontier LLM
  • cheap LLM
  • Jev
The numbers
Seriestool calls checkedUS dollars
frontier LLM00
frontier LLM1002.15
frontier LLM2004.3
frontier LLM3006.45
frontier LLM4008.6
frontier LLM50010.75
frontier LLM60012.9
frontier LLM70015.05
frontier LLM80017.2
frontier LLM90019.35
frontier LLM1,00021.5
cheap LLM00
cheap LLM1000.043
cheap LLM2000.086
cheap LLM3000.129
cheap LLM4000.172
cheap LLM5000.215
cheap LLM6000.258
cheap LLM7000.301
cheap LLM8000.344
cheap LLM9000.387
cheap LLM1,0000.43
Jev00
Jev1000.0084
Jev2000.0168
Jev3000.0252
Jev4000.0336
Jev5000.042
Jev6000.0504
Jev7000.0588
Jev8000.0672
Jev9000.0756
Jev1,0000.084

Scale it up to a session where each of 300 tool calls gets checked, and that’s $0.025 with Jev, $0.13 with a cheap model and $6.45 with a frontier one. Speed matters as much as price here. TypeSafe puts Jev at 70 to 500 milliseconds per call, so 300 checks add 21 to 150 seconds of waiting in total, while the frontier models in their own comparison take 3 seconds at best, that’s 15 minutes added to a session just for checks. A check that slow never gets added in the first place, which is exactly why most agents don’t have one.

Now the catch, and it’s a big one. A Jev call only saves money if it replaces something. If the main model was already making that call inside its own reasoning, a Jev check on top is a new cost, a small one, but new. The real savings come from three places:

  1. Replacing a separate judge call, where an agent already asks an LLM “is this safe?” or “is this done?”.
  2. Routing, sending the turns that don’t need a frontier model to one that costs a fraction of it.
  3. Keeping tokens out of the main model. Judging fifty files of about 3,000 tokens each costs Jev $0.0063, while reading all of them into the main model costs $0.03 to $1.50, every turn they stay in context, and a lean context gives better answers on top of that.

So I’d measure it per finished task, not per call. A cheap check that makes the agent take two more turns isn’t a saving.

What I’d try first

If I were wiring it into an agent tomorrow, I’d start with the boring, high-volume one, gating shell commands:

  • Hard rules first, an allowlist for the obviously safe and a blocklist for the obviously dangerous, and those fail closed, no model gets to talk its way past them.
  • Jev for the gray zone in between, a couple of Noul questions like “is this reversible?” and “does this serve the task?”, auto-approving only when both are confidently yes, and asking me otherwise.
  • Jev can raise the risk, never lower it below what the rules already said.
  • Shadow mode first, log what it would have decided, compare it with what I actually did, and only then let it decide.

Then routing, and only after that file relevance, because a wrong “not relevant” is the kind of mistake you never see.

What gives me pause

  • It’s closed and hosted. No weights, so every command, file and piece of state I send it goes to TypeSafe’s servers. After running models on my own machine for a while now, that’s not a small detail, especially for code under an NDA.
  • It’s early access. There’s a waitlist, and nothing tells me yet what changes from one version to the next. A gate in an agent loop is a dependency, and I’d want to pin it.
  • The benchmarks are theirs. They’re measured against the average of GPT-6 Astra and Fable 5.1, which TypeSafe themselves say biases the results toward those models. That’s agreement with two other models, not ground truth.
  • The price may not last. In their own words, “We can’t prove it isn’t subsidized.” They expect prices to go down, not up, and I hope they’re right, but a workflow that only makes sense at today’s price is a bet on that.
  • Confidence is a signal, not a wall. For anything security-related, a probability should never be the last line of defense.

The name

Here’s my favorite detail of the whole launch. Jev is named after William Stanley Jevons, and TypeSafe say it outright: “We expect machine intelligence to follow a similar path to coal, after steam-engine efficiency led to an increase in demand.” That’s the Jevons paradox, when using something gets more efficient, we don’t end up using less of it, we use a lot more.

Think about what that means for agents. If a decision costs a hundredth of a cent, nobody’s going to make the same number of decisions for less money, we’re going to make a hundred times more of them, check every command, every file, every turn, and the total bill may not drop at all. A company naming its model after the paradox that says efficiency won’t save you money is either very honest or very confident, probably both.

Where I land

Jev is a classifier, and that’s the point. Not a smaller LLM, not a new kind of intelligence, but a fast, cheap, promptable judgment that agents have been faking so far with expensive models and permission prompts. If the calibration holds up, it’s the first piece of the agent loop that can say how sure it is in a way code can actually use.

That’s also the part that interests me the most, given my thesis. An agent system is mostly orchestration, who does what, when to hand off, when to stop, and almost every one of those is a small judgment, not a generation. A model built only for those judgments is about as close to an orchestration primitive as anything I’ve seen ship. Whether Jev is the one that sticks, early access will tell, but I’d bet the idea does.

Next

orAll 21 writingsorRandomorHome

WorksWritings

Getting the list…

Getting the list…

Keyboard shortcuts

Search and commands
Ctrl K⌘K
Switch between light and dark
T
All works
P
All writings
W
Search the open list
S
Home
H
Write to me
C
Show these shortcuts
?
Close what is open
esc

Shortcuts are on.