LIVE · Thursday 3 December

Jev vs Clef: Which Decision Model to Use for Intent Routing, Moderation, Hallucination Checks and Tool Calls

Use Clef for intent routing, hallucination checks and self-hosting, and use Jev for tone, tool-call timing and the lowest-cost full model. A task-by-task guide with current prices and a worked monthly bill.

By Thomas7 min read

In the Jev vs Clef choice, pick Cloudflare's Clef for intent routing with unexpected inputs, hallucination checks and self-hosting. Pick TypeSafe's Jev for tone detection, deciding when to call a tool and high-volume text decisions where cost matters most. Jev costs $0.042 per million input tokens and Clef costs $0.24, so Clef is about 5.7 times more expensive. Clef-flash costs $0.038 but scores far lower on out-of-scope intents and hallucination detection. Nearly all the benchmark figures behind this guide are Cloudflare's own, and no independent rerun has been published.

Both models answer fixed questions with probabilities, so the choice turns on accuracy per task, price and hosting.

Jev and Clef are decision models. Your application sends a state, such as a ticket or a document, plus questions with a fixed set of answers. The model returns a probability for each answer and generates no text. TypeSafe launched Jev on September 15, 2026, and Cloudflare launched Clef and Clef-flash on October 1, 2026. Cloudflare's announcement calls Clef "fully Jev-API compatible," so a trial of both needs little code.

The table below compares the options on the facts that most often decide a purchase. Prices are list prices, and Jev and Clef bill nothing for output.

Option Price per million input tokens Hosted context per request Where it runs
Jev 1.14 or 1.13 $0.042 64,000 tokens, 32,000 per question TypeSafe's hosted API
Clef $0.240 65,536 tokens Workers AI, or your own GPUs
Clef-flash $0.038 24,000 tokens Workers AI, or your own GPUs
Parsec TOD, for reference $0.30 per 1,000 decisions 48,000 tokens per decision A separate product from Parsec

Jev's figures come from TypeSafe's models page, and Clef's come from Cloudflare's pricing page and October 9, 2026 changelog. Cloudflare's launch blog contrasts Clef's 64K window with Jev's 32K. That comparison holds only against Jev's per-question limit, because Jev's per-request limit is also 64,000 tokens. Jev, Clef and Clef-flash all accept images. Jev takes PNG and JPEG, and Clef takes up to four PNG, JPEG or WebP images per request. Clef's weights are on Hugging Face under Apache 2.0. Cloudflare describes the training data only as internal synthetic datasets, so the weights are open while the training process is not.

The right model differs by task, according to Cloudflare's benchmarks and one hands-on test.

The task-level evidence comes mainly from Cloudflare's launch blog and the Clef-flash model card. TypeSafe publishes no scores on public academic benchmarks. A smaller signal comes from Better Stack, whose article was updated on October 12, 2026. It tested both models on 200 YouTube comments with Claude Opus 5.5 as the referee.

  • Clef fits intent routing best, scoring 94.20 macro-F1 on BANKING77 against 79.74 for Jev, and 97.43 against 89.27 on CLINC150 with out-of-scope queries.
  • Jev fits tone detection best, scoring 75% against Clef's 49% in Better Stack's test, while Clef scored higher on toxicity at 88% against 81%.
  • Clef fits hallucination checks best, scoring 79.4 on RAGTruth against 76.5 for Jev, while Clef-flash scores only 35.6.
  • Jev fits deciding whether to call a tool best, scoring 80.97 on When2Call against 72.37 for Clef.
  • Clef and Clef-flash fit picking the right function slightly better, scoring 98.47 and 98.76 on BFCL against 95.75 for Jev.
  • Clef is the only choice for self-hosting, since TypeSafe's pages do not mention downloadable Jev weights.

For image decisions, both models are usable, and no head-to-head image benchmark has been published. TypeSafe's Jev 1.14 post says that all models, Jev included, do worse on images than on text. Jev 1.14 adds a box question type that returns a bounding box. Cloudflare's Clef-omni adds audio and video input at $0.150 per million tokens.

For hard reasoning, the Clef-flash model card shows Jev at 78.3 on GPQA Diamond against 48.0 for Clef. Decisions that depend on multi-step reasoning are therefore better tested on Jev first.

Clef-flash suits narrow, short decisions on Cloudflare and should be tested as its own model.

Clef-flash is the cheapest hosted option at $0.038 per million tokens. Its hosted window has been 24,000 tokens since October 9, 2026, although the changelog states that the self-hosted weights support up to 256,000. It stays close to Clef on BANKING77 at 90.93 and slightly leads on BFCL.

It drops sharply on two tasks. It scores 66.77 on CLINC150 with out-of-scope queries, and 35.6 on RAGTruth. Clef-flash therefore suits closed sets of intents and function selection, where every input is expected to match an option. It does not suit traffic with many off-topic requests or answers that must be checked against sources.

A million decisions a month costs $63 on Jev, $357 on Clef and $54 on Clef-flash at these assumptions.

The worked example assumes one million decisions a month, 1,500 input tokens per decision and a 30-day month. Both vendors bill only input tokens. That makes 1.5 billion input tokens, or 1,500 million.

  1. On Jev, 1,500 million tokens at $0.042 per million costs $63.00.
  2. On Clef, 1,500 million tokens at $0.240 per million costs $360.00.
  3. On Clef-flash, 1,500 million tokens at $0.038 per million costs $57.00.
  4. Workers AI gives 10,000 Neurons a day at no charge, and 300,000 Neurons a month at $0.011 per 1,000 is worth $3.30.
  5. After that allowance, Clef costs about $356.70 and Clef-flash about $53.70 a month.

Per 1,000 decisions, that is about $0.063 on Jev, $0.36 on Clef and $0.057 on Clef-flash. Cost scales with tokens, so a 10,000-token decision costs about $0.42 per 1,000 on Jev and $2.40 on Clef.

Small workloads can run on the free allowance alone. At Cloudflare's conversion rate, 10,000 Neurons cover about 458,000 Clef tokens or 2.89 million Clef-flash tokens a day. At 1,500 tokens per decision, that is about 300 Clef decisions or 1,900 Clef-flash decisions a day. TypeSafe's pages do not mention a free tier, and its launch post says that it cannot prove that Jev's price is not subsidized.

Self-hosted Clef replaces the per-token price with your own GPU cost. The Clef model card says it was tested on a single H200 and can be served with vllm serve "Cloudflare/clef". The throughput of one GPU for this workload has not been measured.

Parsec, which builds a separate decision model called TOD, charges $0.30 per 1,000 decisions according to its TOD page, which would be $300 for this workload. TOD's price stays flat regardless of context length. That figure is Parsec's own price, no independent test of TOD has been published, and TOD is a reference point rather than part of the Jev and Clef choice.

Latency claims conflict, so they should be measured from your own servers.

Cloudflare's launch blog reports medians of 209.3 ms for Clef, 38.8 ms for Clef-flash and 524.1 ms for Jev. It does not state the hardware or the client location. Cloudflare later reported that Clef became 1.7 to 2.0 times faster on October 9. Its changelog gives Clef's median at about 800 input tokens as falling from 262 ms to 152 ms. Better Stack found that Jev returned results "nearly twice as quickly" as Clef, without figures. TypeSafe claims 70 ms to 500 ms, measured from laptops on the US West Coast.

No p50, p95 and p99 figures from one region and one client have been published for Jev, Workers AI and self-hosted Clef, and no vendor publishes p99. If latency decides the choice, a timed run from your own region is the only reliable figure.

Jev thresholds must be converted before they are used on Clef.

Jev's confidence is a rescaled top probability. TypeSafe's confidence page defines it, for a choice with n options, as (top probability − 1/n) ÷ (1 − 1/n). Clef's Workers AI docs show per-option probabilities and do not mention a confidence field.

A Jev threshold of 0.70 on a three-option question equals a top probability of 0.80. If that 0.70 is reused on Clef's top probability, answers between 0.70 and 0.80 skip review. The converted threshold is 1/n + c × (1 − 1/n), which gives 0.80 for three options and 0.73 for ten.

Neither vendor publishes an expected calibration error or a reliability diagram, and no independent measurement exists. Cloudflare says that it trained Clef with a Brier loss to improve calibration. TypeSafe calls Jev's probabilities calibrated, but its confidence page tells readers to test thresholds on their own data.

A two-week test on your own labelled data decides between them.

The test needs labelled examples and a fixed script:

  1. Label 300 to 500 real inputs per decision, and include inputs that fit no option.
  2. Send identical questions and options to Jev, Clef and Clef-flash.
  3. Log the top answer, its probability and the wall-clock time from your own servers.
  4. Compute accuracy and macro-F1 per task.
  5. Group predictions into ten probability bins, and compare average probability with accuracy in each bin to see calibration.
  6. Set each model's review threshold from its own bins, then price the winner with the arithmetic above.

TypeSafe's WorkflowEvals repository on GitHub is an Apache-2.0 harness that already runs Jev and several LLM providers, with commands such as uv run python run.py invoice_processing --limit 5. It does not mention Clef or Workers AI, so a Clef provider must be added. It scores agreement with reference models, so the calibration step has to be added as well.

Sources

More in Models

All Models →