Tools/TheoLeeCJ/SemIf

SemIf

Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe.

3.4kemergingPythonMIT Licensenew this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

SemIf is the open source answer to Jev, the closed decision model TypeSafe AI launched in September 2026. Jev's trick is returning typed decisions (pick one, score this, yes or no) instead of generated text. SemIf gets the same interface out of ordinary open models by reading the model's probabilities for each allowed option directly, skipping text generation. MIT licensed, formerly called OpenJev.

It runs on hardware you own: a CUDA GPU that can hold a 4B model (the README's reference is an RTX 3090), Apple Silicon through a native MLX backend, or in the browser over WebGPU with models from 639 MB to 3 GB. Install is pip from source plus a Hugging Face model download. No Jev key, no account. On the author's 21-criteria test, direct scoring took about one second against more than five for generating JSON the usual way.

Free at every size. For builders, this is a way to try the decision-model pattern in a classifier, router, or guardrail without joining a waitlist. Laya is the other open option, a purpose-trained model instead of a technique.

The catch: it copies the interface, not the model. The author never ran a live Jev endpoint, the agreement figures come from a small selected sample, and the fast reuse paths are marked experimental. No releases yet. Calibrate it on your own workload before it decides anything real.

Free vs Self-Hosted vs Paid

fully free

Free: Everything. MIT licensed scoring library, CLI, benchmark harness, and a WebGPU browser demo. Model weights are not included and keep their own upstream licenses.

Self-hosted: The only way it runs. A CUDA GPU with room for a 4B model in BF16, an Apple Silicon Mac through MLX, or a browser with WebGPU for the small models.

Paid: None. It needs no TypeSafe key. For reference, the closed API it imitates charges $0.042 per million input tokens and is waitlisted.

Completely free and open source. You supply the GPU or the Mac.

What to do by team size

Solo
free
Small team
free
Medium team
free; validate on your own data before it gates anything
Large team
free; research code with no releases, so pin a commit
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
72/100 · B+
Adoption17/30
Maintenance25/25
Community5/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Theodore Lee (User)
Stars
3,427
Forks
222

Explore Further

More tools in the directory