Guides / illustrated walkthrough
Jev Classification Quickstart: OpenRouter API, Primitives & Real Probabilities
A hands-on walkthrough of Jev on OpenRouter: System One classification, Choice/Score/Noul primitives, calibrated probability distributions, and multilingual sentiment routing at $0.042/M input tokens.
Quick takeaway
Jev is a System One classifier—not a chat model. Pass unstructured state plus typed Choice, Score, or Noul questions and receive calibrated probabilities in a single forward pass. On OpenRouter it costs $0.042/M input tokens with free output tokens, making high-volume classification practical at sub-cent per call.
Video source
Sam Witteveen
Step-by-step walkthrough
- 1
Understand Jev as a System One classifier, not a chat model
Typesafe AI positions Jev opposite frontier reasoning models: instead of autoregressive text generation, you supply a state blob (ticket text, log line, agent trace) and one or more typed questions. The model returns structured values—selected option, numeric score, or yes/no probability—alongside a normalized distribution. Output tokens are free because the model never generates prose token-by-token.

Jev maps software decisions to typed questions over unstructured state—no chat interface required.Watch at 3:05 - 2
Pick the right primitive: Choice, Score, or Noul
Choice selects one label from your enumerated options (language detection, team routing). Score rates on a scale you define (sentiment 0–2, severity 1–5). Noul returns a calibrated probability that a yes/no statement is true—ideal for refund-requested, time-sensitive, or safety gates. Combine multiple questions in ordinary code; when business rules change, update constants instead of rewriting prompts.

Choice demo: five language classes with per-option probabilities and aggregate confidence.Watch at 5:20 - 3
Run sentiment scoring and watch confidence shift on edge cases
In the live demo, a Score question on a 0–2 sentiment scale returns 2/2 for clearly positive text, 0/2 for negative, and intermediate values for mixed tone. Each call costs roughly $0.000014—cheap enough to chain dozens of micro-classifications. Confidence drops on ambiguous inputs, signaling when to route to human review rather than auto-acting.

Score primitive: sentiment on a 0–2 scale with confidence that tracks input ambiguity.Watch at 6:15 - 4
Inspect API responses for real probabilities, not fake JSON digits
Unlike LLM-as-judge setups that emit the character "0.9" as text, Jev returns native probability tensors: type, selected value, per-option probabilities, and confidence. The demo shows multilingual Choice (including Thai script), parallel Noul gates on the same ticket (refund requested, time-sensitive), and injection-resistant routing—when ambiguity rises, the model surfaces an "unclear" class instead of overcommitting.

API payload: typed answer plus full probability vector—ready for threshold-based automation.Watch at 7:00
Frequently asked questions
Why are Jev output tokens free on OpenRouter?
Jev does not autoregressively generate text. The forward pass computes classification heads directly, so there are no output tokens to bill. You pay only for input state and question schema tokens—typically fractions of a cent per decision.
How is Jev different from asking GPT-4 for JSON classification?
JSON mode still generates tokens sequentially and provides no calibrated uncertainty. Jev returns structurally bounded outputs with native probability distributions trained via RLCD (Reinforcement Learning for Calibrated Decisions), making confidence scores usable as automation thresholds.
Can I run multiple Jev questions on one support ticket?
Yes. Pass several Choice, Score, and Noul questions in a single request or orchestrate them in code. The demo routes billing vs sales, detects refund requests, and checks time-sensitivity in one workflow—each gate exposes its own confidence for independent fallback rules.
Does longer input text improve Jev confidence?
Empirically yes in the demo: very short inputs (two words) yield lower confidence on Noul questions, while fuller context stabilizes probabilities. Design state payloads with enough signal for the criteria you defined, but avoid dumping irrelevant noise that dilutes the decision boundary.
Related guides
Jev API Reference
Request payload shape, authentication, and error handling for production integration.
ReadChoice, Score, and Noul
Deep dive on selecting the minimal output primitive for your next automation step.
ReadOpen Jev Models Landscape
JevBench leaderboard, Semif, DiffusionGemma, and fine-tuning Laya on a free T4.
ReadMore video walkthroughs
- Jev Architecture Explained: Why 70ms Decision Models Beat LLMs for Workflow Automation
- Ultra-Fast Browser Agents with Jev: 178ms DOM Loops & Dual Model Orchestration
- Open Jev Models Are Here: Semif, Nimble, Decider, DiffusionGemma & Laya Hands-On
- Jev vs LLM: Will Jev Replace LLMs? Krish Naik's Whiteboard Explainer
- Jev Trader Tutorial: Build a Subsecond AI Trading Bot on Monad
- Jev Model Router: Build a Privacy-Gated LLM Router with Jev & OpenJev
- Jev Tutorial for Beginners: State, Questions & the TypeScript SDK
- Run Jev Locally: Kev, SemIf & Von on Your Own GPU (OpenJev Guide)
- Jev RAG Reranker: Policy-Steered Reranking for Retrieval-Augmented Generation
- When to Use Jev: An Engineer's Audit of Claims, Gates, and Failure Modes
- LangChain + Jev Integration Tutorial: Routing, Guardrails & Evals
- Jev MCP Server: Connect Jev Decisions to Claude Code & Cursor
- Jev vs Luna: Independent Benchmarks Put "Better, Faster, Cheaper" to the Test
- Jev Agent Harness: Where the Decision Gate Sits in Your LLM Loop
- Jev Playground Walkthrough: The Hotdog Lesson, Criteria, and a Four-Console Token Test
- Jev Text Classification API: Zero-Shot CLI & REST with classifier.dev
- Jev API Examples: First Request, curl & All Three Question Types
- Jev Log Triage with Expanso Edge
- Jev Lead Enrichment with Treg: ICP and Signup Scoring
- Use Jev Decision Nodes in Heym for Model Routing
- Laya Tutorial: Open-Source AI Routing With Calibrated Probabilities (Laya vs Jev Setup)
- Train Your Own Jev: Fine-Tune a Jev-Style Decision Model for $5–$17 (What You Can and Cannot Train)
- Jev Tips: 8 Best Practices for Better Decisions (State, Questions, Criteria & Thresholds)
- Jev Context Compaction: Prune AI Agent Memory Without Generative Summaries
- Jev as an LLM Judge: Confidence-Gated Cascades at 0.36% of the Cost
- TypeSafe Computer Use: Local Desktop Automation with Jev, Step by Step
- Jev Resume Screening: Build an AI Resume Evaluator with the Jev JavaScript SDK
- Jev + Claude Code Guide: Voice-Controlled Browser Automation with Typed Decisions
- Jev + Codex: Install the TypeSafe Skill and Triage a Real Gmail Inbox
- Jev vs Ollama: Can Local AI Replace Hosted Jev Without Sending Your Data Away?
- Build Your Own Jev: Train a Free Open-Source Zero-Shot Classifier (That Plays Doom)
- CUA-S1-Forms: a 706K-Parameter Jev-Like Model That Fills GUI Forms on Your CPU
- NOC/SOC Alert Triage with Jev: Rules First, One Typed Question, a Policy Gate
- Ollama Decision Models: Run tev1 and Nimble Locally (Tested on an 8 GB Card)
- Jev Guardrails in Production: A Five-Step Playbook for Decision Automation
- A Session Drift Guard for Pi Agent: Let the Jev Model Propose, Let Code Decide
- 50 Tev1 Use Cases: What a Local Decision Model Can Actually Do (Tested on an 8 GB Laptop)
- Jev, Hands-On: Where the Official Claims Meet Independent Remeasurement
- Jev Ticket Classification in a Real App: the After-Insert Hook and the Calculated Field
- OpenJev RLCD: Run the Open-Source Calibrated Decision Model Locally (Full Guide)
- Clef-Flash vs Jev: I Tested Cloudflare's Decision Model Locally in Ollama (Q4_K_M)
- Clef-Flash Tutorial: Install and Run Cloudflare's 9B Multimodal Decision Model Locally on Ubuntu
- CLM-8B: the Contrastive Decision Model That Scores 1,024 Options in 44 ms (13x Faster Than Jev)
- Nox 4B Tutorial: Run the Decision 2.0 Model Locally and Put It Through Four Real Decisions (One Ends in a Fail)
- Julia-1 Tutorial: Install the Open-Source Jev Replacement in Pure Python (and Watch It Beat If-Statements 9 to 2)
- OpenJev 0.8B on CPU: I Built a Ticket-Routing Inbox and Calibrated the Thresholds
- Jev n8n Integration: the JevGate Community Node, Step by Step (Plus a Plain-HTTP Fallback)
- NanoJev Tutorial: Install the 0.6B Open-Source Jev Replica and Watch It Route Decisions at 47 ms
- PPLX Decider Tutorial: Perplexity's Open 27B Decision Model, Its Decisions API, and a 12-Ticket Triage Run
- AutoTrust JEV-27B Tested Locally: Four Arms, 72 Cases, and One 0.969 Score That Was Wrong
- Clef 27B Locally: Watch Cloudflare’s Multimodal Decision Model Read an Image, a Video and an Uzbek Newspaper in One Pass
- Ollaya Guide: Install the "Ollama for Decision Models" Runner, Read Every Vendor-Reported Number, and Run the CPU Test It Leaves Open
- Strands Decider 2B Tutorial: Install the AWS Strands Decision Model on an 8GB Laptop — and Keep Its Failures In
- Liquid AI Open d1 Locally: d1-3B and d1-omni-600M on a MacBook Air M5 — Guardrails, Screen Checks, Voice Routing and Document Triage, Every Number Frame-Checked
- Image Decision Models for RPA: Watch Two Open Models Review an Unsigned W-8BEN With No OCR
- GLiNER2.5-Decide (340M) vs Jev (4B): Which Decision Model Actually Wins? A Frame-by-Frame Selection Guide
- Decision Models on Jetson: Jev vs Strands Decider 2B vs Laya vs d1-3B — Skill Master Scores, Thor Latency and JevBench, Every Number Frame-Checked
- Microsoft Decision-1 Tested: 146 Independent Tests, a 93% Mean, 124/125 When Confident — Every Number Frame-Checked
- Wire Jev into an Azure AI Foundry Agent as the Evaluation Layer — OpenAPI Tool, TypeSafe Connection, Triage Instructions and an Honest First-Run Failure