Cutting Pretraining Costs by 62%.

Introducing ANVIL III, our state-of-the-art LLM optimizer.

Authors

Deven Pietrzak, Zafar Mamat, AJ, Mason Eyler, Nahom Seyoum, Max Misterka, Adit Srivastava.

TL;DR

  • We cut pretraining costs by 62% at frontier scale (8x Chinchilla [1]), and we further reduce all AI inference costs by 30% (Faster decode).

  • ANVIL III marks the biggest optimizer breakthrough since Muon in 2024 and beats a fully tuned Muon by 20–28 millinats, regime dependent, at the same training budget.

  • Our model Feather 1.7B beats Qwen3-1.7B-Base on math, using 180x fewer total training tokens.

  • The compute efficiency from ANVIL III alone scales at a fixed 8x Chinchilla budget: 32% at 124M, 39% at 350M, 39% at 774M, and 50% at 1.2B parameters.

  • With ANVIL II, we record the largest pretraining efficiency jump on the NanoGPT speedrun. Our record is a greater percentage leap than the past 45 world records combined.

The Muon Lineage

Muon comes from the matrix-preconditioned family of optimizers. An earlier optimizer in this family is Shampoo [2], which applies the update . The original method accumulates gradient products; in the exponential moving average (EMA) variant, and  [3]. If we write and remove this accumulation, we get

(1)

Equation (1) is the Muon update.

Muon was introduced in 2024 by Jordan et al. [4]. The Muon update is the orthogonalization of the momentum update . Since standard SVD algorithms are significantly slower and less parallelizable than matrix multiplication on GPUs, it is not practical to orthogonalize by SVD at each step [4]. For this reason, Muon orthogonalizes using Newton-Schulz iteration, which iteratively applies a polynomial to . The polynomial is designed to send the matrix's singular values closer to at each iteration. Orthogonalization of the momentum updates is desirable because a large amount of useful gradient signal is contained in the middle singular components of the update matrix, which are traditionally orders of magnitude smaller than the highest singular components but which become on par with them after orthogonalization. Since the lowest singular components are mostly within noise of , bringing their singular values up to is harmful, so the Newton-Schulz polynomial is only applied for five iterations, bounding the amount of inflation that these noise components receive.

Attention stabilization

In Kimi K2's experiments, attention-logit inflation occurred more frequently with Muon than AdamW. The report hypothesizes that growth in the spectral norms of the attention weight matrices and increases the risk of logit explosion. Standard approaches to prevent this inflation include adding QK-norm [5] to the architecture, which normalizes the and vectors before the softmax. However, this is an architectural change and does not work well with other architectural features such as multi-head latent attention [6]. An alternative to QK-norm is QK-clip, which scales each head's and matrices down whenever any of the softmax nonlinearities receive logits above a certain threshold in the current batch. Adding QK-clip to Muon gives MuonClip, the optimizer used to train Kimi K2 [6].

Muon uses a shared learning rate across the components of its matrix update. Rather than treating pretraining as a single optimization process in a high-dimensional loss landscape, Adam's adaptive update [7] in Equation (2)

(2)

treats pretraining as a Cartesian product of many smaller optimization processes and gives each process its own LR by normalizing its updates by their RMS across steps. NorMuon [8] introduces Adam's adaptive LR feature into Muon by dividing each row of the Muon update by the RMS of its L2 norm. There are two reasons why the orthogonalization doesn't automatically guarantee that this row norm is . First, the Newton-Schulz variant called NS5, which is the standard choice of orthogonalization algorithm for Muon, has noticeable error, especially in directions with small singular values. Second, the row norms of orthogonal matrices are generally not equal to if the matrix is tall, and MLP layers have tall matrices.

Beating Muon Across the Singular Spectrum

The Adam SNR probe

ANVIL III is an optimizer in the Muon family, where the final optimizer steps consist of orthogonal matrices. We pick paired orthonormal bases for each optimizer's update at a fixed checkpoint, before learning rate and weight decay, and measure them against the gradients of held-out batches, . An orthogonal matrix has every singular value equal to one, so and are only defined up to a shared rotation. We use three bases and report probes for all of them.

  • Momentum SVD: the singular vectors of the momentum before orthogonalization, the directions the momentum ranks highest.
  • Aligned basis: the rotation of that frame in which the training gradient is most diagonal.
  • Representative basis: a random rotation of the same frame. The update weights every direction in its frame equally, so this is what a typical direction of the step looks like.

For the aligned basis, is the eigenbasis of , chosen on the training batch and fixed for held-out scoring. Descent inequality is the Gini coefficient [9] of , where on the training batch, using the singular vectors of the momentum before orthogonalization. Lower Gini means more even contribution magnitudes across directions. Absolute values include ascent contributions. Using , we define the Adam SNR of a singular vector in Equation (3).

(3)

A score near means the held-out batches agree on the direction. A score near means they do not. We also score random directions as a reference.

Held-out Adam SNR of update directions

A random rotation of the same frame. The update weights every direction in its frame equally, so this is a typical direction of the step.

Parameter count

Training tokens · 20.00B total

Every direction of every matrix, weighted equally.

Dashed curves are random orthonormal directions scored on the same gradients.

Adam SNR · Representative basis

1.2B model · checkpoint 2.10B of 20.00B training tokens

  • Muon
  • ANVIL III
  • Muon random
  • ANVIL III random
Probability density01234-1-0.500.51Adam SNR = mean(C) / RMS(C)
Histogram

Descent inequality

Parameter count

Training tokens

Descent inequality · 1.2B model

20B-token training budget

Per-matrix Gini of |dᵢ| · dᵢ = uᵢᵀGXvᵢ

uᵢ and vᵢ are the singular vectors of the momentum before orthogonalization, fixed across batches. G_X is the training-batch gradient.

0 means even contributions and 1 means a few directions dominate. We use absolute values, so ascent counts too.

  • Muon
  • ANVIL III
Median Gini of |contribution|00.20.40.60.8105101520Training tokens (billions)MuonANVIL III
Checkpoint statistics

Lines are the median across matrices and shading is the 16th to 84th percentile. Muon uses separate Q, K, and V matrices and ANVIL III uses fused QKV.

Figure 1. Adam SNR of the update directions on held-out batches in the selected basis, and descent inequality across update singular directions over training.

The singular vectors

We see that the Adam SNR distribution is persistently higher for ANVIL III and robust to the measurement methodology. When we rank by , with being the gradient of the current step, the gap holds across the whole ranking and not just the largest projections. The size of the separation reduces across training, at the same speed that the Adam SNR reduces for random directions. Additionally, when we rank the singular vectors by their coefficients on the momentum (twin rail momentum for ANVIL III and both twin rail and standard momentum for Muon), we see that even the new singular vectors have a larger SNR, whereas new singular vectors found by Muon are low SNR.

The weak singular directions

Looking at the SNR plots, we wanted to know what the weakest directions were doing. We ranked directions by the magnitude of their momentum projections, removed the weakest , or , and compared each optimizer with its own unmodified baseline. We see that ANVIL III is less sensitive to truncating the weakest singular vectors.

keptMuonANVIL III
95%+1.1−1.2
90%+2.5−0.1
80%+6.9+1.8
Table 1. Change in validation loss (millinats) for runs trained from scratch with the weakest singular vectors removed by momentum alignment.

Beating Muon at Every Tested Scale

Experimental setup

We measure the final validation loss of tuned Muon against ANVIL III. All runs use 200 warmup steps, linear decay to zero, a batch size of 524,288 tokens, and a sequence length of 1,024. Muon uses split QKV, which we find is 3–4 mnat better than fused QKV for Muon; ANVIL III uses fused QKV, so the comparison is conservative.

Main results

Final validation loss by model size and token budget

Curve pairs, top to bottom: 124M, 350M, 774M, and 1.2B parameters.

  • 124M
    • 124M · MuonMuon
    • 124M · ANVIL IIIANVIL III
  • 350M
    • 350M · MuonMuon
    • 350M · ANVIL IIIANVIL III
  • 774M
    • 774M · MuonMuon
    • 774M · ANVIL IIIANVIL III
  • 1.2B
    • 1.2B · MuonMuon
    • 1.2B · ANVIL IIIANVIL III
Final validation loss (nats)2.62.833.23.4010203040Training budget (billion tokens)
Est. seed-to-seed variation: ~2 mnat (350M)

Points are measured final validation losses; lower is better.

ANVIL III is 20 to 28 millinats better than Muon across the grid. To compare compute efficiency across model sizes, we use a common 8x Chinchilla budget. The fitted savings are 32%, 39%, 39% and 50% at 124M, 350M, 774M and 1.2B, respectively; the appendix gives the calculation.

Training trajectories

Validation-loss gap

Parameter count

Training tokens

Validation-loss gap · 1.2B model

40B-token training budget

  • Muon − ANVIL III
Muon − ANVIL III validation loss (mnat)020406080100120010203040Training tokens (billions)Equal loss
Muon LR / WD sweepμP proxy · estimated LR/WD tuning error <2 mnat
WD ↓ / LR →0.00350.0050.007
0.03—3.0898—
0.053.08923.08523.0876
0.08—3.0884—
Figure 2. Validation loss and the Muon − ANVIL III loss gap over training. Positive gap means ANVIL III has lower loss.

The gap between ANVIL III and Muon is usually unpredictable for the first 20% of training. However, after the initialization and LR warmup, we see that the gap steadily increases from 30% to 80% of training, where, in certain configurations, the gap can grow as large as 50 mnat. Once the model is annealed, Muon partially catches up as it benefits more from annealing, as noisy methods do.

Architecture Comparison, Compute matched

We compare our architecture variant with the baseline at matched training compute, using four 712M models trained on 15.73B tokens.

OptimizerBaseline architectureArchitecture variant
Muon2.99492.9655
ANVIL III2.96902.9393
Table 3. Validation cross-entropy (nats).

The architecture improvement is nearly the same with either optimizer, and ANVIL III retains its advantage with both architectures.

Beating Qwen3 as the Frontier 1.7B Math Model Using 180x Fewer Training Tokens.

TL;DR

  • ANVIL III, coupled with architectural advances, allows us to plateau lower with 180x fewer total training tokens.

  • We compare Feather to SOTA open-source models on a bevy of math benchmarks including MATH500, GSM8K, GSM-Symbolic, Math-Perturb, SVAMP, and AMC23.

  • Feather does not regress on general reasoning capabilities.

  • We filter training documents against benchmark questions and solutions using lexical and number-normalized overlap rules.

Calibration

  • Our open-source data mixture is dramatically under-curated in contrast to Qwen's training corpus [10].

  • In addition to distillation on model-generated data, Qwen is also aggressively midtrained on over 1T tokens of math data [12], while Feather has no midtraining stage and uses only 10B tokens of model-generated data.

  • Feather underwent three rounds of benchmark decontamination, covering every math benchmark in the comparison below.

  • Beyond Qwen2.5's documented overlap rules, our filters also target shorter question-and-solution matches and number-altered variants [11][12].

  • Feather leads Qwen3-1.7B by 18.4 and 26.9 percentage points on GSM-Symbolic main and p1 with the available prompt settings. Feather also leads both similarly sized Qwen references on the two Math-Perturb variants with the available prompt settings. These results support generalization beyond the original benchmark questions.

Introducing Feather 1.7B

The comparisons below report Feather 1.7B (1.68B parameters, trained on 200B tokens) against Qwen3-1.7B-Base and Qwen2.5-Math-1.5B (trained on approximately 36T tokens [10] and up to 18T base-pretraining tokens [11] plus a math corpus of over 1T tokens [12], respectively). The math comparison uses the best available prompt setting for each model. We do this while preserving language and general reasoning capabilities. The language comparison uses zero-shot results, except for MMLU-STEM, which uses 5 shots.

Feather is now live. Compare performance benchmarks through the API.

Full Qwen benchmark comparison

Full Qwen benchmark comparison Accuracy in percent.
BenchmarknFeather 1.7BQwen3-1.7B-BaseQwen2.5-Math-1.5BQwen3-4B-Base
MATH500060.852.652.452.4
MATH50050063.053.052.053.6
Perturb simple27941.636.631.932.3
Perturb hard27920.815.814.716.8
AMC234032.522.527.535.0
AIME24300.00.03.33.3
MMLU-STEM315336.361.846.475.3
AQuA-RAT25423.631.126.041.7
SAT-Math22025.540.033.645.9
MathQA298535.545.347.053.6
GSM8K131983.476.677.587.2
GSM8K Platinum120985.774.477.987.4
GSM-Plus mini240064.556.057.569.4
Symbolic main500081.162.769.582.5
Symbolic p1500070.443.551.470.1
Symbolic p2250040.120.229.050.3
SVAMP100087.474.385.187.6
MAWPS (integer subset)35199.194.698.695.2
MGSM-en25078.076.078.086.4

Underlined: best among Feather and the 1.5–1.7B references, and also beats Qwen3-4B-Base. Bold: best among Feather and the 1.5–1.7B references.

Feather scores refer to one 200B-token checkpoint. Generative results use common answer-scoring rules across all four models, and complete test-set counts were checked.

Model validation checked the evaluation forward pass against the trainer validation loss. Multiple-choice tasks use fixed shot counts and scoring metrics.

Language and general reasoning.

Language and general reasoning. Accuracy in percent.
BenchmarkFeather 1.7B(0.2T)Qwen3-1.7B-Base(36T)Qwen2.5-Math-1.5B(≤18T base + >1T math)
HellaSwag · norm63.066.549.8
LAMBADA58.163.144.8
PIQA75.676.068.3
WinoGrande67.664.356.7
ARC-Challenge · norm46.644.940.7
OpenBookQA · norm40.838.434.8
SciQ95.896.192.0
MMLU-STEM · 5-shot36.361.846.4

“norm” = length-normalized accuracy; other rows use accuracy. Metrics are fixed across models.

Feather scores use the complete archived task evaluations, with model validation performed separately using identical weights and evaluation implementation.

Our Public NanoGPT Speedrun World Record

A deprecated version of ANVIL directly contributes to our NanoGPT speedrun submission, and is entirely public.

We see the NanoGPT speedrun as the most potent public indicator of pretraining efficiency for techniques used at the frontier.

Our record submission beats the incumbent by 34 seconds on the same hardware: 73.889 seconds down to 39.914 seconds. Its 1.85× speedup is the largest single relative improvement compared with the published record history.

By percentage reduction in training time, its 46.0% improvement is greater than the previous 45 world records combined: 45.8%, from record #44 to #89.

Speedup, record by record — across the past 18 months

March 2025–August 2026 · NanoGPT speedrun

Earlier recordsANVIL II submission
Speedup over the preceding record; linear scale with a 1× baseline.Earlier records and the ANVIL II submission use distinct layered bars, matching the legend. The ANVIL II submission is at 1.851×. The May 2025 re-timing of record 21 falls below 1×.1.0×1.2×1.4×1.6×1.8×Speedup multiplier#21: 0.994× — 21st record with latest torch#22: 1.008× — Faster gradient all-reduce#23: 1.004× — Overlap computation and gradient communication#24: 1.004× — Replace gradient all_reduce with reduce_scatter#25: 1.024× — Upgrade PyTorch to 2.9.0.dev20250713+cu126#26: 1.012× — Align training batch starts with EoS, increase cooldown frac to .45#27: 1.016× — Transpose one of the MLP matrices + add Triton kernel for symmetric matmul#28: 1.002× — Sparse attention gate#29: 1.030× — Flash Attention 3, 2048 max_doc_len, update ws schedule#30: 1.005× — Drop first MLP layer#31: 1.023× — Dynamically incorporate YaRN during training and validation#32: 1.012× — Optimize distributed training, improve skip connection gating, and enhance bfloat16 usage#33: 1.023× — Asynchronously fetch and index data batches, extend final layer attention window for validation#34: 1.007× — Smear token embeddings 1 position forward#35: 1.008× — Drop first attn layer, extend all long windows for validation, update schedule#36: 1.013× — MuonCustomSizing, perform mlp and attn reduce scatter in shared call#37: 1.005× — Compute cross entropy in BF16 during training#38: 1.003× — Polar Express, replacement for Newton-Schulz#39: 1.012× — Only update Adam params every other step, reduce batch size#40: 1.038× — Backout, misc hyperparameter tuning, optimize lambda padding#41: 1.006× — NorMuon#42: 1.014× — Update NorMuon LR, Step Logic#43: 1.013× — Cautious Weight Decay w/ schedule#44: 1.007× — Backward hooks on Adam, Profiling 101#45: 1.009× — Refine skip arch, update exponential decay init#46: 1.020× — Batch size schedule#47: 1.005× — Multiply attn lambda with weight instead of data, fix warmup#48: 1.011× — Speed up Muon, additional pre-multiply lambda, reshape matrices, update lr, update NorMuon axis#49: 1.011× — Partial Key Offset#50: 1.008× — Extend Cautious Weight Decay to Adam parameters#51: 1.026× — Retie Embed to lm_head, retune fp8 scales#52: 1.019× — Smooth scalars via beta increase, decrease smear gate lr, freeze scalars during transitions, adam all reduce#53: 1.025× — Multi-token prediction, untie embed/lm_head at 2/3 training, lr update, tweak CWD#54: 1.025× — Asymmetric Logit Rescale#55: 1.011× — Gates on value embeds and skip connection#56: 1.013× — Optimize and compile Adam, increase Adam buffer precision, move gates from Muon to Adam parameter banks#57: 1.009× — Bfloat16 attn/mlp weights, mixed precision Muon, interweave Adam/Muon, finer-grain Adam beta#58: 1.032× — Paired Head Attention#59: 1.022× — Fused triton kernel for linear relu square MLP step#60: 1.009× — Fused triton kernel for softcapped multi-token prediction cross entropy step#61: 1.010× — Unified Optimizers and Transposed LM Head#62: 1.056× — Bigram Hash Embedding#63: 1.003× — Untie Value Embeds#64: 1.012× — Tuned nonzero Attn V and O init#65: 1.011× — Group Value Embeds into single parameter#66: 1.011× — Torch 2.10#67: 1.036× — Tune fused softcap kernels and fuse fp8 quantization in LM head#68: 1.003× — Move bigram hash to GPU#69: 1.005× — Kernel Optimizations#70: 1.005× — Tune value embed layout and ve_gates#71: 1.003× — Sparse bigram gradient comms and optimized loading on CPU#72: 1.013× — Increase minimum lr and add max_seq_len schedule#73: 1.007× — Partitioned Hyperconnections#74: 1.012× — Flattened GPT forward, removed post attention lambdas, added transpose kernels#75: 1.010× — Cross Entropy Kernel Optimizations#76: 1.005× — Reuse and tune backward transpose kernel#77: 1.008× — Replace partitioned hyperconnections with single saved activation#78: 1.006× — Tighten bounds on fa3 max_num_docs to match fineweb distribution#79: 1.011× — Fuse Cross Entropy Fwd/Bwk Kernel, to avoid recalc on softcap sigmoid#80: 1.004× — In Muon orthogonize Q and K matrices in pairs of heads, instead of across the full 6 head matrix#81: 1.032× — MUDD Skip Connections#82: 1.007× — Learnable XSA#83: 1.019× — Sign Trick on Bigram Embed#84: 1.006× — FP8 on MLP up-projection forward pass#85: 1.039× — MUDD gates and Lightweight Dynamically Composable MHA#86: 1.004× — Algebraic rewrite of XSA, same math faster execution#87: 1.008× — Faster Implementation of Relu^2 Kernel#88: 1.010× — Prefix token prediction auxiliary loss#89: 1.011× — MLP down projection in FP8 with efficient delayed scaling metric#90: 1.851× — ANVIL II and the full speedrun submission1.85×ANVIL II46% less training time#21#30#40#50#60#70#80#90*
73.889 s → 39.914 sTraining time
1.851×Speedup

ANVIL II and the full speedrun submission

*#90 denotes the submitted run in PR #360, pending review as of 5 September 2026. Record history.

Appendix: Tuning effort

Muon was evaluated across learning-rate and weight-decay settings, with additional auxiliary Adam learning-rate checks. The recent large-model tuning used narrower muP proxies with the target depth and training-token budget; we varied individual hyperparameters around a reference setting and compared final validation losses. ANVIL III also had earlier learning-rate and weight-decay trials, and three completed 1.2B-target proxy runs compared auxiliary Adam learning rates.

For the architecture comparison, hyperparameters were transferred from each optimizer's 774M/10B configuration in the main grid and used for both the baseline architecture and the architecture variant.

The table counts completed comparison and tuning runs, including hyperparameter trials, their controls, and seed repeats. Component, architecture, data-order, and implementation ablation campaigns are excluded for both optimizers. These are run counts, not counts of distinct hyperparameter settings or an exhaustive history of optimizer development. Each trial is counted once across restarts. Smoke tests, timing-only tests, incomplete trials, and unrelated earlier optimizer implementations are excluded. Proxy runs are included under their target size; their losses are not full-size measurements.

Each cell gives completed Muon / ANVIL III runs at the column's training-token budget, including muP proxies. Zero means no qualifying run in this audit.

Target1.25B2.5B5B10B20B40B
124M37 / 1246 / 923 / 838 / 816 / 65 / 1
350M0 / 00 / 010 / 537 / 910 / 125 / 1
774M0 / 00 / 00 / 015 / 111 / 28 / 2
1.2B0 / 00 / 00 / 020 / 112 / 27 / 4
Completed runs at the main token budgets: Muon / ANVIL III.
Target1B2.62144B4B7B7.1429B14B15.5B28B
124M1 / 00 / 00 / 00 / 00 / 12 / 00 / 01 / 0
350M0 / 00 / 02 / 01 / 20 / 00 / 00 / 00 / 0
774M0 / 00 / 01 / 00 / 00 / 00 / 00 / 10 / 0
1.2B0 / 012 / 00 / 00 / 00 / 00 / 00 / 00 / 0
Completed runs at additional token budgets: Muon / ANVIL III.

The 7.1429B column denotes 7,142,899,712 tokens; the 2.62144B column denotes 2,621,440,000 tokens.

Appendix: Token-savings methodology

At Chinchilla. Large open-weight models commonly train for several times this reference budget, so Chinchilla is less representative of their training regimes. We include it here as a comparison within our measured budget range. We set the baseline budget to tokens and interpolate each optimizer's loss linearly in log token budget between adjacent completed runs. We first evaluate Muon's loss at , then find the ANVIL III budget that matches that loss. Both budgets are bracketed by measured runs at every model size, so this comparison requires no extrapolation.

ModelMuon budget (B tokens)Matching ANVIL III budget (B)Saving (%)
124M2.482.15313.2
350M7.005.58720.2
774M15.4812.06922.0
1.2B24.0017.98325.1
Optimizer-only compute savings at Chinchilla, interpolated within the measured budget range.

The interpolation uses 1.25B–2.5B runs at 124M, 5B–10B at 350M, and 10B–20B at 774M. At 1.2B, it uses Muon's 20B–40B runs and ANVIL III's 10B–20B runs. These are interpolated equal-loss comparisons between separately annealed runs, not direct equal-loss stopping measurements. Savings are , assuming equal compute per training token.

At Chinchilla.

We compare model sizes at a fixed Chinchilla budget, using tokens for a dense model with parameters. At each size, we fit separately to Muon's and ANVIL III's completed 10B, 20B and 40B runs. Each run has its own learning-rate schedule, fully annealed at its endpoint. In the fit, is in billions of tokens.

We carry forward the measured 40B optimizer loss gap, . For each fitted curve, the equal-loss budget is

(1)

We report the lower saving, , from the two fits at each size. The fits supply alternative loss-curve slopes; the optimizer improvement is applied once.

ModelBaseline budget (B tokens)Loss gap (mnat)Saving (%)
124M19.8422.331.7
350M56.0023.438.6
774M123.8421.839.2
1.2B192.0027.850.2
Optimizer-only fitted compute savings at a common Chinchilla budget.

These are fitted equal-loss projections, assuming the loss-curve shape and optimizer gap persist over the relevant budgets. The 124M reference lies within the measured budget range; the larger models require extrapolation beyond 40B. Compute savings assume equal compute per training token. The measured final losses remain in the results table.

Appendix: Architecture methodology

Architecture methodology

All four 712M models train for 30,000 steps on 15.73B tokens, approximately Chinchilla, with a sequence length of 512 and a batch size of 524,288 tokens. The runs use the same data order with seed 1. The setup differs from the main grid because these experiments were scheduled separately; those differences were incidental, not part of the architecture comparison. All models are evaluated on the same held-out text.

Appendix: Headline numbers

At 1.2B and Chinchilla, the fitted loss curves imply approximately 50% less training compute from ANVIL III. Combining this with the architecture's approximately 25% compute-saving estimate near Chinchilla gives approximately 62% less compute, assuming the gains compose. The fitted trends suggest larger optimizer savings at larger model sizes, but we do not include that potential benefit in this calculation.

Appendix: Feather training mixture

Feather was trained on 200B tokens in total. The final stage adds 22.985B tokens after 177.015B tokens of earlier training. The table describes the final stage's 25.019B-token input list, including deliberate repetitions; it is not a breakdown of the full 200B-token corpus. Training stops before exhausting that list, so listed shares are not exact per-source shares of the tokens consumed.

Source categoryListed tokens (B)Share
Few-shot math packs2.96511.9%
Math instruction and reasoning datasets12.86451.4%
Benchmark training pools0.1510.6%
Language and STEM example renders3.89215.6%
Web and encyclopedia rewrites2.1768.7%
Books, stories and textbooks1.7857.1%
Other web and QA text1.1864.7%
Final-stage input-list composition. B denotes billion tokens.

Math sources include OpenMathInstruct-2, NuminaMath, OpenMathReasoning, Nemotron-PrismMath, AoPS-Instruct, AceMath, DART-Math, MathScaleQA, MathCoder2, TemplateGSM, proof-pile and math web text, alongside examples rendered into multiple prompt formats. The language allocation includes benchmark training examples, STEM and QA material, synthetic rewrites, books and web text; it is not exclusively natural prose.

The mixture includes teacher-generated solutions. For example, OpenMathInstruct-2 uses Llama-3.1-405B-Instruct generations. Selected sources are repeated two to four times. These are explicit list repetitions, not estimates of unique-document exposure across different renders of a source. Different renders can share underlying problems; the table measures listed tokens rather than unique examples.

Appendix: Feather data decontamination

Training-data preparation uses document-level benchmark-overlap filtering. The inherited corpus and final-stage sources have separate processing histories; the rules below describe the filtering methods, not a certification that every source is free of benchmark overlap.

The original matching bank contains 103,101 items across 66 task/splits, covering all 19 math benchmarks in our comparison and language benchmarks. It includes test and validation data, selected development and few-shot rows, and questions, solutions, rationales, answer choices and support passages.

We decoded training shards and scanned within document boundaries, checking hash matches against the actual normalized words. Matches removed whole documents. For packed few-shot examples, one flagged example removed the entire packed document.

  • strict: removed documents containing any matching 13-word sequence from a full benchmark item, at least 50% of a question's distinct 8-word sequences, or an exact short question with at least 30 characters and at most 7 words.
  • v2strict: added removal for matches covering at least 50% of a solution's distinct 8-word sequences, expanded benchmark coverage and recorded which field matched.
  • v2lq: normalized some LaTeX formatting and replaced numbers with 0, then removed qualifying long-question matches.

Benchmarks commonly provide separate training and evaluation splits. The training splits are intended for model development; the held-out evaluation splits are used to measure performance. Feather's training included GSM8K training questions as exemplars and solution targets, MATH training solutions, MMLU auxiliary training data and other benchmark training pools. Using these designated training splits is standard practice. We also rendered examples in the evaluation prompt formats and generated multiple examples from some GSM training questions. Sharing a prompt format does not mean sharing the held-out questions or answers.

Appendix: Benchmark methodology

We report the highest accuracy across the prompt settings below. A 4-shot prompt contains four worked examples; a zero-shot prompt contains none.

  • MATH, MATH500: Feather 0 / 4-shot, including training-style four-shot examples; Qwen 0 / 4-shot, Minerva prompt.
  • Perturb simple, Perturb hard, AMC23, AIME24: 0 / 4-shot, Minerva prompt.
  • MMLU-STEM: 5-shot likelihood.
  • AQuA-RAT, SAT-Math, MathQA: 0-shot length-normalized likelihood.
  • GSM8K: standard 0 / 5-shot; CoT 0 / 8-shot Feather also includes training-style few-shot examples.
  • GSM8K Platinum, GSM-Plus mini, Symbolic main, Symbolic p1, Symbolic p2, SVAMP, MAWPS (integer subset): 0 / 5-shot, GSM-style prompt Feather also includes training-style few-shot examples.
  • MGSM-en: 0 / 8-shot CoT.

Full MATH accuracy pools all seven subjects within each prompt setting before taking the maximum. MAWPS uses the 351 integer-answer examples.

References

  1. Jordan Hoffmann et al. (2022). Training Compute-Optimal Large Language Models.
  2. Vineet Gupta, Tomer Koren, and Yoram Singer (2018). Shampoo: Preconditioned Stochastic Tensor Optimization.
  3. Jeremy Bernstein and Laker Newhouse (2024). Old Optimizer, New Norm: An Anthology.
  4. Keller Jordan et al. (2024). Muon: An Optimizer for Hidden Layers in Neural Networks.
  5. Alex Henry et al. (2020). Query-Key Normalization for Transformers.
  6. Kimi Team (2025). Kimi K2: Open Agentic Intelligence.
  7. Diederik P. Kingma and Jimmy Ba (2015). Adam: A Method for Stochastic Optimization.
  8. Zichong Li et al. (2025). NorMuon: Making Muon more efficient and scalable.
  9. Niall P. Hurley and Scott T. Rickard (2009). Comparing Measures of Sparsity.
  10. Qwen Team (2025). Qwen3 Technical Report.
  11. Qwen Team (2024). Qwen2.5 Technical Report.
  12. An Yang et al. (2024). Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement.

Cite this article

Deven Pietrzak, Zafar Mamat, AJ, Mason Eyler, Nahom Seyoum, Max Misterka, and Adit Srivastava. (September 8, 2026). Cutting Pretraining Costs by 62%: Introducing ANVIL III, our state-of-the-art LLM optimizer. Hyperstition. https://hyperstition.cc/cutting-pretraining-costs-by-62-percent