Workflows/Code locally with Inkling 2 Mini in VS Code + Cline
Coding / WORKFLOW
Code locally with Inkling 2 Mini in VS Code + Cline
Serve Thinking Machines’ Inkling 2 Mini with Ollama on a Mac or llama.cpp on Windows and Linux, connect VS Code and Cline, and have it write a small module plus tests that you review and run yourself.
Verified sourceSource checked 11/23/2026
LOCAL
Freshness 98 out of 100. Release age: 4 days old, Nov 20, 2026. Measures age, not quality.98/ 100Freshness4 days oldRelease age · Nov 20, 2026
Popularity unavailable. Stats pending.—pendingPopularityStats pendingLikes unavailableRefresh due
What do these scores mean?+
Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.
Freshness · release age
A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.
Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.
Scores as of Nov 24, 2026. Statistics check pending. Statistics are marked for refresh after 72 hours. These statistics are due for a refresh.Full scoring method →
Before you begin
Hardware
Estimated from the published file sizes, Thinking Machines’ and Ollama’s stated 32 GB Mac minimum, and Unsloth’s memory guidance, plus runtime and context headroom. Inkling 2 Mini is a mixture-of-experts model that uses about 3.4B of its 26.4B parameters per token, so keeping part of it in system RAM costs less speed than it would with a dense model of the same size. Not measured by YouRunAI.
Machine
Inkling 2 Mini · official 20 GB checkpoint (Ollama)
Inkling 2 Mini · IQ4_NL GGUF (llama.cpp)
Apple Silicon · 16–24 GB unified memory
Below the 32 GB minimum
Too tight: the file alone is 17.6 GB
Apple Silicon · 32 GB unified memory
Recommended Mac start; close other apps
Fits at the starting context; the Ollama package is simpler
Apple Silicon · 48 GB or more
Comfortable, with room for longer context
Comfortable
NVIDIA · 16 GB VRAM + 32 GB RAM
Not available: Mac only for now
Runs with part of the model in system RAM; slower
NVIDIA RTX 4090 · 24 GB VRAM
Not available: Mac only for now
Recommended start; lower the context if it runs out of memory
NVIDIA RTX 5090 · 32 GB VRAM
Not available: Mac only for now
Comfortable, with room for longer context
AMD Radeon · 24 GB VRAM
Not available: Mac only for now
Fits; requires the HIP or Vulkan llama.cpp build on Windows (the Linux tab here is NVIDIA only)
Intel Arc · 16 GB VRAM + 32 GB RAM
Not available: Mac only for now
Partial offload through the Vulkan llama.cpp build; slower
CPU only · 32 GB RAM
Not available: Mac only for now
Loads and answers, but slowly; short tasks only
Ollama’s library page also lists the NVIDIA DGX Spark for the 20 GB checkpoint, but its 0.40.17 release notes say this release runs the model on Apple silicon only, so this guide offers the Ollama package on Macs. ggml-org also publishes a 27.8 GB Q8_0 file, and Unsloth publishes smaller builds (7.8–13.6 GB) that need Unsloth Desktop or Unsloth’s own llama.cpp build; both are listed on the model page and left out here to keep the setup simple.
LOCAL CODING · VS CODE + CLINESOURCE-LINKED SETUP
Code locally with Inkling 2 Mini in VS Code + Cline
Run Inkling 2 Mini in Ollama on a Mac or llama.cpp on Windows and Linux, connect Cline, and have it create a function with tests. You review every edit and run the test yourself.
Choose a package Run its commands Check the result
01
BEFORE YOU BEGIN
Choose your package
Select the weights you want. The instructions, downloads and settings change with your choice.
The publisher has not provided a complete memory target for this task. Check its hardware guidance before starting.
CURRENT SETUP
Inkling 2 Mini · official 20 GB checkpoint (Ollama) · official
Start at 32,768 tokens for this Cline coding setup. Thinking Machines and Ollama both give 32 GB of unified memory as the minimum for this 20 GB checkpoint; close other apps on a 32 GB Mac. Longer context needs more memory, so reduce it first if you run out. Estimate, not a YouRunAI measurement.
Freshness 98 out of 100. Release age: 4 days old, Nov 20, 2026. Measures age, not quality.98/ 100Freshness4 days oldRelease age · Nov 20, 2026
Popularity unavailable. Stats pending.—pendingPopularityStats pendingLikes unavailableRefresh due
What do these scores mean?+
Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.
Freshness · release age
A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.
Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.
Scores as of Nov 24, 2026. Statistics check pending. Statistics are marked for refresh after 72 hours. These statistics are due for a refresh.Full scoring method →
Set up Inkling 2 Mini · official 20 GB checkpoint (Ollama) on your machine
Choose where you want to run it. The instructions below update to match your selection.
CHOOSE YOUR SETUPMac
Other operating systems
Windows: Ollama 0.40.17 runs Inkling 2 Mini on Apple silicon only; its release notes say PC support will follow in a later release. Choose the llama.cpp package on this computer. Compatibility source
Linux: Ollama 0.40.17 runs Inkling 2 Mini on Apple silicon only; its release notes say PC support will follow in a later release. Choose the llama.cpp package on this computer. Compatibility source
01
Install or update Ollama
Download Ollama for macOS from ollama.com/download, move it to Applications and open it. It runs in the menu bar. Inkling 2 Mini needs Ollama 0.40.17 or newer: if you already have Ollama, choose Check for Updates from its menu-bar icon, then run the command below in Terminal to confirm the version. If the regular download is still older, install 0.40.17 from Ollama’s release page.
Cline’s instructions and your files fill context quickly, and Ollama starts most models with a much shorter context. Open Ollama’s Settings from its menu-bar icon and move the Context length slider to 32k. That is the only setting you change. The model supports up to 1M tokens, but a longer context needs much more memory.
In Terminal, run this to download Thinking Machines’ 20 GB checkpoint from Ollama’s library. It is the model as trained, with no conversion, and Ollama tags it for vision, tools and thinking. The second command lists it once the download has finished.
Install Visual Studio Code, then open the Cline extension page and choose Install. Install the current Node.js LTS release as well; the example project uses Node’s built-in test runner, so no packages need to be downloaded.
Open Cline’s settings. Choose the Ollama provider, keep the Base URL at http://localhost:11434, and pick inkling-2-mini from the model list. Set the model context window to 32768 so it matches the slider. Keep auto-approve off for file edits and terminal commands.
Create a small project and give Cline a coding task
Create an empty folder named inkling-coding-test, open it in VS Code with File → Open Folder, and paste the task below into Cline in Act mode. Approve each file write after reading it, and approve the single test command. Cline is the coding client; the model only proposes edits and commands. Thinking Machines’ card warns that Inkling 2 Mini can take destructive actions, such as deleting files, without asking, so keep these approvals on.
Plain text
Create slugify.mjs that exports a function slugify(text) which lowercases text, trims it, replaces runs of non-alphanumeric characters with single hyphens and removes leading or trailing hyphens. Create slugify.test.mjs that uses node:test and node:assert to check at least four cases, including an empty string. Then run node --test and show me the result.
07
Review the diff and run the test yourself
Open both files and read the change. Then run the test from the VS Code terminal (Terminal) to confirm it passes independently of Cline. A passing node --test run and code you have read is the result; a chat answer without saved files does not count.
Bash
node --test
03
SUCCESS CHECK · Inkling 2 Mini · official 20 GB checkpoint (Ollama)
Reviewed code and a passing test
slugify.mjs and slugify.test.mjs exist in your project, you have read the diff, and node --test passes when you run it yourself.
Thinking Machines reports 79.2% on SWE-bench Verified and 48.2% on DeepSWE v1.1 for Inkling 2 Mini; those are publisher numbers. Its card also says the model can loop while debugging and is less reliable at following detailed tool instructions, so keep approvals on. Cline tool reliability with these exact packages has not been tested by YouRunAI.
Cline says the model returned no tool call or an invalid response.
On Windows or Linux, confirm the server was started with --jinja and the model ID is exactly inkling-2-mini. On a Mac, run ollama ps while Cline is working: the CONTEXT column should say 32768; if it is lower, set the slider again and restart Ollama. Then retry rather than switching on auto-approve.
On a Mac, ollama pull fails or says the model needs a newer version.
Update Ollama to 0.40.17 or newer from its menu-bar icon or the release page, restart it, and run the command again. ollama pull resumes an interrupted download.
The server stops with an out-of-memory error, or loading never finishes.
Lower -c by half and close other apps that use the GPU or memory. On a PC whose GPU is smaller than the file, replace -ngl 99 with a lower number such as -ngl 20 so part of the model stays in system RAM; it will be slower.
llama-server says it does not recognise the model architecture (inkling2_loop).
The build is older than b12600. Update llama.cpp (winget upgrade llama.cpp, brew upgrade llama.cpp, or docker pull the server-cuda image again), or download the newest build from the official releases page, check llama-server --version, and try again.
An answer keeps thinking or repeating itself and never finishes.
Thinking Machines’ card says the model can get stuck in long reasoning loops, especially while debugging code. Stop the reply, start a new conversation and give a smaller, more specific task. Setting reasoning effort to its minimum shortens thinking but does not switch it off.
node is not recognised.
Install Node.js LTS from nodejs.org, then close and reopen VS Code so its terminal picks up the new PATH.
REFERENCE LIBRARY
Sources and files
Original instructions, model files, and compatibility notes behind this setup.