Fresh BPB: pretraining quality, measured on data models can't have seen

Ten frontier open models scored on how well they compress human-written text and code published after their training cutoffs.

Trelis Research · July 2026 · ~$10 of inference for the full grid

Benchmarks saturate, leak into training data, and get tuned for. Compression doesn't: a model's bits-per-byte (BPB) on genuinely novel text is a direct readout of how well its pretraining captured the world, and prior work (Huang et al. 2024) shows it tracks downstream capability almost linearly. The catch in 2026: "novel text" is hard to find — roughly half of new web articles are AI-generated, and most new GitHub code is AI-assisted. Scoring models on AI-written data would measure self-similarity, not quality.

We solve this with provenance, not detectors: transcribed parliamentary speech (words spoken aloud by humans), and commits from open-source projects with explicit AI-contribution bans — all from dated windows (June–July 2026) that post-date every scored model's cutoff. Two additional slices are undisclosed canaries. AI-text detectors are deliberately avoided: they select for text language models find surprising, which would bias the very metric being measured.

Leaderboard

Horizontal bar chart of macro-average bits per byte for ten open models; Kimi K2.6 best at 0.499, GPT-OSS models far worse at 1.1-1.2
ModelCongressHansardCode (public)Private textPrivate codeMacro-avg
Kimi K2.60.5080.5690.2610.7870.3690.499
DeepSeek-V4-Pro0.4970.5600.3050.7890.3730.505
GLM-5.20.5250.5940.2740.8170.3830.518
Qwen3.7-Plus0.5330.5960.2960.8140.3820.524
GLM-5.10.5280.5950.2910.8290.3980.528
Kimi K2.7-Code0.5340.5960.2940.8190.3990.528
DeepSeek-V4-Flash0.5310.5920.3850.8340.4290.554
MiniMax-M2.70.6040.6920.3840.9180.4940.618
GPT-OSS-120B1.6641.5530.5031.3000.4841.101
GPT-OSS-20B1.9001.5220.6471.3870.6361.218

Lower is better. Compare within columns — domains differ in intrinsic predictability. Bold = best per column.

The GPT-OSS anomaly

The headline finding. OpenAI's open-weight models are near the pack on fresh code but ~3× worse at compressing fresh human speech — and the 120B barely improves on the 20B (it's worse on Hansard). That pattern is a training-data fingerprint: a heavily filtered, synthetic-skewed mix that covers code and essayistic web prose but lacks the long tail of real-world civic text. Standard benchmarks, which GPT-OSS does respectably on, don't show this at all. (One caveat: GPT-OSS expects its Harmony chat format, so raw-text completion is further off-distribution for it than for the others.)

Scatter plot of BPB on fresh code versus fresh speech; eight models cluster in the lower left, both GPT-OSS models sit far above on the speech axis

Domains disagree — that's the point

Kimi K2.6 takes the overall crown on code strength; DeepSeek-V4-Pro wins every prose/speech slice. A single-corpus number would have hidden this. The top four models are within 5% of each other — pretraining quality at the open frontier is genuinely close.

Heatmap of BPB per model per domain, shading normalized per column

Version deltas — including a regression

Fresh-data BPB is sensitive enough to resolve version-to-version changes: GLM-5.2 improves on 5.1 across every slice; DeepSeek's distilled V4-Flash pays a visible ~10% tax vs V4-Pro. And a surprise: Kimi K2.7-Code compresses fresh code worse than its general-purpose sibling K2.6 (0.294 vs 0.261 on public code) — heavy code-focused post-training didn't improve raw code modeling; it appears to have hurt it.

Paired bar chart showing GLM 5.1 to 5.2 improving, DeepSeek Flash to Pro improving, and Kimi K2.6 to K2.7-Code regressing

Closed frontier models — where they land

Closed APIs return no logprobs (and OpenAI's echo is long gone), so exact BPB is impossible there. The escape hatch is behavioral: ask a model to continue fresh text verbatim with thinking disabled, score the continuation, and calibrate against exact BPB on the open models (Spearman −0.77, n=10, protocol v2 — which credits both verbatim-echo and direct-continuation response styles; every model's scoreable rate is ≥92%, eliminating the compliance bias of v1). Seven closed frontier models, ~290 prose positions each:

Dot plot with confidence intervals and per-model residual chain-of-thought rates: Claude Fable 5 highest continuation similarity, above Gemini 3.1 Pro, Claude Sonnet 5 and GPT-5, with GPT-5-chat landing inside the open-model cluster

Fable 5 and Gemini remain above the calibration range, so they get bounds (BPB ≲ 0.53), not point estimates. The residual outlier is MiniMax-M2.7, which the proxy underrates relative to its true BPB — one reason the fit is a tier instrument, not a ruler.

Method notes

Data pipeline and scoring code will be released with a one-cycle delay on slices (published sources only — canary slices stay undisclosed). Contact Trelis for early access.