Architecture cost review
Jev vs Clef: Which Decision Model Fits Your Workload?
Cloudflare released Clef on 1 October 2026 as an open-weight, Jev-compatible decision model. The rate cards make Clef look 4.6 times dearer than Jev, but tokenizers, windows and two conflicting tests complicate that.
Direct answer
Pick by workload. If the state includes images, use Clef, because Jev reads text and JSON only. If you want the lowest price per token with short states, use Clef Flash at $0.038 per million input tokens, just under Jev's $0.042. If the state runs past 65,000 tokens, use Jev, whose 262,144-token window is four times Clef's. Accuracy does not settle it: one independent test put Clef ahead, another put Jev ahead.
Decision summary
| Decision area | What matters |
|---|---|
| Price (OpenRouter, 3 Nov 2026) | Jev $0.042/M · Clef $0.192/M · Clef Flash $0.038/M · Clef Omni $0.15/M · output free |
| Per 1M 500-token decisions | Jev $21 · Clef $96 · Clef Flash $19 · Clef Omni $75 |
| Context window | Jev 262,144 · Clef 65,537 · Clef Omni 65,536 · Clef Flash 24,576 |
| Inputs | Jev: text and JSON · Clef: text, JSON and up to 4 images (Classmethod) |
| Base model | Clef: Qwen3.8-27B · Clef Flash: Qwen3.5-9B · Clef Omni: Qwen3-Omni-30B-A3B |
| Weights | Jev: hosted only · Clef and Clef Flash: Apache 2.0 on Hugging Face |
| 117-case test (DEV Community) | Clef 92.3% · Jev 88.6% · Clef Flash 82.1% at Jev's thresholds |
Three workloads, three answers
Screenshots, product photos or scanned forms in the state: Clef. Classmethod reports it takes up to four PNG, JPEG or WebP images per request, each up to 4 MiB, and no remote URLs. Jev accepts text and JSON only, so you would need a captioning step first.
Short text states at high volume: Clef Flash. At $0.038 per million tokens it is the cheaper hosted option per token. Its 24,576-token window is the limit to check.
Long text states: Jev. A 100,000-token case file fits Jev's window at $0.0042 per decision. It does not fit any Clef model.
Why the per-token gap is not the per-request gap
On OpenRouter, Clef's rate is 4.57 times Jev's ($0.192 ÷ $0.042). The models use different tokenizers, so the same comment can count as a different number of tokens on each. The per-request ratio can differ from the rate-card ratio in either direction.
Two write-ups tried to measure it, at Workers AI's early-October Clef price rather than OpenRouter's. Better Stack wrote that, based on average comment length, Jev was 6.5x cheaper per comment than standard Clef. The DEV Community author estimated about 4x per decision after counting tokens. Treat 4x to 6.5x as the range, and count your own tokens.
Accuracy: two small tests, opposite results
A DEV Community author ran 117 labelled cases from five production decisions, three calls each. At thresholds set for Jev, Clef scored 92.3%, Jev 88.6% and Clef Flash 82.1%. With each model's own threshold chosen on held-out cases, the scores were 93.2%, 90.9% and 90.6%. The author reports Clef's 3.7-point lead had a 95% interval of -1.1 to +8.8 points, which is not significant.
Better Stack's comparison found the reverse: Jev matched its referee 86% of the time and Clef 83%, with Clef ahead on three of five questions. Neither test is large. Together they say the two models are close, and your questions decide the winner.
Latency: the vendor chart and client timings disagree
Cloudflare's own run of the Jev Decision Index reports median model-side latency of 209.3 ms for Clef, 38.8 ms for Clef Flash and 524.1 ms for Jev. Developers Digest labels these vendor-run figures, and so do we.
Client-side numbers point the other way. Classmethod's author timed five runs from their own machine: Jev 0.238 s, Clef Flash 0.294 s and Clef 0.478 s, and says that is too few to be firm. Better Stack found Jev returned results nearly twice as fast as Clef. If latency matters, time calls from your own region.
Repeatable probabilities matter if you set thresholds
The DEV Community test sent each case three times. Clef returned the same probability, to four decimal places, on all 351 calls. Jev's probabilities moved between identical calls by up to 0.10.
That matters if your code acts at a cutoff such as 0.80. With a 0.10 swing, a case near the line can go one way on Monday and the other way on Tuesday. With Jev, keep a band around the threshold that goes to a stronger model or a person.
Switching between them
Classmethod reports Clef's API is compatible with Jev's: change the endpoint, key and model name. On Workers AI's REST API the response wraps results in a result field, so Jev code needs a small change there. Through OpenRouter, both sit behind the same key.
Clef's weights are on Hugging Face under Apache 2.0, and Classmethod notes you can run them on your own GPU. Developers Digest adds that the training data and pipeline are not published. Jev has no weights to download. If leaving a hosted vendor later matters to you, that favours Clef.
Monthly bills at four volumes
At a 500-token state, each model's monthly bill is decisions × 500 tokens × its rate. At 100,000 decisions a month: Clef Flash $1.90, Jev $2.10, Clef $9.60. At 1 million: $19, $21 and $96. At 10 million: $190, $210 and $960. At 50 million: $950, $1,050 and $4,800.
Below a million decisions a month, the gap between Jev and either Clef is too small to drive the choice. At 10 million it is $750 a month between Jev and standard Clef, or $9,000 a year. At that point, check whether Clef's lead on one small test is worth it. These sums assume both models count your text as the same number of tokens. They may not, as the tokenizer section explains.
What to re-test when you move a decision across
Thresholds come first. A cutoff tuned on Jev's probabilities will not carry over to Clef, because the two models spread their probabilities differently. The DEV Community test shows how much the threshold matters: Clef Flash scored 82.1% at Jev's thresholds and 90.6% at its own.
Then check what each decision point sends. Any state over 24,576 tokens cannot go to Clef Flash. Any state over 65,537 tokens cannot go to Clef. Any decision with images cannot stay on Jev.
- Re-pick the threshold on at least a few hundred labelled cases
- Log state size per call and flag anything over 24,576 tokens
- Handle the result wrapper if you call Workers AI directly
- Compare usage.cost per call on the same inputs, not the rate card
Key takeaways
- →Pick by workload. If the state includes images, use Clef, because Jev reads text and JSON only. If you want the lowest price per token with short states, use Clef Flash at $0.038 per million input tokens, just under Jev's $0.042. If the state runs past 65,000 tokens, use Jev, whose 262,144-token window is four times Clef's. Accuracy does not settle it: one independent test put Clef ahead, another put Jev ahead.
- →Send a day of real inputs through both models' token counters, price them at OpenRouter rates, and pick the cheapest model whose window and input types fit.
- →The Clef tests were run at Workers AI list prices from early October, which differ from OpenRouter's 3 November rates; neither accuracy test is large.
What users report
Users comparing hosted Clef with Jev mostly found Clef pricier and slower, but valued that Clef's open weights can run in their own infrastructure.
Paraphrased from public posts, with the date and a link to each original. These are other people's accounts, not our tests, and we have not verified each one.
One user calculated that at 300 tokens per call, a million decisions would cost about $12.60 on Jev versus about $72 on Clef, suggesting self-hosting Clef if you can.
Billing · Clef · Hacker News, Oct 2026
A user ran a small 250-item benchmark and found Clef 5.2x more expensive than Jev and much slower, with "only marginally better results" (78.6% vs 79.8%, their numbers).
Value · Clef · Hacker News, Oct 2026
A team said Clef's main value to them was being open source and runnable in their own infrastructure; as a paid cloud model it lost to Jev on quality, speed, and price in their tests.
Switching · Clef · Hacker News, Oct 2026
One user measured Jev at about 230 ms median latency versus 661 ms for Clef Flash in their own test.
Quality · Clef Flash · Hacker News, Oct 2026
One commenter countered that rivals had matched Jev on price within a month, noting Clef Flash lists "$0.038 in / $0 out per 1M", slightly cheaper than Jev.
Billing · Clef Flash · Hacker News, Oct 2026
How this page was prepared
Prices on this page come from OpenRouter's live models API, read on 3 November 2026. Cost per decision is state tokens multiplied by the input rate, because output is free on every decision model listed; small-LLM costs add the stated label length at that model's output rate. OpenRouter's credit fee is shown separately where it matters. We ran no private benchmark for these pages: accuracy and latency figures are credited to the vendor or third party that measured them, and vendor figures are labelled as vendor claims.
- OpenRouter live models API (checked 3 Nov 2026) ↗
- Developers Digest — Cloudflare Clef decision models (2026) ↗
- DEV Community (ankushkun) — Clef beat Jev on Jev's home turf ↗
- DevelopersIO (Classmethod) — Cloudflare Clef overview ↗
- Better Stack — Jev vs Clef decision model guide ↗
- OpenRouter — typesafe/jev-1.14 model page ↗
Frequently asked questions
Is Clef cheaper than Jev?
Clef Flash is, per token: $0.038 against $0.042 per million input tokens on OpenRouter. Standard Clef is not: $0.192, or $96 per million 500-token decisions against Jev's $21.
Is Clef more accurate than Jev?
One 117-case test put Clef at 92.3% and Jev at 88.6%, inside the margin of error. Better Stack found Jev ahead, 86% to 83%. Test on your own cases.
Can Jev read images?
No. Jev takes text and JSON. Clef takes up to four images per request, per Classmethod.
Is Clef really faster than Jev?
Cloudflare's own figures say so (209.3 ms against 524.1 ms). Two independent client-side checks found Jev faster. Time it from your own region.
What does a side-by-side test cost?
Very little. 300 labelled cases at 500 tokens each is 150,000 tokens. That costs about $0.03 on Clef (150,000 × $0.192 ÷ 1,000,000 = $0.0288) and under a cent on Jev ($0.0063). Run each case three times if you want to see how much the probabilities move.