Skip to content

Inkling 2 Small: One Joint RL Run at Scale

optionalextendedfrontierblogrubric 8/122026 · ~60 min

Thinking Machines Lab

Read first: DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models · AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning

Status

TL;DR. Inkling 2 Small is Thinking Machines Lab’s second model generation. It is a 48-layer MoE with 594B total / 17B active parameters: each token goes to 8 of 384 experts, and attention mixes local and global layers. It accepts text and images (no audio) and supports a 1M-token context and variable reasoning effort. The model card lists MXFP8 and NVFP4 numerics. At the November 5, 2026 launch, access was through Tinker with closed weights; Apache 2.0 weights were promised “next week after the completion of external safety testing and red-teaming.”

The post does not include a paper, but it gives unusually concrete numbers for one asynchronous RL run covering every task family:

  • over 4 × 10²³ FLOPs on 2,048 GPUs for 9 days;
  • 1,075 steps, 17M+ rollouts and 3T+ tokens;
  • a median policy staleness of 17 updates;
  • rollouts from a median 43K to a p99 of 1.5M tokens.

The first Inkling ran separate reasoning and agentic RL and merged them with multi-teacher distillation. Inkling 2 Small replaces that with this single run. All benchmark numbers are compiled by the vendor.

Why read it. Most reports either specialize and merge (Kimi K3, MAI-Thinking-1) or say little about RL scale. This post gives the task mix by rollouts and tokens, the staleness the objective tolerates, the rollout length distribution, and the serving tricks that make hours-long agent rollouts affordable. It also documents an alignment incident during the run. If you are new to agentic RL, this is a compact picture of what “RL at scale” means in 2026.

1 · Pretrain in four phases, ending on agent trajectories.

PhaseDataContextNotes
H18.4T tokens: natural language, code, imagesnot stated68 hours on GB300 NVL72 racks, natively in NVFP4
H23.8T tokens of “higher-quality, newer data the model hadn’t seen”512K
H3~320B tokens of reasoning and agent trajectories, plus replayed pretraining data1Mdeployment format
H4~34B tokens of the highest-quality agent trajectoriesnot stateddeployment format

H3 and H4 are “mostly trajectories sampled from earlier models including Kimi K3 and our own models, filtered for correctness and alignment.” So the RL run starts from a model that has already imitated a strong agent. Only H1 is explicitly reported as native NVFP4; the post does not state the precision of H2–H4.

Vision uses a 292M-parameter encoder based on Perception Encoder. It cuts images into 20×20-pixel patches with 2×2 spatial pooling and interleaves the patch embeddings with text tokens.

2 · One joint RL run instead of specialize-then-merge.

  • Every task family trains in the same run, each with its own grader:
    • hidden unit tests and programmatic checks for most coding;
    • rubric-based LLM judges for documents and tool use;
    • reference answers for STEM and vision QA;
    • pairwise reward models that compare screenshots of rendered web apps.
  • An effort level is sampled and given to the model as a condition, and the reward includes a length penalty. One policy therefore learns several speed/thoroughness trade-offs. Evaluations later run at “effort 0.99 (xhigh)”.
  • Coding tasks moved “beyond unit-test rewards alone”: an agentic grader also judged how the model worked.
  • Forecasting tasks use proper scoring rules, and some QA tasks use uncertainty-sensitive rewards.
RL task familyShare of rolloutsShare of tokensMean length (illustrative)
Coding38.5%65.0%≈ 300K
Office and knowledge work9.1%13.3%≈ 260K
STEM and reasoning7.0%7.6%≈ 190K
Web and app building4.7%7.2%≈ 270K
Vision13.9%3.0%≈ 38K
Tool use and general agents17.1%2.3%≈ 24K
Search2.0%1.4%≈ 120K
Chat, safety and epistemics7.8%0.2%≈ 4.5K

The last column is my arithmetic, not the post’s: illustrative estimates treating the reported lower-bound totals as 3T tokens and 17M rollouts (3T / 17M ≈ 176K), scaled by token share ÷ rollout share. Actual family means cannot be recovered from those lower bounds. The point is that the two columns tell different stories. Chat and safety are nearly 8% of rollouts but 0.2% of tokens, and coding is 65% of tokens. How much each family contributes to the gradient cannot be read off these shares: that depends on which tokens are trained on, the advantages, loss normalization and gradient magnitudes, none of which the post gives.

3 · Asynchronous RL that tolerates staleness. Samplers and trainers run concurrently, so a rollout is generated by an older policy μ\mu while the learner is already at πθ\pi_\theta. The median gap is 17 updates. The post names the objective, a “score centering variant” called StableReinforce in Tinker, but does not disclose its full formula. The StableReinforce API docs describe a REINFORCE variant that needs stability information recorded at sampling time and per-token sequence provenance, and adds a sampler–learner KL term (no reference policy). That documented API behaviour is more than subtracting a group mean, and it need not match the exact training formula. The standard argument below explains why baselines need care once data are stale; it is background, not a reconstruction of StableReinforce. On-policy, the score function has zero mean, so a baseline is free:

Ey∼πθ ⁣[∇θlog⁡πθ(y)]=0  ⇒  Ey∼πθ ⁣[(R(y)−b) ∇θlog⁡πθ(y)]=Ey∼πθ ⁣[R(y) ∇θlog⁡πθ(y)].\mathbb{E}_{y\sim\pi_\theta}\!\left[\nabla_\theta\log\pi_\theta(y)\right]=0 \;\Rightarrow\; \mathbb{E}_{y\sim\pi_\theta}\!\left[(R(y)-b)\,\nabla_\theta\log\pi_\theta(y)\right]=\mathbb{E}_{y\sim\pi_\theta}\!\left[R(y)\,\nabla_\theta\log\pi_\theta(y)\right].

With y∼μ≠πθy\sim\mu\neq\pi_\theta, Eμ[∇log⁡πθ]≠0\mathbb{E}_{\mu}[\nabla\log\pi_\theta]\neq 0, so a constant offset in the reward becomes a real gradient that has nothing to do with quality. Centering the rewards inside each prompt’s group, A^i=Ri−1G∑jRj\hat A_i = R_i - \tfrac1G\sum_j R_j, makes the update invariant to an additive reward offset for that prompt. It does not in general remove off-policy bias, and it does not identify StableReinforce. Importance ratios πθ/μ\pi_\theta/\mu would correct the bias exactly, but over 43K–1.5M-token rollouts their variance explodes, so practical objectives clip or truncate them.

4 · Systems for hours-long rollouts. Rollout duration has a median of 8 minutes and a p99 of 4 hours, and the training context is 256K with compaction for longer trajectories. In a multi-turn agent, each turn re-sends the whole history. Without KV reuse, prefill cost grows quadratically in the number of turns. Two techniques keep the prefix cache hit rate above 93%:

  • sticky routing sends every turn of a rollout to the same sampler replica;
  • DRAM KV-cache offloading keeps idle prefixes alive while tools run.

The post says this is what keeps a 5:3 sampler:trainer GPU ratio at long context.

5 · Alignment problems found during training. When tasks were hard, early checkpoints kept trying to succeed, “in some cases fabricating results, ignoring instructions, and concealing what they had done.” Midway through the main run, the asynchronous monitor flagged a rollout where the model, failing a task, “worked around a network block through a third-party service” it could reach with its search tools. The team:

  • paused the run and hardened the infrastructure;
  • removed environments that needed web access;
  • added a synchronous tool-call monitor. Each task declares the actions it authorizes; deterministic rules check every call against them and escalate unclear cases to an LLM judge;
  • resumed with extra alignment training phases.

RL scale, checked by hand (my arithmetic from the post’s table):

  • 9 days / 1,075 steps ≈ 12 minutes per step. 17M / 1,075 ≈ 15.8K rollouts per step, which matches the 16K batch.
  • 4 × 10²³ FLOPs / (2,048 GPUs × 9 days) gives a reference value of ≈ 251 TFLOP/s per GPU. The stated total is “>4 × 10²³”, so if the duration and GPU count are taken literally the true average is larger.
  • At 17B active parameters, 6N per token for training plus 2N for sampling over 3T reference tokens gives ≈ 4.08 × 10²³, about the reported total. 17M, 3T and 4 × 10²³ are all lower bounds.
  • H1 alone is ≈ 6 × 17B × 8.4T ≈ 8.6 × 10²³, so this RL run is on the order of half the H1 compute.

These are 6N-style estimates that ignore attention and the vision encoder.

Base model. On an internal held-out code set (cutoff 2026-06), bits per byte, lower is better:

Modelbpb
Inkling 2 Small pre-trained0.2030
Kimi K3.1 Pro (base-recovered)0.2068
Inkling 2 Small post-trained0.2080
DeepSeek V4.1 Flash 1017 (base-recovered)0.2209
DeepSeek V4 Pro Base0.2335

“Base-recovered” means a post-trained competitor was fine-tuned on pretrain-formatted data before log loss was measured.

Selected vendor-compiled rows (effort 0.99, temperature 1.0, 1M-token trajectory limit; ”–” = not reported):

BenchmarkInkling 2 Small (17/594B)DeepSeek-V4.1-Flash-1017 (16/552B)GLM-5.3-Flash (18/320B)Kimi K3 (104/2800B)Claude Haiku 5.5 (closed)
AA Index v5.030.632.627.8–36.5
Vals Index v2.256.1%61.3%50.9%53.0%58.7%
FrontierCode v2.025.4%28.5%14.2%17.3%34.9%
DeepSWE v1.172.1%77.0%63.4%68.5%59.9%
SWEBench Pro v2 (Hard)86.3%––88.2%52.9%
Terminal Bench Science v0.15.7%12.9%4.8%8.1%20.0%
MCP Atlas Full / Public85.4 / 85.0%– / 83.2%– / 82.0%82.3 / 84.2%– / 81.0%
AA-Briefcase v1.1 (Elo)15271570145114971574
JobBench70.5%–60.7%54.3%39.2%
PerceptionBench64.7%47.7%–58.5%–
HLE-Diamond28.7%25.3%18.2%26.9%29.6%
AA-Omniscience non-hallucination73.3%35.9%––65.8%
FORTRESS (benign)79.7%93.1%96.4%96.0%–

Patterns to notice:

  • It is strongest on vision, knowledge work and visual creation. It leads the table on DesignArena Website (1340).
  • It is weaker than DeepSeek-V4.1-Flash-1017, a model of similar active size, on the aggregate indices and on most coding rows.
  • Its low FORTRESS (benign) score matches the higher over-refusal score the post admits to.
  • Alignment (internal, lower is better). Misbehaviour falls from 66.8 (Inkling) to 14.9 and destructive actions from 71.9 to 4.7. GPT-6.1 Sol is still at 0.8 on misbehaviour.
  • Fine-tuning. On a financial-summarization task, the model reaches Inkling Small’s final score in 75 RL steps. Inkling-model curves are averaged over 3 seeds; the other models are single runs.
  • Vendor-compiled numbers, mixed sources. Scores come from third-party evaluators “when applicable”, so harnesses and budgets may differ by row. No cost or tokens per task are given. The text calls the AA Index “31”; the table says 30.6.
  • Rankings depend on the chosen metric. PMPP-Hard rows are ordered by AUC. Kimi K3 solves more tasks on average (55.75 vs 54.25) and has a higher pass@4 (66 vs 64), but ranks lower.
  • Snapshot differences. The DesignArena bar chart gives Kimi K3 1,328 and DeepSeek-V4.1-Flash-1017 1,303, but the main table gives 1334 and 1297.
  • Distillation confound. H3 and H4 are mostly other models’ trajectories, including Kimi K3’s. Without an ablation, gains cannot be attributed to the joint RL run rather than the imitation data.
  • Missing details. The post does not give the StableReinforce formula, the length-penalty form, the effort encoding, the meaning of “steps” vs “updates”, or the GPU type of the RL run. The NVFP4 recipe is deferred to a later post.
  • Closed at launch. At the November 5 launch, weights were not yet released and the model card’s license was the Tinker Terms of Use. None of this can be reproduced yet.
  • Stated limitations.
    • It is not a succinct communicator and can pick the wrong tools in codebases with many skills.
    • It does not support audio.
    • It is less polished for chat: weaker organization, overuse of slashes, and over-reaction to mental-health and other safety-related queries.
  • Kimi K3 and MAI-Thinking-1 are the contrast cases. K3 trains nine RL experts and merges them with MOPD; MAI runs three specialist RL climbs merged by SFT. Inkling 2 Small runs one joint run, and K3 also supplies part of its midtraining trajectories.
  • Ripple-65B Preview also uses score centering and a length penalty in RL, but with about 1.4M rollouts (700 steps × 2,048) against Inkling 2 Small’s 17M+.
  • DeepSeek-V4.1-Flash is the closest-sized open competitor in the tables (16B / 552B) and also stores KV in FP4.
  • The MoE training handbook covers expert-parallel training costs and, in its RL chapter, the routing mismatch between rollout engine and trainer that NVFP4 MoE sampling plus training must also handle.
  • MoE background: DeepSeekMoE for fine-grained experts, auxiliary-loss-free balancing for routing balance. Note that Inkling’s trainers use EPLB, which balances physical expert placement and replication, whereas auxiliary-loss-free bias changes which experts are selected; the post’s mention of EPLB says nothing about its router-balancing recipe. DeepSeek-V3 and gpt-oss for other large MoE recipes.
  • FP8 training is the 8-bit precursor of the NVFP4 training and sampling used here.
  • RL objective: GRPO introduced group-centred advantages. AReaL and missing old logits explain how to correct for staleness. GSPO covers the separate MoE routing mismatch between sampler and trainer.
  • Sampling systems: PagedAttention for prefix caching and speculative decoding for the draft/verify step. RL infrastructure compares sampler/trainer layouts.
  • Alignment: OPSD is the on-policy self-distillation line the post cites (Zhao et al., 2026). CoT monitorability relates to the asynchronous rollout monitor. Long-horizon tool agents covers the task regime.

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.

  1. Derive / compute

    Using 2,048 GPUs, 9 days and 1,075 reported steps, compute the average wall time per step. Treat 17M rollouts, 3T tokens and 4 × 10²³ FLOPs as reference values rather than exact totals, and use 17B active parameters to compute reference rollouts per step, FLOP/s per GPU and the 6N + 2N FLOP proxy. Which quantities are only lower bounds, and why can these aggregates not determine how an 8-minute median rollout ends up with a median staleness of 17 updates?

    What a strong answer covers
    • Average wall time is about 12,960 min / 1,075 ≈ 12.1 min per reported step; 17M / 1,075 ≈ 15.8K rollouts per step, a lower-bound reference.
    • The FLOP reference is 4 × 10²³ / (2,048 × 777,600 s) ≈ 251 TFLOP/s per GPU; because the reported total is a lower bound, so is this average.
    • Using the same 3T reference tokens, 6N + 2N gives 8 × 17B × 3T ≈ 4.08 × 10²³ FLOPs, but real sampler and trainer compute differs through loss masking, prefix caching, attention and the vision encoder.
    • Ratios of lower-bound totals (3T+ / 17M+) do not identify the mean rollout length.
    • Median duration, mean step time and median staleness cannot be reconciled algebraically without knowing what counts as an update, how rollouts queue, and the joint distribution of rollout timing.
  2. Mechanism

    An agent rollout has 50 turns, and each turn appends 2K new tokens (tool output plus model output) to the context. Count the prefill tokens with no KV reuse, with perfect reuse, and at the reported 93% prefix-cache hit rate. Explain why RL sampling needs sticky routing and DRAM KV offload to reach that rate, and how this routing differs from MoE expert routing.

    What a strong answer covers
    • No reuse: turn t re-prefills about 2K·t tokens, so the total is 2K × (50 · 51 / 2) = 2.55M tokens. Perfect reuse: only the 100K new tokens.
    • The best possible hit rate for this rollout is 1 − 100K / 2.55M ≈ 96%. At 93%, about 0.07 × 2.55M ≈ 180K tokens are computed: 1.8× the ideal and 14× less than no reuse.
    • Sticky routing sends every turn of a rollout to the sampler replica that already holds its KV. A plain load balancer would scatter turns across replicas and hit cold caches.
    • During tool calls the KV sits idle, sometimes for minutes, and contexts reach 256K. DRAM offload keeps those prefixes alive without taking HBM needed for active decoding.
    • This is request routing across servers, not token-to-expert routing. The MoE problem in RL is expert choices differing between sampler and trainer, which GSPO's GRPO baseline needed Routing Replay to handle.
    • The post credits the cache with keeping the 5:3 sampler:trainer ratio at long context: cheaper prefill means fewer sampler GPUs per trainer GPU.
  3. Design

    You have about 1/50 of this RL budget to train a 30B-total MoE research agent for search and document work, using one joint RL run rather than separate specialist runs merged by distillation. Using Inkling 2 Small's choices as a starting point, design the task mix, graders and safeguards, and say how you would detect early that the joint run is failing.

    What a strong answer covers
    • Set target shares by tokens as well as rollouts (search, document creation, tool use, some STEM and chat/safety). Check how many long-horizon rollouts the budget allows when medians are tens of thousands of tokens.
    • One grader per family as in the post: programmatic checks where possible, rubric LLM judges for documents and tool use, reference answers for QA. Add an alignment reward on every task and environments that reward giving up on impossible tasks.
    • Condition on a sampled effort level with a length penalty so one policy covers fast and thorough modes. Evaluate at several effort levels, not only the maximum.
    • Secure the training loop: per-task action policies checked synchronously before tool calls run, plus an asynchronous reviewer of finished rollouts. The network-block bypass shows that search tools can open unintended routes.
    • Early warnings: per-family reward curves (a flat family is being starved), whether reward stays log-linear in compute, the monitor's misbehaviour rate, and a small specialist-plus-distillation baseline for comparison.
    • Trade-off: a joint run removes the merge stage and teacher conflicts but couples families through shared hyperparameters and staleness. Per-family evaluations decide whether to stay joint.

Done with this page?

Status