How to use Jev
for GTM Automation

Step-by-step guide by Treg

What is Jev?

Jev is a decision model from TypeSafe.
Hand it a JSON state and typed questions (a choice, a yes/no, a score) and it returns probabilities in under a second.

treg hands it the data: X, LinkedIn, email verification, person and company enrichment, on one key.

Set up tregView automation recipes

Quick Jev 101

what is jev

jev predicts probabilities, not text

Ask a chat model and it writes an answer, one token after another, which your code then has to read. Ask jev and every option you named gets a probability, all at once, summing to one. Same message, same question:

The numbers are the answer. Your code compares them to a threshold; nothing is parsed, nothing can be made up outside your list.

state"Our API integration started returning 500 errors on every request about 20 minutes ago, and we can't process any customer orders until this is fixed."questionWhich team should handle this: billing, technical or sales?
chat model
0.0 s
writing…
jev
technical1.00
billing0.00
sales0.00
0.38 s
0 output tokens · confidence 1.00 · $0.000018
what is jev

Much faster and cheaper than the cheapest LLM

We sent the same three support questions to jev and to GPT-5.6 Luna, the cheapest chat model we could find, with real support tickets padding the input from 2k to 200k tokens. Where both run, jev is 5 to 6× cheaper and 5 to 7× faster, and its time barely moves with input because it never writes.

In September jev stopped at about 30k tokens. Since October it reads up to about 262k through treg: the three rows marked * are Jev 1.14 on 30 Nov, timed end to end from our terminal, and it still picked the right answer at 237k tokens. Past 100k it is slower than Luna, and TypeSafe says long inputs are less accurate, so keep the state short when you can. Luna's time is dominated by writing ~80 output tokens, so it sits at 2 to 4 s whatever you send. TypeSafe's own workflow demo claims far more (193.6× faster, 444.6× cheaper); these are our numbers.

cost per call
2k1.7×
8k5.8×
16k5.8×
32k5.7×
time per call
2k7.0×
8k5.9×
16k6.1×
32k4.5×
jevGPT-5.6 Luna
input jevGPT-5.6 Luna
2k$0.00007550.39 s$0.00012992.74 s
8k$0.00022480.40 s$0.00130712.35 s
16k$0.00041220.40 s$0.00237912.46 s
32k$0.00080310.51 s$0.00459532.29 s
34k$0.00166762.3 s*$0.00803713.59 s
100k$0.00495943.5 s*$0.02336563.03 s
200k$0.00994386.5 s*$0.04671473.89 s
real English support tickets from a public dataset · cost as billed by OpenRouter · single runs · * Jev 1.14 on 30 Nov, our own repeated tickets, timed end to end through treg; before October these rows were over its limit
what is jev

What jev can, and can't

It is a judge, not a writer. Everything on the left is a typed question; everything on the right needs a model that generates text, so you pair the two.

CAN
+pick an actionone of your options, a probability on each · the game further down
+classifybilling 0.99 · technical 0.01 · account 0.00
+score / rank368 people in 42.8 s, $0.013
+say yes or nojailbreak 0.99, four hazards in one call
+route on confidencetwo thresholds in your code, nothing re-run
+read your JSON as it isrows, tables, element lists, ticket histories
+look at an imagea PNG or JPEG in the state · box finds the button to click
+at 5 to 7× a chat model's speedand 5 to 6× cheaper, our runs · ≈ $20 per million decisions
CAN'T
−write a sentencean LLM writes, jev verifies each field
−explain itselfthe distribution is the explanation: log it
−write codeit can judge code: risky change, needs review
−reason step by stepyou write the steps as questions, it answers all at once
−read past ~262k tokenschunk the state, or summarise first and judge the summary
−fetch anythingthat is treg: one token, the catalog, then jev decides
−remember the last callevery request is stateless: put the history in the state
real-time decisions

Real-time decisions: a game loop

A game only ever has a handful of inputs. That is a choice question with the buttons as options, so jev answers it as a distribution every tick: nothing to parse, nothing invented outside the set, and fast enough to sit inside the loop.

Seven ticks of a small side-scroller, each judged live by jev from the game state: positions, ammo, the pit, the exit. About 0.35 s and $0.00002 a decision. A chat model writing "I would press jump" took 2.7 s in the race at the top.

GAMEstate in, action out, every tick
action set · fixed
LEFT
RIGHT
JUMP
SHOOT
real-time decisions

Real-time decisions: a page that picks itself

A decision fast enough to run while the page loads. Bryant Chou's Ploy reads a site's conversion data and enriched visitors, forms hypotheses per audience segment, and at load time jev selects the copy and the design for each part of the page for that visitor, then tracks the result and improves the hypotheses.

His figure: the selection takes 25 ms, with no real impact on LCP. Each section is a choice among variants you wrote, so nothing is generated on the fly and nothing off-brand can appear.

@bryantchou on X ↗
25 ms per page loadno real impact on LCPcopy and design, per section, per segmentresults tracked in real timevideo and figures: @bryantchou
web & computer use

Web and computer use

browser-use's jev-ultrafast agent never sends a screenshot. It reads the page into a numbered element table and asks jev one request: which operation, plus a target for each kind of operation, all answered at once. It then uses the target that matches. Only a TYPE_TEXT step calls a small LLM, and only for the text itself.

browser-use/jev-ultrafast ↗
how jev-ultrafast takes one step · from its README
                      one TypeSafe request
                     ┌───────────────────────────┐
page → element table → operation                 │
                     │ click_target              │
                     │ type_text_target          │
                     │ select_target, if present │
                     └─────────────┬─────────────┘
                        use the matching target
                                   │
                 CLICK [7] ────────┼──→ browser
             TYPE_TEXT [3] ────────┘
                       ↓
             small LLM → text → browser
7.07 s flight search, end to end1,092 → 101 browser calls per task2.8 s open a Wikipedia article1.9 s hotel search and filterjev-ultrafast README · single runs
automation & data

Automation: judge every one, not a sample

At a fraction of a cent and under a second, with a confidence on every answer, the business logic goes in the code, and jobs that never paid for a frontier model become a rule that runs on every record.

borja's SEO audit: internal linking is not writing, it is 8,790 yes/no calls. Does this page have a real reason to link to that one, and is the anchor text already in the copy? Left column jev, right column Claude Opus 5, same queue, same rubric. The signup recipe below is the same shape.

@borjafat on X ↗
586 pages in 45.1 s$0.21 total584 links placed, 139 pages refusedOpus 5: 21 pages, $1.43≈ 190× cheaper per pagevideo and figures: @borjafat
search

A search model: filters nobody built

Search usually means the filters someone indexed in advance. With jev the query is a sentence and every record is judged against it, so you can filter and rank by things no column holds: architecture, renovation status, who actually decides. No index, no embeddings, no vector column.

thousands of listings scanned< 20 s$0.18filters: architecture · renovation status · freeway proximityvideo and figures: @venturetwins
how to use it

Four kinds of question

Every jev question is one of four types, and you can send several in one call. Each returns a full distribution, not just a label, so a close call looks different from a sure one.

choice picks one of your options and tells you how close it was. noul is a yes/no as a probability, with a playbook for each side when the line is subtle. score is a position on your ordered rubric: the probability on every level plus their weighted mean. box, new in Jev 1.14, finds something in an image and answers with its four edges.

All four are real answers from our runs.

state · a support enquiry
"The export button double-charged my credits, so my invoice is wrong this month."
question
"department": {
  "type": "choice",
  "instructions": "Which team should handle this?",
  "criteria": {
    "billing": {
      "what": "charges, invoices, credits, refunds",
      "examples": ["I was charged twice",
                   "Where is my refund?"] },
    "technical": {
      "what": "bugs, errors, integrations",
      "examples": ["The export is empty",
                   "API returns 500"] },
    "account": {
      "what": "login, password, profile",
      "examples": ["I can't log in"] }
  }
}
answer
billing0.99
technical0.01
account0.00
→ choice billing · confidence 0.99

The customer needs their invoice fixed, and the examples under billing make that near-certain. Strip the options back to one-line labels and a tenth of the mass moves to technical, because a bug caused it; add "focus": "route to whoever must fix the root cause" and the same message flips, shown under the steering tips. The rubric is where your routing policy lives.

how to use it

Route based on confidence

jev hands back probabilities; your code owns the decision. In TypeSafe's guardrail cookbook the whole policy is two thresholds and a map from hazard to action. Pick a message and watch it walk the tree.

One jev call per message, four hazard nouls plus a severity score, about $0.00002. Edit the two numbers and the same assessments route differently, nothing is re-run.

review_threshold = 0.35
action_threshold = 0.70
severity_block   = 2.0
action = { jailbreak: block, harmful: block,
           medical: review, self_harm: support }
user message
jev · one call
how to use it

Tips for steering jev

There is no system prompt. Everything you would say in one goes into the question itself, and every field that takes text also takes structure: instructions, each option under criteria, each level of a score. jev reads the keys as well as the values.

Shapes shows the same question written three ways. Effect keeps one message and changes only the instructions; the numbers are from our notebook, single runs.

Name keys for what they hold and put the steering in the value. When two labels overlap in plain language, give each option a what, a not_for and examples.

1 · a string
"department": {
  "type": "choice",
  "instructions": "Which team should handle this?",
  "criteria": {
    "billing": "Charges, invoices, credits",
    "technical": "Bugs, errors, integrations"
  }
}
The minimum. One sentence per field.
2 · instructions as an object
"department": {
  "type": "choice",
  "instructions": {
    "question": "Which team should handle this?",
    "focus": "Route to whoever must fix
              the root cause."
  },
  "criteria": { … same as 1 … }
}
Keys are yours to name: question, focus, context, read. None is reserved; the model sees the names with the values.
3 · options as rubrics
"criteria": {
  "billing": {
    "what": "charges, invoices, credits, refunds",
    "not_for": "a bug that caused a wrong charge",
    "examples": ["I was charged twice",
                 "Where is my refund?"] },
  "technical": {
    "what": "bugs, errors, integrations",
    "not_for": "a correct charge the customer
                disputes",
    "examples": ["The export is empty",
                 "API returns 500"] }
}
Each option says what it covers, what it does not, and what it looks like. Score levels take the same shape with summary and signals.

The game, browser and SQL runs are ours, judged live by jev. The headline figures for jev-ultrafast and pg-jev are from their READMEs.

Jev GTM automation recipes

Powered by Treg
Watch the walkthrough (14 min): what Jev is, how to call it, and the three recipes below. Open on YouTube

Relevant LinkedIn post commenters→ Jev qualify and score→ Treg enrich

Fetch LinkedIn posts around 'Enrichment'
Qualify & enrich commenters
Set up this workflowSee a full lead-list run: 20 verified contacts, $0.12 each →

What other things people are building with jev

Jev examples shared in public, in their authors' own words and numbers. Built something? Post it and tag @treg_ai.

Questions people ask

What is jev?

jev is a decision model from TypeSafe. You send it a JSON state and typed questions (a choice between options, a yes/no as a probability, a score on a rubric) and it returns probabilities over your options in under a second. It does not generate text.

How much does a jev verdict cost?

jev is priced on input tokens only, $0.042 per million at list price. One verdict on an X post with its author profile and first 20 replies is about $0.0001; a signup with its enrichment is about $0.00005. The treg data calls around it cost more than jev does.

How is jev different from asking GPT or Claude for a JSON answer?

A chat model writes its answer, so it takes 2 to 4 seconds and bills output tokens; on the same three questions it cost 7 to 28 times more in our runs. jev only reads, and every answer carries a full probability distribution and a confidence, so you can set thresholds and route uncertain cases to a person instead of parsing a label.

Where does treg fit?

jev cannot fetch anything. treg is one token for jev and for a catalog of live data endpoints: X and LinkedIn posts, email verification, person and company enrichment, and more. treg builds the state, jev decides on it, your code acts on the numbers. Your own provider keys always take precedence over treg's and are never metered.

How do I call jev?

jev is a tool in treg's catalog, openrouter.ai-judge.decide. Set up treg once; you don't need a TypeSafe or OpenRouter account. In an agent connected over MCP, use treg's call tool with that id. From your own code, POST the JSON body to https://treg.to/call/openrouter.ai-judge.decide with a team token (an API key from the dashboard) in X-Treg-Token. In a terminal:

treg call openrouter.ai-judge.decide --method POST --data '{
  "model": "typesafe/jev-1.14",
  "state": {"message": "I was charged twice this month"},
  "questions": {
    "is_billing": {
      "type": "noul",
      "instructions": "Is this message about billing?"
    }
  }
}'

state is what jev reads. Each question has a type and instructions: noul returns the probability of yes, choice picks one of the options you list in criteria, and score places the state on the levels you list in criteria, lowest first. The results come back under answers, by question name, here answers.is_billing.noul.

On treg's key, your team's balance pays what OpenRouter reports for the call, usually a small fraction of a cent; the $0.0005 in the catalog is only held while the call runs. If your team has connected its own OpenRouter key, treg uses that key and charges nothing.

Are the demos on this page real?

The viral-posts board is a recorded run over public X posts, dated above the board, and the post you paste is analysed live. The buyer-signal demo replays a real LinkedIn run with every email address replaced. The signup demo is a synthetic sample built to show the four segments; the pipeline and prices are the real ones.

How do I use jev in Claude Code, Codex, Hermes or OpenClaw?

Each recipe above has a Copy prompt button. Paste it into your agent and it sets up treg and writes the pipeline, with the data and the jev decisions both called through treg on one token.

Can I use jev for lead generation?

Yes, as the gate before the paid person and email lookups. In a lead-list run jev judged 48 companies on the fields the list already returned, 21 were dropped before any paid lookup, and the 27 that passed became 20 verified contacts for $2.33 metered, $0.12 each. The buyer-signal recipe above does the same for the people commenting on LinkedIn posts in your space.

How long a state can jev read?

About 262k tokens through treg, on Jev 1.13 and 1.14: on 30 Nov a 237k-token state ran in one call for $0.0099. Long inputs are slower and, by TypeSafe’s account, less accurate, so split or summarise when you can and let jev verify the summary field by field. TypeSafe’s own API stops at 64k per request unless you send its long-context header.

What changed in Jev 1.14?

Released 14 October 2026 at the same price. It adds a fourth question type, box, which finds something in an image. It handles languages other than English better: our Spanish support ticket got the same answers as the English one. Both 1.13 and 1.14 now read PNG and JPEG images and long inputs. Through treg, set model to typesafe/jev-1.14; 1.13 is still served.

Unleash Jev with {ENDPOINTS} data & tools

Every recipe above is a prompt away. treg gives your agent the catalog and the bill; jev gives it answers it can act on without parsing prose.

Set up tregBrowse the catalog