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 · Transcrição & Insights
Este episódio tem transcrição completa + análises IA
Conta gratuita · sem cartão · 150 créditos no cadastro, suficiente para este episódio
- 📄 Transcrição completa com timestamps
- ✨ Resumo IA, palavras-chave e mapa mental
- 💡 Pontos-chave e citações
Linha do tempo do episódio
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.
Conceitos-chave
- 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.
Citações notáveis
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.
Ações 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.
A transcrição e os insights são gerados por IA e podem conter erros. A precisão depende da qualidade do áudio e da clareza dos falantes — se algo parecer errado, o áudio original é sempre a fonte mais confiável.
Episódios e vídeos prontos para ler
Episódios de podcast

How to get past the "messy middle" of a big change | Mary Martin
TED Talks Daily
24 de jul. de 202614:38EN
Onlyfans Marketing Guide for Beginners
Hanky Panky
28 de fev. de 20232:45:58EN
The SpaceX IPO, Fable 5, AI Capex Update & Market Check w/ Gavin Baker, Andrew Fox & Clark Tang | BG2
BG2Pod with Brad Gerstner and Bill Gurley
11 de jun. de 20261:20:47EN
Café com Deus Pai | 24 de maio
Café Com Deus Pai | Podcast oficial
24 de mai. de 20264:44PT
商业小样22 | 香港迪士尼一直亏,去年怎么做到盈利的?
商业就是这样
23 de mar. de 20259:39ZH
#43 Die Vitalienbrüder - Wer war Klaus Störtebeker?
Wer wir sind und warum das nicht klappte ...
28 de jan. de 20261:01:33DE
Vídeos

Staphylococcus: Aureus, Epidermidis, Saprophyticus
Ninja Nerd
21 de out. de 20211:01:18EN
AI Insider: Things Are About to Get Much Worse
The Jordan Harbinger Show
1 de set. de 20261:10:13EN
Give Me 12 Minutes and I’ll Give You 30 Years of Productivity Advice
Daniel Pink
14 de set. de 202511:59EN
COMO SER GENTIL ESTÁ ACABANDO COM A SUA AUTORIDADE? | Fabiana Bertotti #152
Como Você Fez Isso?
30 de jul. de 20261:19:47PT
2026/08/24(一) 輝達伺服器傳漲價15%:AI成本暴增,成本誰吸收?
財女珍妮
24 de ago. de 202630:06ZH-Hant