How to Run Inkling 2 Mini on Ollama: Local Setup Guide (2027)
Inkling 2 Mini is a 26B open-weights model that runs on a 32GB Mac. Install Ollama, pick a tag, ask it about images, call the API and launch Claude Code.

Inkling 2 Mini is an open-weights model from Thinking Machines Lab, released on November 20, 2026 under the Apache 2.0 license. It has 26.4 billion total parameters, reads text and images, supports a 1 million token context window, and fits in about 20 GB of memory. That puts it within reach of a MacBook with 32 GB of memory, with no internet connection needed once the model is downloaded.
What sets it apart is looping. Inkling 2 Mini has 24 layers, and the middle 12 run three times for every token. The model does more computing per token instead of writing more tokens, so it needs fewer words to reach an answer on agentic coding tasks. Ollama lists it as 26B parameters with 5.4B active per token, and the Ollama library page shows 179.3K downloads as of November 29, 2026.
You will check your hardware, update Ollama, run the model, ask it about an image, pick a tag, call the local API and launch Claude Code with it. The last section covers where the model is weak, using what Thinking Machines says about its own results. If you would rather watch than read, the video below walks through the same steps.
Prerequisites
- An Apple silicon Mac with 32 GB or more of unified memory, or an NVIDIA DGX Spark. These are the two setups Thinking Machines lists as supported, and the Ollama 0.40.17 release notes say Inkling 2 Mini runs on Apple silicon only in that release
- Ollama 0.40.17 or later. Ollama 0.40.19 adds further Metal speedups for this model
- About 20 GB of free disk space for the default tag (the four tags are 19 GB to 20 GB)
- Basic terminal familiarity for `ollama run` and `curl` commands
- (Optional) Claude Code, OpenCode, Hermes Agent or OpenClaw installed if you want to use the model through a coding agent
In This Guide
What Inkling 2 Mini Is and What Makes It Different
Inkling 2 Mini is a multimodal looped transformer from Thinking Machines Lab. It accepts text and images and produces text. The model card describes it as a general-purpose model for developers building coding assistants, agentic and tool-use systems, chatbots and retrieval-augmented generation pipelines, and Thinking Machines released the full weights for research, fine-tuning and integration into other products.
| Spec | Value |
|---|---|
| Developer | Thinking Machines Lab |
| Release date | November 20, 2026 |
| License | Apache 2.0 (open weights) |
| Architecture | 24-layer sparse Mixture-of-Experts transformer, middle 12 layers looped 3 times |
| Parameters | 26.4B total, 3.4B active, 5.4B effective per token with looping |
| Experts | 8 of 128 routed per token |
| Context window | 1,000,000 tokens |
| Input | Text and images (each image dimension between 40 px and 4,096 px) |
| Output | Text |
| Precision | Mostly NVFP4, with the last four layers in MXFP8 |
| Memory footprint | About 20 GB |
| Ollama capabilities | Vision, tools, thinking |
The 12 middle layers share the same weights and run three times, which gives 48 layer applications per token from only 24 layers of stored weights. Each extra pass adds about 1.0B effective active parameters, so the 3.4B active parameters of the base model become 5.4B effective parameters per token. Thinking Machines says this lets the model reason longer without writing its reasoning down.
Looping does not add knowledge. The announcement says facts depend mostly on total parameter count, so the model makes up for it by using search and tools. It leads open-weights models of similar size on BrowseComp, DeepSearchQA and MCP Atlas, according to Thinking Machines.
These scores come from Thinking Machines and the Ollama library page. They are the maker's own results, and test setups differ between models, so run your own tasks before you trust them.
| Benchmark | Reported score | What it measures |
|---|---|---|
| SWE-Bench Verified | 79.2% | Fixing real GitHub issues |
| DeepSWE v1.1 | 48.2% | Agentic software engineering |
| MCP Atlas | 82.7% | Tool use for agents |
| DeepSearchQA | 85.3% | Deep research |
| ScreenSpot Pro | 76.5% | Finding elements on a screen |
| OmniDocBench | 92.8% | Reading documents |
| Vals Index v2.2 | 46.5% | Third-party composite index |
Thinking Machines also reports that the model leads every open-weights model under 100B total parameters on DeepSWE v1.1 and Vals Index v2.2. In its own demo, a researcher ran the model offline in airplane mode on a MacBook Pro with an M5 Pro chip and 48 GB of memory, and it built a playable flight simulator in a few minutes.
Check Your Hardware and Pick a Tag
The download is about 19 GB to 20 GB, and the model needs room beyond that for the context cache, so memory is the main constraint. The model card lists Apple silicon devices with 32 GB or more of memory (MacBooks, Mac minis and Mac Studios) and a single NVIDIA DGX Spark. The model card adds that other GPUs and platforms are possible, with 32 GB of VRAM recommended.
The Ollama library lists four tags:
| Tag | Download size | Notes |
|---|---|---|
| inkling-2-mini:latest | 19-20 GB | Default. Same file as 26b-a5b |
| inkling-2-mini:26b-a5b | 19-20 GB | Explicit name for the default build |
| inkling-2-mini:26b-a5b-iq4_NL | 19 GB | Smallest tag, IQ4_NL quantization |
| inkling-2-mini:26b-a5b-nvfp4 | 20 GB | Labeled MLX on the library page |
All four support text and image input and the full 1 million token context window. If you are not sure which to pick, use the default. The `latest` tag and the `26b-a5b` tag point at the same file, so pulling both does not download two copies.
The model was trained natively in NVFP4 and ships in the same precision, so Ollama says the default build has no quantization loss. The `iq4_NL` tag is a different, smaller quantization, so test it on your own prompts before you assume it matches the default.
More how-to guides like this
Step-by-step AI guides and tool walkthroughs, straight to your inbox, twice a week.
Install Ollama and Run Inkling 2 Mini
Most of the setup time goes to the 19 GB to 20 GB download.
Step 1: Install or Update Ollama
# macOS and Linux, one-command installer (re-run it to update an existing install)
curl -fsSL https://ollama.com/install.sh | shOn macOS you can also download the app from ollama.com/download. Then confirm the version:
ollama --versionollama version is 0.40.19Step 2: Run the Model
# Downloads the default tag on first run (19-20 GB), then opens a chat
ollama run inkling-2-miniThe first run pulls the model and then drops you into an interactive prompt. Later runs start from the local copy. Ask for something concrete so you can judge the output:
>>> Write a small Python script that renames every .jpeg file in a folder to .jpg, and explain how it works.Type `/bye` to leave the chat.
Step 3: Confirm the Model Is on the GPU
ollama psThe PROCESSOR column should read 100% GPU. A CPU/GPU split means the model and its context cache do not fit in memory, and generation will be much slower. Close other large apps or lower the context length (covered below) if you see a split.
Step 4: Pull a Specific Tag (Optional)
# Smallest tag, 19 GB
ollama pull inkling-2-mini:26b-a5b-iq4_NL
# 20 GB tag labeled MLX
ollama pull inkling-2-mini:26b-a5b-nvfp4ollama run inkling-2-mini:26b-a5b-nvfp4Ask Inkling 2 Mini About an Image
Inkling 2 Mini reads images as well as text, and screen understanding and document reading are among its listed strengths. In the terminal, put the path to the image after the model name and write your question after it:
ollama run inkling-2-mini ./screenshot.png "What is on this screen? List the buttons."Three good first tests, matching the reported benchmarks:
- Find a button or field on a screenshot of an app
- Read a table from a photographed or exported document page
- Explain a chart and pull out the numbers on its axes
For best results, keep each image dimension between 40 px and 4,096 px, which is the range listed on the model card. Over the API, images go in an `images` array on the message, and the REST API expects base64-encoded image data:
IMG=$(base64 < screenshot.png | tr -d '\n')
curl http://localhost:11434/api/chat -d '{
"model": "inkling-2-mini",
"messages": [{
"role": "user",
"content": "What is on this screen?",
"images": ["'"$IMG"'"]
}],
"stream": false
}'The Ollama Python and JavaScript libraries accept a file path directly in the `images` list, so you can skip the base64 step there.
Call Inkling 2 Mini From Your Own Code
Ollama serves a local API on port 11434 whenever it is running, so any script on the same machine can call the model. Nothing leaves your computer.
cURL
curl http://localhost:11434/api/chat \
-d '{
"model": "inkling-2-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
pip install ollamafrom ollama import chat
response = chat(
model='inkling-2-mini',
messages=[{'role': 'user', 'content': 'Explain what a looped transformer is in two sentences.'}],
)
print(response.message.content)JavaScript
npm install ollamaimport ollama from 'ollama'
const response = await ollama.chat({
model: 'inkling-2-mini',
messages: [{ role: 'user', content: 'Explain what a looped transformer is in two sentences.' }],
})
console.log(response.message.content)Thinking Output
The library page lists thinking as a capability. Ollama's thinking documentation says controls vary by model and shows how to discover them with `/api/show`:
curl http://localhost:11434/api/show -d '{ "model": "inkling-2-mini" }'The response includes a top-level `thinking` object with the supported values and the default. Set `think` on a chat request to request the reasoning trace, which comes back in `message.thinking`, separate from the answer in `message.content`:
from ollama import chat
response = chat(
model='inkling-2-mini',
messages=[{'role': 'user', 'content': 'How many letter r are in strawberry?'}],
think=True,
)
print('Thinking:', response.message.thinking)
print('Answer:', response.message.content)The Ollama 0.40.17 release notes add that disabling thinking now maps to the model's lowest supported reasoning level rather than being ignored. The API also supports tool calling for this model, which is what the coding agents in the next section depend on.
Launch Claude Code and Other Coding Tools With It
Ollama can start a coding agent already pointed at a local model. The Inkling 2 Mini library page lists four of these launchers:
ollama launch claude --model inkling-2-mini
ollama launch opencode --model inkling-2-mini
ollama launch hermes --model inkling-2-mini
ollama launch openclaw --model inkling-2-miniEach command opens the named agent using Inkling 2 Mini as its model. If the launcher does not find the agent on your machine, Ollama's Claude Code integration page lists the install commands. For setup steps on the other agents, see the Hermes Agent with Ollama guide.
Raise the Context Length for Coding Work
Ollama's documentation says tasks that need large context, such as web search, agents and coding tools, should use at least 64,000 tokens. On a machine below 24 GiB of VRAM the default is only 4,000 tokens, and on 24 to 48 GiB it is 32,000, so set it explicitly for agent work:
# Stop the Ollama app first, then serve with a 64k context
OLLAMA_CONTEXT_LENGTH=64000 ollama serveIn the Ollama desktop app you can change the same setting with the context length slider under Settings. A longer context needs more memory, so run `ollama ps` afterward and confirm the model still shows 100% GPU.
Where Inkling 2 Mini Is Weak
Thinking Machines lists the model's limits in its own announcement, and they are short enough to read in a minute.
Inkling 2 Mini is not the strongest small model for multi-turn chat or for instructions with many constraints. It scores 50.0% on MultiChallenge and 33.4% on ComplexConstraints v1.1, behind Qwen3.8-27B on both. It also trails larger models on reasoning-heavy benchmarks such as CritPt v2 and HLE-Diamond.
Looping does not store more facts, so a 26B model has the knowledge of a 26B model. On AA-Omniscience, a factuality benchmark, its score is in line with other models of the same size. Pair it with search and tools for factual questions, which is where Thinking Machines says it does well.
What that means in practice:
- Use it for coding, tool use, screen reading and document reading, where its reported scores are strongest
- Keep prompts short and clear if you need it to follow many formatting rules at once
- Do not treat its answers about recent events or obscure facts as reliable without a search tool
All benchmark figures in this guide come from Thinking Machines and Ollama, and the setups differ between models. The only way to know how it performs for you is to run it on your own files and tasks.
Troubleshooting
`ollama run inkling-2-mini` says the model is not found or cannot be loaded
Cause: The installed Ollama version is older than 0.40.17, which added support for the Inkling 2 Mini architecture
Fix: Update Ollama by re-running the install command or downloading the latest app from ollama.com/download, then run `ollama --version` to confirm 0.40.17 or later.
The model fails to load on Windows, Linux or an Intel Mac
Cause: The 0.40.17 release notes state that Inkling 2 Mini is supported on Apple silicon only in that release, with PC support to follow
Fix: Use an Apple silicon Mac or an NVIDIA DGX Spark, or check the Ollama releases page for a version that announces PC support. Other frameworks, such as vLLM and SGLang, are listed by Thinking Machines for NVIDIA GPUs.
Responses are slow and `ollama ps` shows a CPU/GPU split
Cause: The 19-20 GB model plus its context cache does not fit in memory, so part of it runs on the CPU
Fix: Close other memory-heavy apps, use a machine with 32 GB or more, or lower the context length. Re-run `ollama ps` and look for 100% GPU.
The coding agent loses track of the project or forgets earlier files
Cause: The default context length is only 4k to 32k tokens on most machines, which is too small for agent work
Fix: Set the context length to 64,000 tokens or higher with `OLLAMA_CONTEXT_LENGTH=64000 ollama serve` or the slider in the Ollama app, then restart the agent.
The download stalls or restarts partway through
Cause: A network interruption during the 19-20 GB pull
Fix: Run the same `ollama pull inkling-2-mini` command again. Ollama resumes from the layers it already downloaded instead of starting over.
The model ignores some of the rules in a long prompt
Cause: Thinking Machines reports weaker scores on instructions with many constraints (33.4% on ComplexConstraints v1.1)
Fix: Split the prompt into smaller steps, put the most important rule first, and check the output against each rule instead of assuming all were followed.
Alternatives to Consider
| Tool | Type | Price | Best For |
|---|---|---|---|
| Qwen3.8 27B | Local (Ollama) | Free, local install | A dense 27.8B model that Thinking Machines reports beating Inkling 2 Mini on multi-turn chat and instruction-following benchmarks. |
| Gemma 4 | Local (Ollama) | Free, local install | Google's Apache 2.0 family in five sizes from E2B to 31B, which suits machines with less than 32 GB of memory. |
| Muse Glimmer | Local (Ollama) | Free, local install | Meta's 30B agentic model with vision input and an MLX tag for Apple silicon. |
| Laguna XS 2.1 | Local (Ollama) | Free, local install | A 33B Mixture-of-Experts coding model with several quantization tags if you want to pick a size. |
Frequently Asked Questions
Can I run Inkling 2 Mini on my Mac?
Yes, if it is an Apple silicon Mac with 32 GB or more of unified memory. The model card lists MacBooks, Mac minis and Mac Studios with 32 GB or more as supported, and the model needs about 20 GB for its weights plus room for the context cache.
Ollama 0.40.17 or later is required. Intel Macs are not covered, since the 0.40.17 release notes say the model runs on Apple silicon only in that release.
How much memory does Inkling 2 Mini need?
The download is 19 GB to 20 GB depending on the tag, and the announcement puts the total memory footprint at about 20 GB. The model card recommends 32 GB or more of unified memory on Apple silicon, or 32 GB or more of VRAM on other GPUs.
The extra headroom covers macOS, your other apps and the context cache, which grows as you raise the context length.
Is Inkling 2 Mini free to use?
Yes. Inkling 2 Mini is released with open weights under the Apache 2.0 license, which allows commercial use, modification and redistribution. Running it through Ollama on your own computer has no per-token cost.
It is also available through the Tinker platform from Thinking Machines and through third-party inference providers. Those services have their own pricing.
What does "looped" mean in Inkling 2 Mini?
Looped means some layers run more than once for each token. In Inkling 2 Mini, the middle 12 of 24 layers share weights and run three times, giving 48 layer applications per token from 24 layers of stored weights.
The announcement says this lets the model reason longer without writing its reasoning down, so it can reach answers with fewer output tokens. Each extra pass adds about 1.0B effective active parameters, which is why 3.4B active parameters become 5.4B effective.
Which Inkling 2 Mini tag should I pull?
Pull the default, `inkling-2-mini`. It is the same file as the `26b-a5b` tag at 19 GB to 20 GB, and it ships in its native NVFP4 precision.
The `26b-a5b-iq4_NL` tag is 19 GB and the `26b-a5b-nvfp4` tag, labeled MLX on the library page, is 20 GB. Try those only if you have a specific reason, and test them on your own prompts.
Can Inkling 2 Mini read images?
Yes. It accepts text and images and outputs text. In the terminal, put the image path before your question, for example `ollama run inkling-2-mini ./screenshot.png "What is on this screen?"`. Each image dimension should be between 40 px and 4,096 px.
Thinking Machines reports 76.5% on ScreenSpot Pro, which tests finding elements on a screen, and 92.8% on OmniDocBench, which tests reading documents.
How do I use Inkling 2 Mini with Claude Code?
Run `ollama launch claude --model inkling-2-mini` with Claude Code installed. Ollama starts Claude Code pointed at the local model.
Set the context length to 64,000 tokens or higher first, since Ollama's documentation says coding tools and agents need at least that much. The same pattern works for OpenCode, Hermes Agent and OpenClaw by replacing `claude` with `opencode`, `hermes` or `openclaw`.
Does Inkling 2 Mini work on Windows or Linux with Ollama?
Not as of the latest release notes checked for this guide. The Ollama 0.40.17 notes say the model is supported on Apple silicon only in that release, with PC support to follow, and the 0.40.18 and 0.40.19 notes mention only Metal improvements.
Thinking Machines lists vLLM, SGLang, Unsloth and NVIDIA Dynamo for NVIDIA hardware. Check the Ollama releases page for the current status.
How does Inkling 2 Mini compare with Qwen3.8 27B?
Thinking Machines reports that Inkling 2 Mini scores ahead of comparable models on agentic coding benchmarks such as DeepSWE v1.1 and SWE-bench Pro v2, and is behind only Qwen3.8-27B on others. It also says Qwen3.8-27B beats it on multi-turn chat (MultiChallenge) and on instructions with many constraints (ComplexConstraints v1.1).
These are Thinking Machines' own comparisons. If your work is mostly chat or strict formatting, test both models on your own prompts.
Related Guides
How to Run Qwen3.8 Locally with Ollama (2027 Guide)
How to Run Gemma 4 on Ollama: Complete Setup Guide (2027)
How to Run Muse Glimmer Locally with Ollama (2027 Guide)
How to Run Laguna XS 2.1 on Ollama: Local Setup Guide (2027)
How to Run Ollama Locally: Complete Setup Guide (2027)
Best Local LLM Models to Run in 2027 (Benchmarks + Use Cases)
How to Install Hermes Agent with Ollama Local Models (2027)
How to Set Up Claude MCP Servers: Complete Configuration Guide (2027)