Ripple-65B Preview: A Dense Thin-and-Deep Model Built on a Model Ladder
Read first: Training Compute-Optimal Large Language Models · GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints
TL;DR. Ripple-65B Preview is a dense 65B Transformer from Ricursive Intelligence, released under Apache 2.0. It is pretrained from scratch on 12T tokens of mostly English text and code at 8K context, then extended to 1M context. The team started from Olmo 3’s model ladder and made sequential recipe changes, rung by rung (hyperparameter laws, shape scaling, normalization, gated attention, NoPE, value residuals, a code-heavy data mix). They report 16× better compute efficiency on code at 4B. The model scores 80.52 on Terminal-Bench 2.1. The blog says the full R&D cost was $32M, and the model card says the team grew from 1 to 5 people.
Why it matters now. Most 2026 open frontier models are large MoEs. Ripple argues that a small team can reach the same agentic-coding level with a dense model, a careful ladder and no custom kernels. The blog and card also give a compact public log of which ladder changes were kept and which were rejected, and a stage table you can check by hand. Treat it as a lesson in ladder discipline. The benchmark claims are weaker, because the team ran many of the evals itself.
Key idea
Section titled “Key idea”Dense, thin and deep, with depth-friendly attention. The card says the team switched from Olmo 3’s Llama-like block to a “Gemma 3N-like” design “to improve training stability at scale”. The released config.json and modeling code make the shape concrete:
| Ripple-65B | Olmo 3 (for reference) | |
|---|---|---|
| Layers × d_model | 80 × 5,120 | 7B / 32B (see Olmo) |
| Attention heads | 80 query × 128 dim (= 2 × d_model), 8 KV heads | GQA |
| Local : global | 4 : 1 (global every 5th layer, 16 in total) | 3 : 1 |
| Sliding window | 1,024 (RoPE, base 10K) | 4,096 |
| Global layers | full attention, no positional encoding | RoPE + YaRN |
| FFN | SwiGLU, width 40,960; gate ≤ 20, up clamped to [−20, 20] | SwiGLU |
| Norm | pre + post RMSNorm on both sublayers, per-head QK-norm | post-norm (output norm) |
“Overprovisioning” the heads (10,240 query dims on a 5,120-wide stream) adds reasoning capacity. A higher SWA ratio and a smaller window than Olmo 3 pay for it. Only 16 of 80 layers need the full KV cache, given a serving engine that evicts sliding-window KV:
plus a fixed ≈256 MiB per sequence for the 64 windowed layers. That is how a dense 65B model can hold 1M tokens (≈64 GiB of KV) instead of the ≈320 GiB an all-global model would need. This is the architectural requirement: the released Hugging Face loader builds a plain DynamicCache(), and the sliding attention mask alone does not show that local-layer KV is actually evicted.
Three changes that target depth. In the released code, with the normed layer input and the scaled token embedding:
One decoder layer (four RMSNorms per layer):
x0 (scaled embedding) ──────────────────────────┐ value shortcuth ──► [1 input norm] ──► h~ ──► W_Q, W_K │ ├──► V in = lerp(x0, h~, σ(λ)) ──► W_V └──► gate = σ(W_G h~) SDPA(q, k, v) ⊙ gate ──► W_O ──► [2 post-attn norm] ──► + hh ──► [3 pre-FFN norm] ──► SwiGLU (clamped) ──► [4 post-FFN norm] ──► + h- Value residuals (ResFormer) let every layer’s values see token-level information directly. Ordinary residuals tend to lose that information as depth grows.
- Sigmoid-gated attention (Qiu et al.) adds a nonlinearity and a query-dependent “off switch” per channel. The cited paper links this to fewer attention sinks, better stability and tolerance of larger learning rates.
- Pre + post norm controls the scale of each of the 160 sublayer updates. It does not bound the accumulated residual stream or guarantee that it never drifts over 80 layers.
- Global NoPE (RoPE-to-NoPE) puts position information only in the local layers. The global layers have no rotary frequencies to rescale for long context.
- FFN activation clipping (as in gpt-oss) upper-clamps the gate projection at 20 before SiLU and clamps the up projection to [−20, 20], which caps rare activation outliers.
The training stages (model card)
Section titled “The training stages (model card)”| Stage | Tokens | Steps | Seq len | Batch | Tokens/step (derived) |
|---|---|---|---|---|---|
| Pretrain | 12T | 877,500 | 8K | 1408 → 3072 | ≈13.7M average |
| Midtrain | 200B | 8,000 | 64K | 384 | ≈25.2M |
| Long context | 6.5B | 389 | 2M | 8 | ≈16.8M |
| SFT | 183B | 7,274 | 128K | 192 | ≈25.2M |
| LC SFT | 13.5B | 802 | 2M | 8 | ≈16.8M |
| RL | n/a | 700 | 128K | 2048 | 700 × 2,048 ≈ 1.4M rollouts |
The non-RL stages agree approximately with their rounded token totals (); midtraining, for example, gives 201.3B rather than exactly 200B. For pretraining, the totals imply an effective average batch of about 1,669 sequences, assuming full 8,192-token sequences. They do not identify the actual batch schedule. Pretraining is about FLOPs at ≈185 tokens per parameter, far past Chinchilla’s ≈20. That trade makes sense for a model meant to be cheap to serve (overtraining laws). The reported non-RL post-pretraining stages total about 403B tokens, 3.36% of pretraining. RL token volume is undisclosed.
What the numbers say
Section titled “What the numbers say”Instruct model, from the model card (Ripple’s own harness where official scores were missing):
| Benchmark | Ripple-65B (dense) | Reflection Beam (501B MoE) | Muse Spark Open (816B MoE) | Inkling (975B MoE) | Nemotron 3 Ultra (550B MoE) |
|---|---|---|---|---|---|
| Terminal-Bench 2.1 (self-reported) | 80.5 | 80.1 | 76.4 | 63.8 | 56.4 |
| Terminal-Bench 2.1 (Terminus 2) | 80.5 | 70.8 | 78.7 | 56.2 | 55.1 |
| SWE-bench Pro v2.0 Hard | 79.1 | 76.5 | 72.4 | 39.6 | 30.7 |
| SWE-bench Verified | 76.5 | 81.6 | 78.7 | 77.6 | 71.9 |
| DeepSWE 1.1 | 44.3 | 43.3 | 60.0 | 1.8 | 0.2 |
| MCP Atlas | 71.67 | 80.8 | 89.2 | 76.0 | 62.2 |
| MMLU-Pro | 84.2 | 76.5 | 87.9 | 87.3 | 86.8 |
| GPQA Diamond | 85.2 | 90.6 | 89.0 | 87.2 | 87.0 |
- Terminal agents are the headline. The model leads both Terminal-Bench rows and SWE-bench Pro v2.0 Hard. It trails on SWE-bench Verified, MCP Atlas, SciCode and knowledge benchmarks, so its edge is narrow (agentic coding), not general.
- Active parameters, not total. Ripple’s 65B active parameters are more than any competitor’s (23B–55B). “Beats 10× larger models” compares total parameters, and dense decoding costs more FLOPs per token than these MoEs.
- Base model. The pretrain-only checkpoint is “comparable with DeepSeek V3.1 and V4 Flash on reasoning, math, and code” and beats Laguna M.1 overall. Nemotron 3 Ultra leads traditional base-model evals. The card credits that lead to task-seeded synthetic data, which “did not translate to modern agentic tasks”.
- RL efficiency. 1.4M rollouts (700 steps × 2,048) took a strong SFT checkpoint to 80.5. The blog puts that at roughly 70× fewer rollouts than Reflection Beam.
What to be careful about
Section titled “What to be careful about”- Blog and model card, not a paper. There are no loss curves in text, no per-rung numbers, no optimizer or LR values and no data composition. The ladder results are claims you cannot re-run.
- The 16× mixes architecture with data. The final rung upsamples code, and the metric is code loss, so part of the “efficiency” comes from training more on what is measured. The 55× is an extrapolation of fitted slopes, not a measurement.
- Stacked, not isolated, ablations. Each rung’s gain depends on the ones before it, and v1.5 bundles NoPE with an LR cooldown to zero.
- Harness-dependent agentic evals. The card notes Terminal-Bench 2.1 scores were “universally lower” (except Muse Spark Open) under the official Terminus 2 harness at 128K with summarization. Many competitor cells are Ripple’s in-house runs, and there are no seeds or confidence intervals.
- The cost figure is an estimate. The $32M covers the full R&D. The “one-tenth the cost” comparison relies on a reported compute commitment for another lab, which the blog calls an estimate “to the best of our knowledge”.
- Preview, lightly post-trained. The card says post-training was light and focused on agentic coding, so non-coding behavior may lag.
Connections
Section titled “Connections”- OLMo 2 / Olmo 3: Ripple’s starting ladder, block design (post-norm, 3:1 SWA with a 4,096 window). Read the two side by side to see each rung as a diff.
- Gemma 3: the source of the local/global pattern, the 1,024 window and pre+post norm. Ripple uses 4:1 with NoPE on global layers instead of Gemma’s 5:1 with RoPE everywhere.
- MAI-Thinking-1: the closest methodological sibling. It also uses ladders with efficiency gains, Gemma-style attention with global NoPE, and the linear length penalty Ripple borrows. MAI chose a 1T MoE where Ripple chose a dense model.
- DeepSeek-V3 and MLA: the other way to cut KV cost. MLA compresses KV into a latent inside a large MoE; Ripple keeps GQA and makes most layers local.
- Nemotron-H: NVIDIA’s efficiency line. Ripple’s card uses Nemotron 3 Ultra as a warning that strong base-model evals from task-seeded synthetic data may not carry over to agentic tasks.
- YaRN: Olmo 3 rescales RoPE on full-attention layers for long context. Ripple avoids that by putting no RoPE on global layers, then trains at 2M directly.
- Chinchilla and overtraining laws: read the ≈185 tokens per parameter as a deliberate inference-cost trade.
- Muon: Ripple does not name its optimizer. Switching optimizers would mean re-fitting the StepFun LR/batch laws, which would be one more rung on the ladder.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Ripple's model card lists tokens, steps, sequence length and batch size per stage: pretrain 12T, 877,500 steps, 8K, batch 1408 → 3072; midtrain 200B, 8,000 steps, 64K, 384; SFT 183B, 7,274 steps, 128K, 192; long-context stages at 2M with batch 8, taking 389 steps for long-context training and 802 for LC SFT; RL 700 steps, batch 2048. Check the table for consistency, derive the effective average pretraining batch, give two schedules consistent with the rounded totals, explain why the actual schedule is unidentified, and recover the RL rollout count.
What a strong answer covers
- Midtrain: 65,536 × 384 ≈ 25.2M tokens per step; × 8,000 ≈ 201.3B, close to the rounded 200B. SFT: 131,072 × 192 ≈ 25.2M; × 7,274 ≈ 183B. The 2M stages: 2,097,152 × 8 ≈ 16.8M per step, so 389 steps ≈ 6.5B and 802 steps ≈ 13.5B.
- Pretrain: 12T / 877,500 ≈ 13.7M tokens per step ≈ 1,670 sequences of 8,192, much closer to batch 1,408 (11.5M tokens) than 3,072 (25.2M tokens).
- A linear ramp over the whole run would average 2,240 sequences and give about 16T tokens, so that is ruled out. A two-level schedule spending ≈15.7% of steps at batch 3,072 is one compatible construction; a late linear ramp occupying ≈31.4% is another. Neither is established by the totals, and both assume full-length packing and the stated endpoint batches.
- Late batch growth fits batch-size laws where the optimal batch grows with tokens seen (the StepFun law used in ladder v1.0); the card does not publish the actual schedule.
- RL: 700 steps × 2,048 = 1,433,600 ≈ 1.4M rollouts, the figure the blog says is ≈70× fewer than Reflection Beam (so on the order of 100M for Beam).
- Derive / compute
The released config has d_model 5,120, 80 layers (16 global), 80 query heads and 8 KV heads of dim 128, an elementwise attention gate of width 10,240, a SwiGLU FFN of width 40,960 and an untied 100,352-token vocabulary. Recover the ≈65B parameter count, the 6ND pretraining compute for 12T tokens, the accelerator-hours at 40% MFU on a hypothetical 1 PFLOP/s BF16 chip, and the BF16 KV cache per token. Where does a thin-and-deep 65B model keep its parameters?
What a strong answer covers
- Per layer: Q, gate and O projections 3 × 5,120 × 10,240 ≈ 157M; K and V 2 × 5,120 × 1,024 ≈ 10.5M; FFN 3 × 5,120 × 40,960 ≈ 629M; total ≈ 797M. × 80 ≈ 63.8B, plus 2 × 100,352 × 5,120 ≈ 1.0B of embeddings ≈ 64.8B.
- The FFN holds ≈79% of each layer. A textbook 12·d² layer would be ≈315M, so width lives inside the blocks (8× FFN, heads totalling 2 × d_model), not in the residual stream.
- 6 × 65e9 × 12e12 ≈ 4.7e24 FLOPs, ≈185 tokens per parameter, about 9× past the Chinchilla ratio of ≈20.
- At 0.4 × 1e15 FLOP/s: 4.7e24 / 4e14 ≈ 1.2e10 s ≈ 3.3M accelerator-hours for the hero pretraining alone, before ladders, data work, evals and post-training that the $32M also covers.
- Assuming a rolling sliding-window cache in the serving implementation, KV: only global layers keep every token, 16 × 2 × 8 × 128 × 2 bytes = 64 KiB per token, ≈64 GiB at 1M tokens. The 64 sliding layers cap at 1,024 tokens (≈256 MiB per sequence). All-global would be ≈320 GiB at 1M.
- Mechanism
Ripple goes thin and deep (80 layers at d_model 5,120) and adds pre+post norm, sigmoid-gated attention and value residuals. Explain, in terms of what deep layers can attend to and how activations and gradients propagate, why these changes matter more as depth grows, and why pre+post norm could be neutral at small scale yet help from 4B.
What a strong answer covers
- Value residuals: in the released code each layer's V projection reads a learned blend of the token embedding and the normed layer input (weight σ(λ), λ initialised to 0, so 50/50). Deep layers can still mix token-level content that ordinary hidden-state residuals dilute.
- Gated attention: an elementwise sigmoid gate computed from the layer input multiplies the attention output before W_O. It adds a nonlinearity to the low-rank V·O path and lets a head output near zero instead of parking mass on a sink token. The cited paper reports fewer sinks, more stability and tolerance of larger LRs.
- Pre+post norm normalises both the sublayer input and its output before the residual add. Post-normalization controls the scale of each of the 160 residual updates; it does not bound the accumulated residual stream or guarantee absence of drift.
- These are stability and signal-propagation fixes. Their benefit can depend on scale, optimization and interactions with other changes; the reported small-versus-4B result does not isolate depth as its cause.
- Evidence to collect: per-layer residual-stream norms, attention mass on the first token, loss-spike counts at the target LR, with and without each change.
- What if…
Read Ripple's ladder as an ablation log: v1.0 StepFun LR/batch laws, v1.1 smooth width/depth scaling, v1.2 pre+post norm (neutral small, helps from 4B, kept), v1.3 sigmoid gated attention, v1.4 2-stream mHC (good small, no gain at 4B, rejected), v1.5 global NoPE plus LR cooldown to zero, v1.6 value residuals, then a code-upsampled dataset. What decision rule does this imply, and what can sequential stacking not tell you?
What a strong answer covers
- Rule: the largest affordable rung (4B) decides and small-scale wins are only hypotheses. mHC was dropped despite small-scale gains; pre+post norm was kept despite neutral small-scale results.
- This works only if 4B predicts 65B. A strong answer asks for the trend across several rungs, not one size, since the blog itself argues from ladder slopes.
- Stacking gives each change's marginal effect given all earlier ones, not its independent effect. Order matters: mHC and value residuals both alter the residual pathway, so mHC might score differently with or without later changes.
- v1.5 bundles two changes (global NoPE and LR cooldown to zero), so its gain cannot be attributed, and the cooldown changes how final loss is measured for all later rungs.
- Fix: leave-one-out ablations from the final recipe at 2–3 sizes, reporting compute multipliers on both code loss and general loss.
- Critique
The model card claims 16× code compute efficiency over the Olmo 3 ladder at 4B, growing to "up to 55×" for the hero run, and reports 80.5 on Terminal-Bench 2.1 in both the self-reported and Terminus 2 rows while Reflection Beam falls from 80.1 to 70.8. Identify the weakest links in these two claims and the experiments that would test them.
What a strong answer covers
- The 16× is measured on code loss (dolma_stack) and the final rung upsamples code in the data, so part of the gain is a change in training distribution, not architecture efficiency. General and held-out-domain loss are needed.
- 55× extrapolates a slope difference between two fitted ladders to ≈4.7e24 FLOPs; small slope errors compound over orders of magnitude. Test by training one intermediate size of both recipes.
- Equal loss at less compute does not imply equal downstream skill. The card itself shows Nemotron 3 Ultra leading base-model evals but not agentic ones.
- Agentic scores depend on harness, context limit and summarization; the card says Terminus 2 at 128K lowered nearly every model, and many competitor cells are in-house runs. Same-harness, multi-seed runs with variance are fairer.
- Ripple's RL used tuned long-horizon synthetic environments, so overlap with Terminal-Bench-style tasks should be checked before reading 80.5 as general agentic ability.
- Design
You lead a five-person team with about $30M and need a domain model (say, hardware-design code) that also runs on one DGX-Spark-class box with 128 GB of memory and low bandwidth. Using Ripple's choices as a starting point, design the ladder, the architecture and the serving plan, and say what you would not copy.
What a strong answer covers
- Dense over MoE for simple infrastructure (Ripple kept 40% MFU without custom kernels). Trade-off: an MoE reads fewer bytes per token at decode, but every weight must fit in memory, which rules out 500B-class MoEs locally.
- Memory: 65B at NVFP4 (assume ≈4.5 bits per weight with block scales) ≈ 36 GB. Assuming a rolling sliding-window cache in the serving implementation, with 4:1 SWA, window 1,024 and 8 KV heads, BF16 KV is ≈64 KiB per token, so 128K context ≈ 8 GiB.
- Ladder: start from an open ladder with LR/batch laws, change one thing per rung, decide at the largest affordable rung, and report compute multipliers on domain and general loss separately.
- Keep pretraining data mostly natural and put synthetic data into midtraining, as Ripple did, so the synthetic recipe can iterate without blocking pretraining.
- Do not copy blindly: the 55× extrapolation, a code-only efficiency metric, or self-run agentic evals. Build a fixed-harness domain eval with variance first.