Inkling 2 Mini Lands on AI Gateway: How a Small Model Masters Agentic Coding

Thinking Machines launches Inkling 2 Mini, a 26.4B-parameter small multimodal reasoning model built around repeated intermediate layers for reasoning efficiency.
Thinking Machines' Inkling 2 Mini is now available via AI Gateway: a small multimodal model for agentic coding, tool calling, and knowledge work, supporting text and image input. With 26.4B total parameters and 3.4B activated per token, its standout feature is running intermediate layers multiple times per token, letting the model deliberate internally before output and converge with fewer reasoning tokens. It offers a 1M-token context window and reasoning effort adjustable from none to max. Integration is simple—specify thinkingmachines/inkling-2-mini in the AI SDK for streaming calls, or use it in Claude Code, Codex, and Cursor. AI Gateway provides a unified API, usage tracking, retries, and failover with no markup and no inference platform fee.
Introduction: A New Approach to Small-Parameter Models
Thinking Machines' Inkling 2 Mini is now officially available on AI Gateway. This small multimodal reasoning model is purpose-built for agentic coding, tool calling, and knowledge work, supporting text and image input with text output. Its core selling point isn't parameter scale but rather an architecture built around "thinking repeatedly"—letting the model loop through extra internal passes before writing an answer, so it reaches the finish line using fewer reasoning tokens. According to AI Gateway's official release, the model has 26.4 billion total parameters with 3.4 billion activated per token, with a clear positioning: long-running agentic tasks.

Architecture Breakdown: The Reasoning Payoff of Repeated Intermediate Layers
The Design Philosophy of Writing Less, Thinking More
What makes Inkling 2 Mini most distinctive is that it runs each token through its intermediate layers multiple times. This is equivalent to letting the model conduct several rounds of internal "deliberation" before generating final output, often arriving at conclusions with fewer reasoning tokens. For agentic scenarios, this means the model can converge faster on multi-step tool calling and code generation tasks, reducing wasted token consumption.
This design contrasts with the current mainstream approach of "stacking parameters and stretching context." The configuration of 26.4 billion total parameters and 3.4 billion activated shows it isn't chasing all-around capability but rather spending compute on reasoning depth. Officially, it's positioned alongside the same-series Inkling 2 Small, with both emphasizing advantages on long-running agentic tasks.
Mixture of Experts (MoE) and Activated Parameters: The description of "26.4 billion total parameters, 3.4 billion activated per token" refers to a typical sparse Mixture of Experts architecture. Such models consist of many parallel feed-forward subnetworks (experts) plus a routing network; each token is routed to only a few experts for computation, so the number of parameters actually involved in a single forward pass (activated parameters) is far smaller than the total. The benefit: VRAM capacity must cover all parameters, but floating-point operations per token are counted by activated parameters, yielding lower inference cost and higher throughput. Understanding this is key to grasping Inkling 2 Mini's positioning: 26.4 billion is the "warehouse size," while 3.4 billion is the "number of workers actually deployed each time"—the latter directly determines latency and compute overhead.
Million-Token Context and Adjustable Reasoning Effort
The model offers a 1-million-token context window, with reasoning effort adjustable from none all the way to max. This gives developers substantial room to tune: simple tasks can use low reasoning effort for speed, while complex coding or knowledge work can max it out. For agents that need to run for extended periods, long context plus adjustable reasoning levels is a critical combination for practicality.
Reasoning Effort Levels and Test-Time Compute: The so-called reasoning effort ranging from none to max is a productized form of "test-time compute scaling." It's typically implemented by controlling how many internal thinking tokens the model generates before giving a final answer, whether to enable multiple rounds of self-checking, and so on. Higher levels mean the model explores more internal paths, improving accuracy but increasing output latency and token consumption; setting it to none brings it close to traditional direct continuation. This and the architecture trait of "running intermediate layers multiple times per token" are two complementary mechanisms: the former adjusts in-layer compute depth, the latter adjusts the overall thinking budget, and developers can combine them to balance cost and quality.
Getting Started: From AI SDK to Claude Code
Integration is straightforward. In the AI SDK, simply set the model name to thinkingmachines/inkling-2-mini to initiate a streaming call via streamText. The example code shows a typical coding task: writing a Python script that renames photos by their capture date.
import { streamText } from 'ai';
const result = streamText({
model: 'thinkingmachines/inkling-2-mini',
prompt: 'Write a Python script that renames photos by the date they were taken.',
});
for await (const text of result.textStream) {
process.stdout.write(text);
}
To use it in coding agents like Claude Code, Codex, or Cursor, install the latest Vercel CLI and run npx vercel ai-gateway setup, then select thinkingmachines/inkling-2-mini in your agent. An official model playground is also available for direct testing.
The Added Value of AI Gateway: Unified API and Zero Markup
AI Gateway itself provides a unified API for calling models, tracking usage and costs, and configuring retries, failover, and performance optimization to support higher availability than any single provider. It also includes custom reporting, zero data retention support, API key budgets, routing rules, and more.
On pricing, AI Gateway reflects provider pricing without markup and charges no platform fee for inference, including bring-your-own-key (BYOK) requests. For teams that need to switch between multiple models, this zero-markup aggregation layer reduces management overhead while preserving the flexibility of on-demand routing.
BYOK and Zero Data Retention: BYOK (Bring Your Own Key) means developers use API keys they've obtained from the model provider, with requests forwarded through the gateway. In this case the gateway only handles routing and observability and doesn't bear inference costs, so waiving the platform fee is a sound business model. Zero Data Retention means the gateway and provider agree not to store prompts and generated content, satisfying enterprise compliance and privacy requirements. These two capabilities are often more critical than price for teams that need to put agents into production involving sensitive business—and they're a key differentiator of the aggregation layer versus connecting directly to providers.
Use Cases and Selection Advice
Inkling 2 Mini's positioning makes it best suited for: automated workflows requiring multi-step tool calling, code generation and refactoring, and knowledge work involving mixed text-and-image input. Its long context and adjustable reasoning effort give it room to shine in long-running agentic tasks. But if the task is lightweight Q&A or extremely latency-sensitive, a small model at low reasoning effort may not be more cost-effective than an even smaller specialized model.
Compared with the same-series Inkling 2 Small, Mini is more restrained in parameter and activation scale, suited to cost-sensitive teams that still need reasoning capability. Developers would do well to run a round of comparison with real tasks in the model playground before deciding whether to integrate it into production workflows.
Conclusion: The Era of Division of Labor Among Small Models
Inkling 2 Mini's launch reflects a trend in the model market: not every agentic task needs the biggest and strongest model. By improving reasoning efficiency through repeated intermediate layers and adapting to different tasks with long context and adjustable reasoning effort, small models are finding their ecological niche. AI Gateway's zero-markup aggregation makes this multi-model division of labor easier to implement. For developers, what's worth watching is how these models actually perform on long-running tasks—not just the parameter numbers.
Related articles

A 19-Year-Old's Rental Horror Story: Ceiling Collapse, Bug Infestation, and the Lessons It Taught Me
At 19, my first off-campus rental brought bug infestations, no heat, a collapsed ceiling, and a ruined laptop with no renter's insurance. Here are the hard-won lessons for first-time student renters.

Veda Nurse's Cranial Nerve Exam: Why ASMR Role-Play Is Going Viral
Bilibili creator Veda's cranial nerve exam ASMR video goes viral, blending humor and sensory triggers through nurse role-play. This article analyzes its unique appeal and the audience psychology behind ASMR role-play.

LG Cinebeam AI Review: 120-Inch Giant Screen + 3000 Lumens, a New Choice for the Living Room Theater
LG Cinebeam AI projector review: 3000 ANSI lumens, 4K, 100 inches from about 8 cm and 120 inches from about 18 cm. Built-in webOS, AI Concierge voice recommendations, AI Sound Pro 11.1.2 virtual surround, and Game Optimizer—positioned for fixed living room installation, complementing the portable Cinebeam S.