PRedict

Enter a public GitHub repo to get started.

Try
How it worksHow the models answer, how much they can read, what each column is, and a real call

How the models answer

Jev, Clef, Clef-flash and Clef-omni are judgment models, not text generators. Each reads a state (here: computed PR facts, the title, the description and the diff) and answers typed questions in a single call. Each question’s type fixes the shape of its answer. TypeSafe’s docs define three. The examples on each card are real answers from the response below.

TypeSafe borrows the name “System One” from the contrast between fast, intuitive System 1 judgment and slower, deliberate System 2 reasoning. Jev is built for the first kind: quick, inexpensive judgments over structured state. Here it screens every PR with narrow questions and probabilities, leaving deeper investigation to reviewers when the answers are uncertain or risky.

Clef, Clef-flash and Clef-omni are Cloudflare’s open-weight decision models on Workers AI: 27B, 9B, and a 30B mixture of experts that also hears audio and watches video. They answer Jev’s typed questions, so PRedict asks them the same 14, over as much of the PR as each model’s context holds. Pick one from the model menu beside Load to compare its answers with Jev’s.

Noul“Is this true?”

Asks a yes/no question and returns the probability that the answer is yes, from 0 (no) to 1 (yes).

Returns noul (0–1). No separate confidence: two outcomes are fully described by one number.

Choice“Which of these options?”

Selects one option from a set that has no order between them, and returns the most probable option.

Returns choice, probabilities for every option (summing to 1), and confidence: high when one option peaks, low when it’s spread flat.

Score“Which level?”

Rates the state against ordered, descriptive levels, for when the answer is a position on a spectrum.

Returns score, probabilities per level, a legend and confidence. The score is an average: each level number times its probability, added up.

How much the model can read

32ktokens for the state plus the single longest question
64ktokens per request: the state plus all 14 questions together
~30kour budget for the PR text with Jev: 32k minus the longest question, measured, and a safety margin
64k · 24kwhat Clef and Clef-omni, and Clef-flash, read on Workers AI: the state plus all the questions. Our budget is that less the questions and a margin, about 60k and 20k

Those are Jev’s limits per TypeSafe’s Models page. The Clef models count every question against their context instead: 64,000 tokens for Clef and Clef-omni and 24,000 for Clef-flash, as we measured them. Past that, Workers AI drops the end of the state without saying so, so PRedict trims to fit first, as it does for Jev. The model reads the state once and answers every question against it. When a PR’s text fits the budget, the model reads it whole. When it doesn’t, the worker trims the diff hunk by hunk rather than dropping whole files. Every changed file keeps its header, so the model still sees the full shape of the change. Hunks are then added one per file per round, source first, then migrations, CI and dependencies, then tests, config and docs, with lockfiles, build output and binaries last, so one huge file can’t crowd out the rest. Each file notes how many hunks were left out, and because missing diff can change the answers, the row gets a ! Trimmed badge saying how much the model read, with a matching ! beside its advice. A long description is shortened to about an eighth of the budget first. Putting behavior first also helps accuracy: TypeSafe notes Jev suffers from context rot, so unrelated material in the state costs you accuracy. The budget assumes 2.75 characters per token: pessimistic for prose, but close for a diff of mostly file paths and hashes, so a PR near the limit can still be rejected.

What each column is

ColumnTypeLevels (low to high) or optionsQuestion the model answers
  • Every cell shows the most likely level and the model’s probability for it. Hover a cell for every level’s probability.
  • Choice where there’s no order. Type, Main risk, Look first and Reviewer are categories, so they’re Choice questions. Everything with a natural order is a Score, per TypeSafe’s guidance: If the answer is a position on a spectrum, use a Score.
  • Evidence flags are Nouls. Four yes/no questions about what the diff itself shows: weakened error handling, unsafe input handling, a broken contract (an API, flag, config key or format others rely on), and leftover debug code. Each appears as a badge under the title when the model puts it at 50% or more; hover a badge for the question. Any flag at 60% or more shifts the Advice color one step toward red.
  • Commits get the same columns. Pick Commits and a branch (the repo’s default to start) to assess what has already landed. A commit’s first message line is its title and the rest its description. Its facts cover the branch, merge commits, bot authors and co-authors instead of labels and forks. Because a commit is already on the branch, its questions ask what to do now, so Advice reads Leave it, Fix forward or Back it out.
  • Cost isn’t one of the model’s answers. We calculate it from the input tokens the model reports, at its Workers AI price per million input tokens (Jev $0.042, Clef $0.24, Clef-flash $0.038, Clef-omni $0.15), plus the 5% fee Cloudflare charges on the Unified Billing credits that pay for every model.

A real model call

Full request

          
Full response

          
Comparing Jev, Clef, Clef-Flash, Clef-OmniThe four models on the same 10 cloudflare/workers-sdk pull requests: how much each reads, where they agree, where they split, and what each costs

What we ran

Loading the comparison…

What stands out

  • Every model reads most PRs in full, but the largest are still trimmed. Clef and Clef-omni read up to 64,000 tokens and Clef-flash up to 24,000 (how we know). Clef and Clef-omni read 8 of these 10 PRs in full, Jev 7 and Clef-flash 6. On the largest, #16186 (+6,674 lines), Clef and Clef-omni read about 50,000 tokens of it, Jev about 28,500 and Clef-flash about 19,600, and on #16180 the four kept only 24 to 49 of its 307 diff hunks.
  • Reading whole PRs, Clef tracks Jev closely. They pick the same most likely answer 85% of the time, or 80% leaving out the four yes/no flags, where agreeing is easy. Both advised Change first on #16186, #16183 and #16180, and they rank the PRs by chance of breaking and by advice in nearly the same order (rank correlations 0.90 and 0.89). Clef is less sure of itself: its most likely answer averages 71% probability against Jev’s 80%.
  • Clef-flash still waves things through. Even reading whole PRs, it advised Merge on all 10, rated 9 Very unlikely to break, named the main risk Nothing notable on 9 and said Anyone could review 5. It agrees with Jev least, 62% leaving out the flags. Its impact ratings average the same as Jev’s (1.02 against 1.00 on the 0–3 scale), but not PR by PR: the two order the PRs by impact almost unrelatedly (rank correlation 0.12).
  • Clef-omni is the strictest on advice. It is the only model to say Rethink, on #16186, the largest PR here, and #16183, a fix for a deadlock, and it advised Change first on #16180 and #16179. It is also the least sure of the four (68% on average) and orders the PRs by advice least like Jev (rank correlation 0.64).
  • Which model is most cautious still depends on the question. Jev rates the chance of breaking highest (averaging 0.88, against about 0.77 for Clef and Clef-omni and 0.40 for Clef-flash), yet it is again the kindest about how well each PR explains itself (0.12 against 0.44–0.77) and its test evidence (0.38 against 0.69–0.93). The same gaps hold on the six PRs every model read in full (explanation 0.01 against 0.35–0.61, test evidence 0.62 against 0.90–0.99), so they don’t come from how much each model read.
  • Where they differ in judgment. #16191 is a one-line fix for a protocol downgrade with no new test: all four rated its test evidence None, but only Clef wanted it fixed first (73%), and only Jev asked for a security reviewer. #16182 adds a workflow that closes outside contributors’ PRs using a write-permission token: all four asked for a security reviewer, but only Clef named security as the main risk. Across the run the four agreed on the main risk for just 1 PR and on the reviewer for 3: Clef named security as the main risk on three PRs and Jev on none, yet Jev, which called the main risk regression on 8, asked for a security reviewer on 7. #16191 and #16182 were checked by hand against the diffs.
  • Many splits are close calls. In 30 of the 51 answers where the models split, at least one model had its top two options within 10 points of each other, and in 25 of those its second choice was what another model picked. A one-word disagreement in the table often means the models nearly agree.
  • What the same input costs. On the six PRs every model read in full, the Clef models counted 0.95–1.19× as many tokens as Jev, so for the same input Clef costs about 5.6–6.8× Jev, Clef-omni 3.4–4.2×, and Clef-flash, at its new $0.038 price, 0.89–1.07×, about the same as Jev. In this run Clef cost 7.4× Jev and Clef-omni 4.3×, partly because they read more of the largest PRs; Clef-flash cost 0.77×.
  • Jev answered fastest; Clef-flash slowest. Median round trips through the AI Gateway were about 430 ms for Jev, 530 ms for Clef-omni, 1.4 s for Clef and 1.9 s for Clef-flash. That’s one call per model and PR from one client, including network and gateway time, on inputs of up to about 54,000 tokens; Cloudflare’s published medians are for shorter inputs.
  • Agreement isn’t accuracy. Ten PRs, one run each, and no ground truth: this shows how the models differ, not which one is right. As a rough floor on run-to-run noise, in an earlier test Jev given identical input twice changed 3 of its 140 most likely answers.

How much the Clef models read

  • Now. Each Clef model reads the whole state up to a fixed total that includes every question: 64,000 tokens for Clef and Clef-omni (though Clef’s page says 65,536) and 24,000 for Clef-flash, as Cloudflare’s changelog says. Past that total Workers AI keeps the start of the state and drops the rest without an error, so PRedict trims each model’s state to fit and shows the Trimmed badge.
  • How we know. Workers AI doesn’t say what it reads, so this is inferred from two signals, measured on October 10, 2026. The usage.input_tokens it reports grows with the state until it stops at exactly 64,000 or 24,000. And a sentence injected at the end of the state changed the answer up to that point (Clef at about 52,900 tokens, Clef-flash at about 21,800) but not past it.
  • Long inputs. Cloudflare’s published scores for the Clef models come mostly from short inputs, so these long diffs test something they don’t.

Agreement by question

How many of the PRs got the same most likely answer, for each question: all four models, then Jev with each Clef model.

Every answer, PR by PR

Each model’s most likely answer, its probability, and how much of the PR that model read. Rows marked Split are where the models disagree.

Cost, tokens and speed

ModelPrice per M input tokensPRs read in fullInput tokens per PRCost per PRCost, all PRsMedian latency

Costs include Cloudflare’s 5% Unified Billing credit fee. The models read different amounts of the largest PRs, so per-PR costs here also reflect how much each read. The raw answers come from scripts/compare-models.mjs in the repository, which reruns the comparison.