Running AI workflows in production just got cheaper with Jev
After two years of development in stealth, TypeSafe has released Jev, its first public model. With a novel architecture focused on cost-efficient, low-latency decision-making, Jev shows promise as a complement to LLMs in existing AI workflows.1
How Jev came to be
Diogo Almeida, TypeSafe's founder, co-authored the 2022 InstructGPT paper during his tenure at OpenAI. The paper helped establish reinforcement learning from human feedback (RLHF) as a way to make language models better at following instructions and producing responses that humans prefer.
During my time at Porter, we explored an AI use case during an internal hackathon: generating structured JSON that our backend could use to process orders. Using an LLM was overkill: we didn't need paragraphs, only a structured response containing decisions such as the order type and pickup and drop-off locations. We also had to ensure that every response was valid JSON before it reached the backend. The workflow was slow and expensive because we were paying for and waiting on text generation, formatting and validation.
TypeSafe's hypothesis is that AI-to-software interactions need a different interface from AI-to-human interactions. A model designed specifically for decisions could be faster, cheaper and easier to integrate. After two years of stealth development, the company has announced three innovations:
- A new architecture.
- A parallel sampler.
- Reinforcement Learning for Calibrated Decisions (RLCD).
LLMs are built to communicate with humans, whereas Jev is built to make decisions for software.
Fun fact: the name Jev comes from the economist William Stanley Jevons, who formulated what became known as the Jevons paradox:
When a resource becomes dramatically more efficient and cheaper to use, total usage may increase rather than decrease.
TypeSafe is banking on the idea that making machine intelligence 100× cheaper won't merely reduce bills, it could make millions of previously uneconomical background decisions viable.
A layman's guide to how it works
For the rest of the blog, I'm going to use the example of how a customer-support ticket would work.
The LLM approach
The customer's chatbot input:
“I was charged twice and need my money back.”
You ask an LLM to return:
{
"department": "billing",
"refundRequested": true,
"urgency": 0.7
}The LLM first tokenises the input and then generates the response sequentially, one output token at a time. Even when the required output is small and structured, the model still performs autoregressive text generation.
The Jev approach
First, you need to understand the primitives:
| Primitive | Simple meaning | Example |
|---|---|---|
Noul | Probabilistic yes/no | Is a refund being requested? |
Choice | Select from allowed options | Billing, technical or account |
Score | Position on a defined scale | Calm → frustrated → angry |
With Jev, you provide:
- State: the customer message, order and refund policy.
- Questions: whether a refund was requested, which department owns it and how urgent it is.
- Allowed answers: the predefined choices or scoring scale.
Jev returns typed answers and probability distributions directly.2
Jev behaves less like a colleague writing an answer and more like a function evaluating several fuzzy conditions.
Once Jev returns its structured result, your code owns the action to take:
if (refundRequested > 0.9 && policySupportsRefund > 0.9) {
approveRefund();
} else {
sendForReview();
}The model provides judgements, while deterministic code combines them into business behaviour.
Why Jev is faster and cheaper
According to TypeSafe, at the time of writing:3
| Input token cost | Output token cost | End-to-end response time | |
|---|---|---|---|
| JEV | $0.042 / MTok | Free (too cheap to meter) | 70–500 ms |
| LLMs | $0.20–$10 / MTok | ~5× the input token cost | 3–329 seconds |
Now, how did they pull this off?
- It doesn't generate explanations, paragraphs or arbitrary JSON one token at a time.
- It selects among predefined outcomes instead of generating an open-ended sequence.
- It evaluates multiple independent questions in parallel rather than producing their answers sequentially.
- It is optimised for focused judgement calls rather than conversation, research or extended reasoning. In short, it avoids work that decision-making use cases do not need.
What it doesn't replace and its limitations
Jev replaces some LLM calls, not the LLM itself.
It won't replace:
- Chatbots
- Code generation
- Research
- Multi-step reasoning
Its current limitations include:23
- Text only: its model doesn't support images, audio or video currently.
- Predetermined output space: developers must define the possible outcomes.
- Atomic-question requirement: complicated judgements must be decomposed into smaller questions.
- Workflow engineering remains necessary: developers must define thresholds, fallbacks and escalation paths.
- Early product: production adoption and long-term reliability remain unproven.
Where I see Jev fitting into AI workflows
Use code for rules, Jev for fuzzy decisions and LLMs for language and reasoning.
The same ticket, two routers
Both pipelines below receive the same tickets, offer the same routes and call the same downstream responder. Only the router changes, so the comparison isolates routing cost and latency. The numbers are assumptions you can edit, not measurements.
Where JEV replaces a decision, not a writer
Both pipelines below receive the same tickets, offer the same routes, call the same specialist LLM and share the same human review queue. Only the router changes.
1. Architecture comparison
The downstream half is identical in both. Select a node to see what it does and what it is assumed to cost.
Architecture A: LLM router
LLM router and LLM responder
Text description of this diagram
A ticket moves left to right through four stages. Each node is listed below with what it is responsible for.
- Customer ticket (input)
The message a customer sent, plus whatever account context the pipeline already holds. - Router LLM (llm call)
Reads the ticket and the routing instructions, then writes a routing decision out token by token. - Deterministic API (simple)
Answers the ticket straight from your own systems. No model is involved. - Specialist response LLM (complex)
Writes the customer-facing reply. Same model and same context in both architectures, which is what isolates the routing change. - Human review (risky)
Takes anything risky or low confidence. The escape hatch both architectures share. - Final response (output)
What the customer receives, whichever branch produced it.
The router sends simple tickets to the deterministic api, complex tickets to the specialist response llm, risky tickets to the human review. All three branches produce the final response.
Architecture B: JEV router
JEV router and the same LLM responder
Text description of this diagram
A ticket moves left to right through four stages. Each node is listed below with what it is responsible for.
- Customer ticket (input)
The message a customer sent, plus whatever account context the pipeline already holds. - JEV decision model (typed decision)
Reads the ticket and a fixed set of decision questions, then selects among answers defined in advance. - Deterministic API (simple)
Answers the ticket straight from your own systems. No model is involved. - Specialist response LLM (complex)
Writes the customer-facing reply. Same model and same context in both architectures, which is what isolates the routing change. - Human review (risky)
Takes anything risky or low confidence. The escape hatch both architectures share. - Final response (output)
What the customer receives, whichever branch produced it.
The router sends simple tickets to the deterministic api, complex tickets to the specialist response llm, risky tickets to the human review. All three branches produce the final response.
2. Ticket journey
Pick a ticket and send it through both lanes.
Not started
Run the comparison to see what each router returns.
3. Workload
The routing mix is the only thing a scenario changes. Everything else is held constant.
A mixed queue. The default assumption.
- Monthly workload
- 10,000 tickets
- Route mix
- 55%code35%specialist LLM10%human
| Model | Input / MTok | Output / MTok |
|---|---|---|
| Router LLM | $0.30 | $1.50 |
| Specialist LLM | $3.00 | $15.00 |
| JEV router | $0.042 | Not billed |
Every figure is an estimate chosen to be plausible, not a measurement.
4. Results
Estimated monthly cost $72.75 with an LLM router and $64.05 with a JEV router. Estimated saving 12.0%. Conventional LLM tokens down 67.8%. Routing decision 4.1x faster, routing layer only.
- Estimated monthly saving
- 12.0%
- $8.70 per month
- Conventional LLM tokens
- 67.8%
- fewer
- Routing decision
- 4.1x
- faster, routing layer only
| Metric | LLM router | JEV router |
|---|---|---|
| Total monthly cost | $72.75 | $64.05 |
| Routing layer cost | $9.75 | $1.05 |
| Specialist LLM costidentical by design | $63.00 | $63.00 |
| Generated output tokens | 3.6M | 2.1M |
| Routing latency | 900 ms | 220 ms |
The routing figure describes the routing stage, not the workflow. A ticket that still needs a written reply waits on the same specialist model either way: 5.1 s end to end with an LLM router against 4.4 s with JEV.
How this comparison works
The most defensible comparison is cost per successfully handled ticket, not tokens alone.
- This is a configurable cost model, not an independent benchmark. Every number above is an assumption you can edit.
- The same routing distribution is applied to both systems, so neither gets an easier queue than the other.
- The downstream specialist LLM is deliberately identical: same model, same context, same number of calls.
- What is being measured is the effect of replacing only the routing model. Nothing downstream changes.
- Provider token counts are not perfectly comparable, because tokenizers differ between models. Treat the token rows as indicative.
- Cost, latency and accuracy have to be measured separately. This model covers the first two and says nothing about the third.
- A cheaper pipeline is not useful if routing quality drops. A wrong route costs more than the tokens it saved.
- A real production evaluation should also measure routing accuracy, false automation, confidence calibration and the quality of human escalations.
References
-
TypeSafe AI, Introducing System One Models & Jev. Launch, architecture, speed, pricing and evaluation claims. ↩
-
TypeSafe Documentation, System One Models. How Jev works, its decision primitives and its limitations. ↩ ↩2
-
TypeSafe Documentation, Jev Models and Pricing. Current pricing, context limits, supported inputs and available versions. ↩ ↩2