Hermes Agent
How to use Inkling 2 Mini with Hermes Agent
Updated 28 November 2026
To use Inkling 2 Mini with Hermes Agent, choose OpenRouter and enter thinkingmachines/inkling-2-mini. The same setup works for Inkling 2 Small with its own model ID. To run Mini on your computer, Ollama has a Hermes launch command. First check that your machine can give each session at least 64,000 tokens of context, the space Hermes needs for its instructions, tools and conversation.
Sources read on 28 November 2026 include Thinking Machines Lab’s Mini and Small announcements and model cards, the OpenRouter model catalogue and the Hermes Agent 0.23.5 provider guide. Local runtime sources include the Ollama model library and 0.40.19 release notes, llama.cpp 1.1.0 with Unsloth’s GGUF instructions, and vLLM’s Mini recipe, which calls for a nightly build.
Which Inkling 2 model fits your machine?
Mini and Small both take text and images and return text. Thinking Machines Lab introduced Small on 5 November 2026, released its downloadable weights on 12 November, and released Mini on 20 November. Those are the lab’s release dates. OpenRouter shows different dates on its model listings. Both publisher cards list the weights under Apache 2.0 and link the lab’s acceptable use policy.
- Mini. The original checkpoint is about 20 GB. The lab lists a DGX Spark or an Apple silicon machine with at least 32 GB of memory, and recommends at least 32 GB of video memory on other GPUs. Mini has 26.4 billion parameters, with 3.4 billion active. Ollama quotes 5.4 billion active, but the lab calls that the effective count per token because Mini runs its middle 12 layers three times with the same weights. See the Mini model card.
- Small. Despite its name, this is the larger model, with 594 billion parameters and 17 billion active. The original weights need at least 500 GB of GPU memory in total for NVFP4, or 800 GB for MXFP8. If you want Small without running that hardware, use the OpenRouter ID below. See the Small model card.
OpenRouter model IDs, token prices and limits
These are OpenRouter’s catalogue prices in US dollars per million tokens, as listed on 28 November 2026. The input column is for uncached input. Both catalogue entries give a context window of 1,048,576 tokens. The output limit is a separate figure from each entry’s top_provider record.
| Model ID to enter | Input | Output | Output limit |
|---|---|---|---|
thinkingmachines/inkling-2-mini | $0.06 | $0.24 | 65,536 tokens |
thinkingmachines/inkling-2-small | $0.15 | $0.50 | 943,718 tokens |
Prices vary by endpoint. As listed on 28 November 2026, Mini’s catalogue rates matched the standard Prime Intellect endpoint. Its model page showed the Darkbloom rate of $0.02625 per million input tokens and $0.105 per million output tokens. The endpoint also determines the usable window. For example, io-net/nvfp4 lists 262,144 tokens for Mini. Check the Mini model page and its endpoint list when planning a long request.
Connect your own Hermes installation to OpenRouter
- Both models are paid. If you use OpenRouter credits, check your balance and any spending limit on your key. Run
hermes modeland choose OpenRouter. Enter your key when prompted, or store it asOPENROUTER_API_KEYin~/.hermes/.env. - Pick the full lowercase ID from the table. If it is missing, choose Enter custom model name and paste it. The static catalogue in Hermes 0.23.5 omits both second-generation IDs. Finish the picker.
- Both models list
tools,tool_choice,reasoningandreasoning_effort. Individual endpoints differ. For Mini,primeintellect/fp4liststoolsanddeepinfra/fp4omits it. To use only endpoints that support every parameter Hermes sends, save this setting in~/.hermes/config.yamlbefore starting the chat.provider_routing: require_parameters: true - If a chat is already open, exit it. Start a fresh chat with
hermes. Enter/statusand check that the provider isopenrouterand the model is the ID you chose.
Thinking Machines Lab describes adjustable reasoning effort for Small and reports testing Mini at several effort levels. OpenRouter lists the parameter without specifying which levels each endpoint accepts. A setting from the lab’s evaluations may therefore be unavailable on your route. For the agent-side controls, see reasoning effort in Hermes Agent.
Run Mini locally with Ollama
Use Ollama 0.40.18 or later. If your Ollama server is older, update it before loading Mini. Ollama’s default context depends on video memory, so check how many tokens Mini actually gets.
- In the Ollama app, set the context length to at least 64,000 in Settings. On Linux with systemd, set
OLLAMA_CONTEXT_LENGTH=64000in the Ollama service environment, reload systemd and restart the service. If you start Ollama manually in Bash or Zsh, run this command and leave it running.OLLAMA_CONTEXT_LENGTH=64000 ollama serve - In another terminal, load Mini and send a short message.
While Mini is loaded, runollama run inkling-2-miniollama psin a separate terminal. Find Mini’s row and check thatCONTEXTis at least 64,000. A smaller allocation can run a short chat but falls below the Hermes requirement. - If Hermes runs in WSL2 and Ollama runs on Windows, skip the launcher and use manual setup below. If both programs run in the same environment, use the launcher. It saves Mini as the default model and starts Hermes. It adds the
webtoolset if needed and restarts your Hermes messaging gateway if it is running.
To switch back to OpenRouter later, runollama launch hermes --model inkling-2-minihermes model.
For manual setup, use http://localhost:11434/v1 when both programs run in the same environment. For Ollama on Windows and Hermes in WSL2, use the base URL you verified with the Hermes WSL2 networking guide. In the terminal where you run Hermes, run hermes model and choose Custom endpoint (enter URL manually). Enter the base URL and supply a key if your server requires one. Choose Chat Completions at the API compatibility prompt, then select or enter inkling-2-mini. Finish the prompts and start hermes.
Compare the context limit Hermes reports at startup with Mini’s CONTEXT value in ollama ps. If Hermes shows a larger window, set model.context_length in ~/.hermes/config.yaml to the value Ollama shows. For example, use 64000 for 64,000 tokens.
For installation and general connection issues, see the Hermes and Ollama setup guide. Ollama documents the allocation check in its context length guide.
Use a Mini GGUF with llama.cpp
Unsloth supplies GGUF conversions of the lab’s weights. Its 4-bit UD-Q4_K_XL file is 17.63 GB. Unsloth gives 17–18 GB of combined RAM and video memory, or unified memory, as a starting point for 4-bit inference. A longer context and images need additional memory. The guide gives no fixed memory requirement for a 64,000-token Hermes session. See Unsloth’s Mini sizing guide.
- Follow Unsloth’s build instructions to build
llama-serverwith llama.cppb12611or later. Stay in thellama.cppdirectory. Use Unsloth’s download instructions to find the weights and image projector. In the download example, omit--includeand keep both filenames so the Hugging Face CLI downloads both files. Then rename the weights as shown. - Use the OpenAI-compatible server command in Unsloth’s run instructions. Before starting it, change
-c 32768to-c 64000for one session. With the default automatic slot setting, sessions share one pool of tokens. If you use separate caches, llama.cpp divides the context evenly among the slots. Allow at least 64,000 tokens for each Hermes session you plan to run at the same time. For images, add--mmproj Inkling-2-Mini-GGUF/mmproj-F16.gguf. - Leave
llama-serverrunning. In a second terminal, runhermes model, choose Custom endpoint (enter URL manually) and enter the local server’s base URL with the/v1path. Use port 8001 for Unsloth’s example. The example in the Hermes provider guide uses port 8080. Supply the server key if required, then choose Chat Completions at the API compatibility prompt. If Hermes detects Mini and asks “Use this model?”, press Enter to confirm. If it asks for a model name, enter the model ID your server uses for Mini. Finish the prompts and starthermes.
Serve Mini with vLLM on a GB200
Install uv first. The vLLM Mini recipe uses a nightly wheel built for CUDA 13.2, so your NVIDIA driver must support that version. These commands install and serve Mini on one GB200 with reasoning and tool calling enabled. Run Hermes on the same machine for this setup. Before starting vLLM, use the machine’s firewall to block untrusted connections to vLLM and its internal ports. Keep the capitals in the publisher’s model ID.
uv venv
source .venv/bin/activate
uv pip install -U vllm --torch-backend=auto \
--extra-index-url https://wheels.vllm.ai/nightlyvllm serve thinkingmachines/Inkling-2-Mini \
--tensor-parallel-size 1 \
--reasoning-parser inkling \
--enable-auto-tool-choice \
--tool-call-parser inklingIn another terminal, run hermes model and choose Custom endpoint (enter URL manually). Enter http://localhost:8000/v1 and supply a key if your server requires one. Choose Chat Completions at the API compatibility prompt, then select or enter thinkingmachines/Inkling-2-Mini. Finish the prompts and start hermes. The recipe reports 1,048,576 tokens on one GB200. Its H100 and DGX Spark configurations cap the window at 262,144 tokens.
Check that Hermes can use a tool
Run this test in a sandbox where Hermes can access only disposable files. Mini can delete or overwrite files without asking. Thinking Machines Lab recommends requiring confirmation before destructive actions. See the Hermes sandbox setup.
In your self-managed Hermes chat, enter /status to check the active model and provider. Save a short line of your choosing in a scratch file inside the sandbox. Give Hermes the filename and ask it to read the line back. In the default layout, look for Read followed by your filename in the tool activity, then compare the answer with the line you saved. If tool activity is hidden, use /verbose to show it and repeat the test.
If the reply just prints a tool name and arguments as text, Hermes has received nothing to execute. On OpenRouter, check the endpoint’s supported parameters. On vLLM, check the Inkling parser flags above. On llama.cpp, check the chat template. The Hermes guide says to pass --jinjaexplicitly. The llama.cpp 1.1.0 server reference says Jinja is enabled by default. Unsloth’s command includes the flag, and the file test lets you check the template with the model you actually loaded.
Inkling 2 on ReadyHermes
In your account’s Model key panel, choose Your own API key, select OpenRouter and paste your OpenRouter key. Pick or type thinkingmachines/inkling-2-mini or thinkingmachines/inkling-2-small, then press Switch to my key. ReadyHermes sends a short chat message to test the connection. This test does not check image input or tool execution. Your assistant then restarts on the key, which takes about a minute. The panel is available during the 30-minute trial and on paid plans. See ReadyHermes model options.
Website chat shows a thinking status and the name of a running tool. Reasoning text stays hidden, and the Model key panel has no reasoning effort control.
The local GGUF steps assume Hermes and the model server both run on your computer. Your ReadyHermes assistant runs on our servers, so it cannot reach Mini at your computer’s localhost address. For a separately hosted model, choose Other endpoint and enter the address of an OpenAI-compatible API with a public HTTPS hostname on port 443.
Questions
Which OpenRouter model ID does Inkling 2 Mini use?
Enter thinkingmachines/inkling-2-mini for Mini or thinkingmachines/inkling-2-small for Small. If you use OpenRouter credits, check your balance and any spending limit on your key. If the Hermes picker omits your model, select Enter custom model name and paste the full lowercase ID.
How much memory does Inkling 2 Mini need locally?
For the original checkpoint, Thinking Machines Lab lists a DGX Spark or Apple silicon with at least 32 GB of memory, and recommends at least 32 GB of video memory on other GPUs. Unsloth gives 17–18 GB as a starting point for 4-bit GGUF inference. Memory for a 64,000-token session depends on the workload.
Why can Mini chat in Ollama but fail to start in Hermes?
A short chat can fit in less than the 64,000 tokens Hermes needs. Run ollama ps while Mini is loaded and check CONTEXT. If it is too small, raise it to at least 64,000 in the Ollama app settings. If you start Ollama manually in Bash or Zsh, use OLLAMA_CONTEXT_LENGTH=64000 ollama serve. If Hermes reports a larger window at startup, set model.context_length to match Ollama.
Why does Inkling print a tool call as text?
Hermes needs a structured tool call to execute it. Check that your OpenRouter endpoint lists tools, that vLLM uses the Inkling tool-call parser, or that llama.cpp has a suitable chat template. For the sandbox test, look for Read followed by your scratch filename in the default layout. That entry and an answer matching the line you saved confirm the read worked.
How does ReadyHermes connect to Inkling 2 Mini?
In the Model key panel, choose Your own API key, select OpenRouter, paste your key and pick or type thinkingmachines/inkling-2-mini. Press Switch to my key to test the connection and restart the assistant. For a separately hosted model, Other endpoint requires an OpenAI-compatible API at a public HTTPS hostname on port 443. Your computer’s localhost address won’t work.