LLM Logit Crystallography · 2026-11-29 live X-ray

IEEE-754 Bragg Spectrometer

Subtracting runner-up logprobs from top-1 cancels the softmax partition constant (gi = lp0 − lpi = z0 − zi), directly exposing the floating-point mantissa lattice of an endpoint's lm_head from a single max_tokens=1 reply—and recovering hidden temperature scaling (T = 0.7300) blindly in one call.

50
live closed & open endpoints X-rayed ($0.025 total)
8×
exact mantissa shift: OpenAI 1P GPT-4o (FP16 1/64) vs. Azure (BF16 1/8)
7 / 7
BF16 temp-scaled hosts blindly nailed at T = 0.7300 (C = 1.000)
5
continuous FP32 lm_head / TPU softcap stacks isolated

How to read the diffraction plot: The Bragg coherence C(f) = (1/m) Σ cos(2π·f·gi) equals +1.00 whenever every logit gap is an exact integer multiple of 1/f. Honest BF16 hosts spike to +1.00 at f = 8 or f = 16 at both T = 1.0 and T = 0.73. If a provider divides logits by T = 0.73 before log_softmax, the amber T = 0.73 diffraction peak shifts left to f = 0.73 × fbase (5.84 or 11.68), revealing the exact temperature from one single response.

Bonus — Breaking Softmax Shift-Invariance (recovering raw z0): In exact real math, log_softmax(z + c) = log_softmax(z) hides the absolute logit scale z0. In IEEE-754 BF16/FP16, however, the ULP step halves at every power-of-2 boundary (z = 32, 16, 8). Walking down top-20 gaps locates the exact cliff where denominators double—recovering raw z0 ≈ 35.94 [35.75, 36.125] on closed-source openai/gpt-4o-mini (BF16 1/4 → 1/8 across z=32), z0 ≈ 37.24 [36.97, 37.52] on OpenAI 1P gpt-4o (FP16 1/32 → 1/64 across z=32), and matching z0 ≈ 21.0–21.2 independently on both NVIDIA BF16 and Cerebras FP16 for Qwen3.8. Try it on any endpoint with python tools/logit_xray.py --model openai/gpt-4o --provider openai.

Loading…
T = 1.0 Bragg coherence C(f) T = 0.73 Bragg coherence C(f) Expected dyadic lattice (f = 8, 16)

Dyadic Lattice Coherences at T = 1.0

Sample Pairwise Logit Gaps (gi = lp0 − lpi)

All 50 X-Rayed Endpoints (Click any row to inspect)

Model & Endpoint Detected Lattice C(8) C(16) C(64) C(128) Blind T from T=0.73

Control Study: gpt-4o-mini & 14-Host DeepSeek Atlas

Does Azure always differ from OpenAI 1P on Bragg lattice and sampler order? To test whether the openai/gpt-4o triple split (OpenAI FP16 + top_p-before-temp vs. Azure BF16 + temp-before-top_p + RMSE = 1.415) is cloud-wide or deployment-specific, we ran the exact same three probes on openai/gpt-4o-mini plus a 14-host deepseek/deepseek-v4.1-flash-1017 fleet atlas (experiments/gpt4o_mini_and_fleet_crystallography.py):

Generated from live 2026-11-29 probes via experiments/logit_crystallography.py, experiments/gpt4o_mini_and_fleet_crystallography.py, and experiments/build_crystallography_page.py (raw JSON). See Case studies for full methodology.