Inkling 2 Mini Explained: Looped Inference and Memory Costs
Understand Inkling 2 Mini’s 24 stored layers and 48 applications, active versus total parameters, local-memory limits and how to benchmark complete answers.
BY RUIQI ZHOU · AIINFRAINTERVIEWS EDITORIAL · UPDATED NOVEMBER 24, 2026 · 4 MIN READ
PRACTICE THIS:Study recurrent depth (Premium) ·Practice looped-model serving (Premium) ·Learn to size model memory
Inkling 2 Mini is a useful case study in separating model storage from inference work. Thinking Machines released it on November 20, 2026. Its 24 stored Transformer layers produce 48 layer applications per token by revisiting the middle 12 layers three times. Reusing weights reduces the number of distinct layers to store; repeated execution still costs time.
For an infrastructure engineer, the question is whether the resulting system meets memory, latency and task-quality requirements on the intended hardware. This article explains that evaluation without turning a theoretical speed chart into a measured laptop benchmark. Sources were checked on November 24; no Inkling GPU or inference was run for this article.
Trace the execution before counting the parameters
The release explanation describes four blocks of six layers. The first and last blocks execute once, while the middle two are revisited three times. The simplified count is 6 + 3×12 + 6 = 48 layer applications, with 6 + 12 + 6 = 24 distinct stored layers.
Step 1 of 4: Prelude: 6 layers
- Prelude: 6 layers
Execute the initial block once to construct the representation used by later computation.
- Middle: 12 shared layers × 3 passes
Revisit the same learned parameters on changing hidden states. This contributes 36 layer applications.
- Coda: 6 layers
Execute the final block once before producing the output representation.
- Account for the whole request
Count 48 applications per token, then include prompt processing, generated tokens, cache state and runtime overhead.
The pinned configuration records core_start=6, core_end=18, num_passes=3 and is_varloop=false. The released checkpoint therefore specifies a fixed three-pass core. A separate variable-loop research model should not be confused with a supported “turn down the loops” knob for this checkpoint.
Looped Transformers and Recurrent Depth explains weight sharing and changing hidden states. The earlier training-cost article follows gradients and activation memory. Here the focus is inference: fitting the model, executing its repeated work and measuring complete answers.
Three parameter counts answer three questions
The official model card lists about 26.4 billion total parameters, 3.4 billion active parameters and 5.4 billion effective per-token parameter activations when repeated core visits are counted. These are different accounting quantities:
| Quantity | What it helps estimate | What it does not establish |
|---|---|---|
| Total stored parameters | Resident weight storage before format and placement details | Per-token active work |
| Active parameters | Which parameters a token uses in the sparse model | All repeated uses of those parameters |
| Loop-weighted activations | Repeated parameter applications during execution | Measured FLOPs, bandwidth or latency |
| Checkpoint bytes | A starting point for memory fit | Peak runtime memory at the advertised context limit |
For example, 26.4 billion parameters at a hypothetical uniform two bytes each would occupy 52.8 GB before metadata. Real mixed formats change that estimate. The published card describes a roughly 20 GB mixed-precision checkpoint and recommends systems with at least 32 GB memory in its deployment discussion. Those are source-reported specifications, not a measurement of free headroom after loading.
The remaining memory must hold cache state, buffers, vision-related work when used, and runtime allocations. Model Memory Footprint explains the wider budget. Leave enough headroom for the actual prompt and concurrency, then measure peak allocation on the selected engine.
A one-million-token limit does not establish memory fit
The configuration combines local and full-attention layers, eight KV heads and a 1,024-position local window. Its model_max_length is 1,048,576. That upper bound on supported sequence length does not promise that every supported device can serve that length at useful speed.
Repeated attention visits consume changing hidden states. Their K/V values therefore cannot be assumed identical just because the projection weights are shared. Verify how the backend indexes visit-specific cache state, what local positions it retains, and any additional representation it stores. Multiplying 24 layers by a generic cache formula can undercount a runtime with separate state for repeated visits. Multiplying 48 full-attention layers can overcount a local/full layout.
A practical source audit follows the cache update path from the loop index to the physical cache slot. Then a short controlled run records allocations as context grows. KV Cache Sizing supplies the accounting method; the eight-method comparison explains why paging, compression and local retention change different terms.
Treat theoretical speed as a bound
The release's comparison plot specifies a theoretical decoding ceiling at 614 GB/s, BF16 weights and batch size one, including repeated reads. Its caption also warns that evaluation setups vary. The plotted horizontal axis is not measured tokens per second on a particular Mac.
An independent dense toy example shows the distinction. Suppose a shared middle block contains 2 billion parameters and the once-used outer blocks contain 1 billion. In BF16:
stored weights = (1 + 2) × 10⁹ × 2 B = 6 GB
weight traffic per token, assuming each visit rereads weights
= (1 + 3×2) × 10⁹ × 2 B = 14 GB
at an assumed 700 GB/s: ceiling = 700/14 = 50 tokens/s
Counting only stored bytes would produce 700/6 ≈ 116.7 tokens/s, overstating this traffic-only bound by 2.33×. Cache hits can reduce repeated reads; attention state, arithmetic, launches and synchronization can add other limits. These hypothetical numbers explain the accounting error and are not Inkling performance estimates.
Measure time to a useful answer
An internally more expensive token can still produce a faster answer if the model needs fewer output tokens for the same successful task. Define that comparison before inspecting results.
Suppose candidate A has a one-second prompt phase and generates 400 tokens at 40 tokens/s. Candidate B has a two-second prompt phase and generates 150 tokens at 25 tokens/s. Their completion times are 11 and 8 seconds. B has slower token generation but finishes the stated output sooner. This example proves an arithmetic possibility, not that either model will use those lengths or achieve equal quality.
Use fixed tasks, a common success rubric, compatible tool permissions, explicit generation limits and recorded hidden/reasoning token accounting where available. Report success rate, completion time, peak memory and energy if measured. Include failures and retries in the denominator. For a streaming product, also retain time to first useful output and token-gap measurements.
Prefer Inkling when the chosen runtime fits the real workload and its successful-task performance earns the repeated compute. Choose another model when quality, latency or backend support falls short. The looped-model serving question turns that judgment into a worked interview exercise.
Turn it into offers. Work the real questions and concepts this maps to:
FAQ
It executes six initial layers once, revisits the middle twelve layers three times, and executes six final layers once: 6 + 36 + 6 = 48 applications. The middle weights are shared across visits.
No. The checkpoint is only part of the runtime budget. Cache state, temporary buffers, multimodal work and other allocations require memory too. Measure the selected engine at the intended prompt length and concurrency.
No. The cited release plot uses a theoretical bandwidth ceiling under declared BF16 and batch-one assumptions. It should not be presented as measured performance on an Apple Silicon device.
Not necessarily. A looped model can revisit shared weights several times. Count executed work and measure successful-task completion time, since output length and task quality also affect the result.
Discussion (3)
For interactive editing, the first usable patch can matter more than the final stop token. Keep that product milestone in the trace as well as total completion time.
A cache profile should identify local versus full layers and the repeated visit. A single total allocation number is difficult to reconcile with the architecture when those indices disappear.
Compare outputs under the same tool budget. Giving one model extra test executions can improve success while moving work out of the model timer.
