Thinking Machines’ Inkling 2 Mini Lands on Vercel AI Gateway with 1M-Token Context
Summary:Thinking Machines Lab’s Inkling 2 Mini is now available through Vercel AI Gateway. The multimodal reasoning model has 26.4B total parameters and activates 3.4B per token. It accepts text and images, returns text, supports a 1M-token context window, and exposes reasoning effort from `none` through `max`. Its defining mechanism repeats the middle layers for each token, allowing deeper internal reasoning before an answer is emitted and potentially reducing the number of visible reasoning tokens. V
Thinking Machines Lab’s Inkling 2 Mini is now callable through Vercel AI Gateway. Thinking Machines Lab develops the model; Vercel provides the distribution, routing, metering, and failover layer in this announcement.
Core Release and Positioning
Inkling 2 Mini is a multimodal reasoning model for agentic coding, tool use, and knowledge work. It accepts text and images and produces text. The model has 26.4B total parameters, activates 3.4B per token, supports a context window of up to one million tokens, and exposes reasoning effort from none through max. Its model identifier on AI Gateway is thinkingmachines/inkling2mini.
The gateway integration exposes Vercel’s unified API, usage and cost tracking, retries, failover, performance controls, custom reporting, Zero Data Retention support, API-key budgets, and routing rules. Vercel says it adds no inference markup or platform fee, including for BYOK requests, although upstream provider charges still apply.
Mechanism: Recurrent Middle Layers and Sparse Activation
A conventional autoregressive Transformer generally passes each token’s hidden state through the network once. Inkling 2 Mini instead executes its middle layers more than once before emitting a token, reusing the same weights for multiple rounds of hidden-state refinement. Its 26.4B-total and 3.4B-active profile follows a sparse MoE route: only the experts selected for a token participate in computation, but the full expert-weight set still has to reside in service memory or be fetched from storage.
The approach offers two potential benefits. Repeating middle layers increases effective computation depth without requiring a separate copy of the weights for every pass. Thinking Machines also says the model can often reach an answer with fewer visible reasoning tokens; if that holds, lower output-token volume may offset part of the cost of the additional internal passes. It does not necessarily mean lower wall-clock latency. Recurrent forward passes add kernel launches, memory traffic, and state transfers, so end-to-end latency still depends on the repetition count, batching strategy, and cache implementation.
The one-million-token window moves the main constraint from raw model capability to KV-cache management. Under standard MHA, KV memory can be approximated as 2 × L_kv × H_kv × d_head × S × b × bytes_per_element, where S is sequence length and b is batch size. GQA can reduce the H_kv term substantially. If each recurrent pass maintains an independent KV state, the affected cache footprint grows further with the number of passes. The announcement does not disclose the repetition count, routing granularity, KV precision, cache layout, or context-extension mechanism, so the window size alone does not establish single-GPU capacity.
Engineering Trade-offs and Measured Performance
The 3.4B active-parameter figure describes per-token computation, not the amount of weight data a service must store. At raw precision, 26.4B weights require roughly 52.8GB in BF16, 26.4GB in FP8, or 13.2GB in 4-bit form, before quantization scales, routing tables, runtime buffers, and KV cache. Repeated middle-layer execution further raises memory-bandwidth pressure and tail-latency risk.
The capability claims are not yet independently reproducible. Vercel says the model is strongest on long-running agentic tasks, but the announcement provides no benchmark names, pass rates, task sets, tool harnesses, judges, sampling settings, run counts, confidence intervals, or controlled comparisons with similarly sized models. It also omits TTFT, TPOT, concurrent throughput, peak memory, first-token cost, and full task cost. Fewer emitted reasoning tokens therefore cannot be translated directly into lower latency or lower billing without measurements.
Gateway retries, failover, and routing can reduce the effect of provider-side failures on production agents, but they do not remove the model’s compute cost and do not guarantee that a fallback model will match Inkling 2 Mini’s tool-use or reasoning behavior.
Deployment Guidance for Developers
-
Integrate through the gateway first: Upgrade to the latest Vercel CLI, complete the current
setupflow, and selectthinkingmachines/inkling2miniin Claude Code, Codex, Cursor, or another supported agent. Pin the model identifier and reasoning setting in automation so an environment change does not silently alter behavior. -
Use a four-dimensional evaluation matrix: Test short code fixes, long-running repository tasks, multi-turn tool calls, and mixed image-text inputs. Across the available reasoning settings, record task success rate, TTFT, TPOT, visible and internal compute tokens, total wall-clock time, and actual cost. A single demo is not a reliable selection method.
-
Stress-test context length separately: Move through 32K, 128K, and 1M-token inputs while recording time to first token, incremental latency after cache hits, peak memory, and failure rates. Prefer retrieval and prompt compression for long jobs rather than filling the window by default.
-
Configure routing and cost controls: Keep the model fixed for high-value coding tasks and configure evaluated fallbacks for low-risk or latency-sensitive jobs. Use API-key budgets, usage reports, and failover policies to constrain retry storms. BYOK can remove platform-level inference fees, but key rotation, regional availability, and provider invoices still require separate management.
-
Verify data-retention scope: Before enabling Zero Data Retention for sensitive code or documents, confirm that the selected upstream provider, request path, logs, and backups all meet the intended policy. A gateway-level status indicator alone does not establish end-to-end zero retention.
Best-Fit Boundaries
Inkling 2 Mini fits long-running coding agents, tool orchestration, and knowledge work better than image generation, audio understanding, or image-output workloads. The one-million-token window is a capacity ceiling, not a performance guarantee. The none setting is appropriate for a lower-cost fast path, while higher reasoning settings should be selected using task success and total wall-clock time rather than token count alone.
— END —Source: Vercel Blog (2026-11-24)
Tags: #Thinking Machines Lab #Inkling 2 Mini #Vercel AI Gateway #Mixture of Experts #Agentic Coding
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments