Instructions to use agentionai/Inkling-2-Mini-AP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use agentionai/Inkling-2-Mini-AP-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS # Run inference directly in the terminal: ./build/bin/llama cli -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Use Docker
docker model run hf.co/agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
- Llama new
- LM Studio
- Jan
- vLLM
How to use agentionai/Inkling-2-Mini-AP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "agentionai/Inkling-2-Mini-AP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "agentionai/Inkling-2-Mini-AP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
- Ollama
How to use agentionai/Inkling-2-Mini-AP-GGUF with Ollama:
ollama run hf.co/agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
- Unsloth Desktop
- Pi
How to use agentionai/Inkling-2-Mini-AP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use agentionai/Inkling-2-Mini-AP-GGUF with Docker Model Runner:
docker model run hf.co/agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
- Lemonade
How to use agentionai/Inkling-2-Mini-AP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Run and chat with the model
lemonade run user.Inkling-2-Mini-AP-GGUF-IQ2_XXS
List all available models
lemonade list
- Hermes Agent
How to use agentionai/Inkling-2-Mini-AP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use agentionai/Inkling-2-Mini-AP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "agentionai/Inkling-2-Mini-AP-GGUF:IQ2_XXS" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Website โข Marshall coding agent โข Fieldwork Ledger โข Custom quants
Inkling-2-Mini AP
Thinking Machines' Inkling-2-Mini for agents, in 8.49 or 13.63 GB for standard llama.cpp. AP-Q3_K_XL stays closer to the original model than Unsloth's UD-Q3_K_XL on all four of our text sets, at the same size. AP-IQ2_XXS v1.2 is re-encoded with agentic tool-use data: it drifts 12% less than v1.1 on agent sessions it never saw, and 15% less than Unsloth's UD-IQ2_XXS on tool-call transcripts at the same size.
Get started ยท Results ยท Files ยท Work with us
Inkling-2-Mini is a 26.4B mixture-of-experts model from Thinking Machines with 3.4B parameters active per token (128 experts, 8 per token). AP is our line of files in the standard llama.cpp quant types, each named after its type: a single file that runs fully on the GPU, on upstream llama.cpp with no fork.
Pick your file
| File | Size | GPU memory (q8_0 KV, 131k context) | Compared with |
|---|---|---|---|
| AP-Q3_K_XL | 13.63 GB | 20.21 GB | Unsloth UD-Q3_K_XL, 13.63 GB |
| AP-IQ2_XXS (v1.2) | 8.49 GB | 15.05 GB | Unsloth UD-IQ2_XXS, 8.49 GB |
Get started
- Download a file: AP-IQ2_XXS (8.49 GB; about 15 GB of GPU memory at 131k context) or AP-Q3_K_XL (13.63 GB; about 20 GB).
- Start llama-server. It runs on upstream llama.cpp b12600-44 or later, or on our llama.cpp fork at tag gyro-inkling-v2, the build every number on this card was measured on.
- Point your app or coding agent at
http://localhost:8080.
hf download agentionai/Inkling-2-Mini-AP-GGUF Inkling-2-Mini-AP-IQ2_XXS.gguf --local-dir ~/models # or Inkling-2-Mini-AP-Q3_K_XL.gguf
ulimit -s unlimited # needed for all Inkling-2-Mini GGUFs: very long runs of one character overflow the tokenizer's stack
llama-server -m ~/models/Inkling-2-Mini-AP-IQ2_XXS.gguf -ngl 99 -fa on --jinja -c 131072 -ctk q8_0 -ctv q8_0
AP-Q3_K_XL keeps Unsloth's per-expert scales, so the build matters. Use upstream llama.cpp b12600-44 or later, or our tag gyro-inkling-v2. Our older tag gyro-inkling-v1 drops those scales, and halo-box/strix-llama.cpp master gives wrong output with this file until its PR #320 merges.
Tested with Vulkan on AMD Strix Halo (Radeon 8060S): AP-IQ2_XXS reads prompts at 465 tok/s and generates 25.0 tok/s; AP-Q3_K_XL 431 and 22.5 (llama-bench pp512 / tg128, median of 3, on our fork; AP-IQ2_XXS measured on v1.1, which has the same size and layout).
Recommended settings
| Setting | Value |
|---|---|
| Temperature | 1.0 |
| Top-p | 1.0 |
| Top-k | 50 |
These are the base model's defaults. The GGUF carries them, so llama-server uses them unless you override them.
Results
AP-Q3_K_XL: closer to the original than UD-Q3_K_XL on every text set, at the same size. It drifts 11% less on held-out text, 7% less on code, 16% less on tool calls and 7% less on web text.
AP-IQ2_XXS v1.2: built for agent work. v1.2 is re-encoded with agentic tool-use data, at the same size and in the same quant types as v1.1, our previous encode.
- Agent test: 42 of 44 runs passed (v1.1: 39 of 44). Our agent test runs 22 coding-agent tasks, 2 seeds each. The gain comes from tasks like those in the tool-use data; on the 11 tasks we kept apart, v1.2 and v1.1 both pass 20 of 22.
- Agent sessions it never saw: 12% less drift than v1.1 (mean KL divergence 0.0584 against 0.0664), and it picks the original's top token a little more often (93.77% against 93.55%).
- Tool calls: 76 of 76 well-formed in our tool-call probe.
Against Unsloth at the same sizes: AP-Q3_K_XL is closer than UD-Q3_K_XL on all four sets, and AP-IQ2_XXS v1.2 drifts 15% less on tool-call transcripts and matches it on held-out text and code; UD-IQ2_XXS is closer on web text. Mean KL divergence to BF16, lower is closer:
| File | Size | Held-out | Code | Tool calls | Web |
|---|---|---|---|---|---|
| Inkling-2-Mini AP-Q3_K_XL | 13.63 GB | 0.0145 | 0.0060 | 0.0116 | 0.0095 |
| Unsloth UD-Q3_K_XL | 13.63 GB | 0.0163 | 0.0065 | 0.0138 | 0.0103 |
| Inkling-2-Mini AP-IQ2_XXS v1.2 | 8.49 GB | 0.0840 | 0.0287 | 0.0478 | 0.0823 |
| Unsloth UD-IQ2_XXS | 8.49 GB | 0.0846 | 0.0295 | 0.0560 | 0.0725 |
| ggml-org Q8_0 (reference) | 27.82 GB | 0.0066 | 0.0031 | 0.0082 | 0.0026 |
How this was measured
KL divergence measures how far a quant's next-token predictions are from the original model's: zero means identical. The reference is the original model in BF16. Each text set is 60 chunks of 2,048 tokens: held-out prose, code, tool-call transcripts and web text, none of them used to build the quant. The agent-session set is 55 chunks of 2,048 tokens from coding-agent sessions on the 11 tasks kept out of the encode. Every row, ours and Unsloth's, was measured on the same llama.cpp build, which includes the fix Unsloth's files need. AP-Q3_K_XL is 13,631,775,136 bytes and UD-Q3_K_XL 13,631,779,296; AP-IQ2_XXS is 8,486,215,264 bytes and UD-IQ2_XXS 8,486,237,632.
The agent test (AP-IQ2_XXS) runs each task in the Marshall coding agent with a q8_0 KV cache, seeds 1 and 2. A run passes when all of the task's checks pass.
We record every number on this card, with its raw source, in Fieldwork Ledger.
Files
| File | Size | Fits |
|---|---|---|
Inkling-2-Mini-AP-Q3_K_XL.gguf |
13.63 GB | 20.21 GB of GPU memory at 131k context |
Inkling-2-Mini-AP-IQ2_XXS.gguf (v1.2) |
8.49 GB | 15.05 GB of GPU memory at 131k context |
GPU memory is measured with the server command above (131,072 context, q8_0 KV cache, one slot) on Strix Halo (AP-IQ2_XXS on v1.1, same size and layout). An f16 KV cache adds about 2.1 GB.
Versions. 2026-11-26: AP-IQ2_XXS v1.2, first public release, re-encoded with agentic tool-use data. 2026-11-26: AP-Q3_K_XL added.
Checksums (SHA-256)
15a78a7adfe6ad93b0af9417b16f07e21bd3ebad4617c0b8d180dfa249f05f7b Inkling-2-Mini-AP-Q3_K_XL.gguf
89dcf7a007c4ca2509bbef55a18cebed778d3b538fd209f4eef8737beddf040d Inkling-2-Mini-AP-IQ2_XXS.gguf
Work with AgentionAI
Want results like these on your own model?
We tune and quantize models for your agents and hardware: fewer tokens, less GPU memory, quality measured against the original. Every engagement ends with a full measurement report. Inkling-2-Mini AP itself is released freely; sponsoring funds the next release and the benchmarking behind it.
Credits and licence
- The model: thinkingmachines/Inkling-2-Mini, Apache-2.0. AP quantization: AgentionAI.
- Unsloth: the per-tensor type layouts follow Unsloth's Dynamic UD-IQ2_XXS and UD-Q3_K_XL. Thank you, Unsloth.
- Comparison and reference quants: Unsloth (UD-IQ2_XXS, UD-Q3_K_XL); ggml-org (Q8_0).
- Runtime: llama.cpp.
- Hardware: built and tested on AMD Ryzen AI Max (Strix Halo). Hardware supported by AMD.
- Downloads last month
- -
2-bit
3-bit
Model tree for agentionai/Inkling-2-Mini-AP-GGUF
Base model
thinkingmachines/Inkling-2-Mini