How to Build Things with Jev & OpenJevs
In this video, we build a model router using both the API-based original Jev and also using Semif. 👨💻 Github: code will be up in the next day or so 📺 2nd Channel: Coming Soon!! Twitter: https://x.com/Sam_Witteveen 🕵️ Interested in building LLM Agents? Fill out the form below Building LLM Agents Form: https://drp.li/dIMes 👨💻Github: https://github.com/samwit/llm-tutorials ⏱️Time Stamps: 00:00 Intro 01:45 Quick Recap on Jev 05:59 Model Router Demo 06:21 Models Used for both Local and Cloud 07:18 Running using any Model 07:37 Running using AutoJev 11:47 Architecture 15:06 Running using SemIf 16:46 Stats
Read Video · Transcripción e Insights
Este episodio tiene una transcripción completa + análisis IA
Cuenta gratuita · sin tarjeta · 150 créditos al registrarte, suficiente para este episodio
- 📄 Transcripción completa con marcas de tiempo
- ✨ Resumen IA, palabras clave y mapa mental
- 💡 Puntos clave y citas destacadas
Línea de tiempo del episodio
Introduction to building a model router with Jev and the models used locally and in the cloud.
- Jev is a system-one model from Typesafe AI that does not generate text but returns typed answers with probabilities for choice, score, and null questions.
- The router runs locally as an endpoint and uses a mini CPM 5 2B model locally, Qwen Image 2.1 for images, and DeepSeek V4.1 Flash via OpenRouter for cloud tasks.
- Jev charges nothing for output tokens and only 4 cents per million input tokens, with responses typically in the 70 to 500 millisecond range.
- The three question types map neatly onto routing: choice for categorization, score for difficulty, and null for privacy gating.
Demonstration of the router deciding between local and cloud models based on Jev's judgments.
- A simple greeting was routed to the local mini CPM model with zero difficulty and no private information, decided by Jev in 331 milliseconds.
- A Python code request was routed to DeepSeek because the choice category returned code with near 100% probability, and difficulty increased above chitchat.
- The choice question includes classes like chitchat, simple question, rewrite/summarize, code, reasoning/analysis, and image, each with defined criteria.
- The score question uses levels from trivial to hard, where trivial means a small 2B model handles it easily and hard requires frontier-level reasoning.
Privacy gating and the architecture of the router with FastAPI, SQLite, and OpenAI-compatible endpoints.
- A fake API key triggered the privacy null question, which returned 0.96 probability of private data and forced the request to stay local.
- The architecture uses a Next.js UI sending to a local FastAPI server that makes one Jev call for decisions, then routes and streams from the winning model.
- Lanes are preconfigured with an order of preference, and conditional rules include routing to web-enabled models if difficulty exceeds 6 or to local models if the privacy flag is above 0.5.
- Everything is logged to SQLite, including Jev decisions, messages, and generated images, with health checks and OpenAI-compatible endpoints for all models.
Conceptos clave
- Jev— The core system-one model from Typesafe AI that powers the entire routing logic without generating text.
- model router— The main project built in the episode, deciding which model handles each request.
- typed questions— The three question types (choice, score, null) that Jev answers with probabilities.
Citas destacadas
And remember, the cool thing for this is it doesn't charge you anything for output tokens at all, and it only charges you 4 cents per million input tokens.
🤯— Reveals an unexpectedly low pricing model that makes routing decisions nearly free compared to standard LLM calls.
A nice way of thinking about this is that you can kind of think of it as an if statement that understands language.
💡— Reframes a sophisticated AI model as a simple programming construct, making the concept instantly graspable.
Acciones a tomar
🏗️AI Architecture
Jev acts as a language-aware if statement that returns typed probabilities, enabling fast conditional routing without parsing JSON.
This week, prototype a single Jev call with one choice question and one null question to see how probabilities map to your routing logic.
Running three questions in one request costs nearly the same time as one, so you can add more decision dimensions cheaply.
Add a second null question to your existing Jev call to detect whether a request needs web search, and log the results.
🔒Privacy & Security
Sending prompts to a cloud Jev to check for PII already leaks the data, so local open-source Jev is essential for true privacy.
Set up a local OpenJev instance this week and route all privacy-gating questions through it instead of the cloud version.
A privacy threshold above 0.5 can automatically force requests to stay local, preventing sensitive data from leaving the machine.
Configure your router to force local routing when the privacy score exceeds 0.5, and test with a fake API key.
La transcripción y los insights son generados por IA y pueden contener errores. La precisión depende de la calidad del audio y la claridad de los hablantes — si algo no parece correcto, el audio original es siempre la fuente de verdad.
Episodios y videos listos para leer
Episodios de podcast

"Bridge Over Troubled Water" — like you've never heard it before | MAS Vocal
TED Talks Daily
13 ago 202610:01EN
The Operator’s Playbook: How Matt Audette Turns Discipline into Scalable Leadership
If You Could with Matt & Taryn
18 feb 202623:31EN
How to Improve Motivation & Overcome Procrastination | Dr. Masud Husain
Huberman Lab
24 ago 20262:20:36EN
Supergol 4 Enero 2021
Supergol Podcast
4 ene 20211:07:59ES
Život je ľahší, ale my ho zvládame horšie | 187.
Mozgová Atletika
15 jul 202618:21SK
vol.01 创业十年 和壹心娱乐创始合伙人们的公开坦白局
天真不天真
19 feb 20241:14:43ZH-Hans
Videos

Gemini Robotics – AI for the Physical World, with Keerthana and Ted of Google DeepMind
Cognitive Revolution "How AI Changes Everything"
17 may 20251:48:11EN
Jev: ChatGPT Co-Creator’s Answer to RLHF
AI Council
19 jun 202636:39EN
Staphylococcus: Aureus, Epidermidis, Saprophyticus
Ninja Nerd
21 oct 20211:01:18EN
Firma bez šéfov: Funguje to? - Money Talk 113 s Ferom Baníkom
Milan Dubec
4 ago 202654:10SK
2026/08/24(一) 輝達伺服器傳漲價15%:AI成本暴增,成本誰吸收?
財女珍妮
24 ago 202630:06ZH-Hant