{"slug": "thinking-machines-inkling-2-small", "title": "Thinking Machines Inkling 2 Small", "summary": "Thinking Machines released Inkling 2 Small, an open-weight dense decoder-only language model shipped in safetensors with quantized GGUF and MLX variants for single-GPU and CPU inference. The model uses grouped-query attention and an 8k token context window, and is positioned for agentic tool-use and structured-output tasks where latency and data privacy matter more than broad parametric knowledge.", "body_md": "Most open-weight models force you to choose between local privacy and usable reasoning. Inkling 2 Small from Thinking Machines attempts to collapse that trade-off by shipping quantized decoder-only weights optimized for single-GPU and CPU inference.\n\n**TL;DR:** Thinking Machines released Inkling 2 Small, an open-weight small language model. It runs on consumer hardware via llama.cpp or Hugging Face Transformers, supports constrained decoding for structured output, and is best suited for agentic tool-use workflows where latency and data privacy matter more than encyclopedic knowledge.\n\nShipping every agentic step to a remote 70B model adds two to four seconds of latency per tool call and exposes prompts, PII, and proprietary schemas to third-party inference endpoints. Teams end up paying per-token for tasks that are essentially classification or JSON extraction—work that does not require parametric knowledge of world history or Python libraries. The result is slow, expensive, and non-compliant pipelines that cannot run offline.\n\nInkling 2 Small is a dense, decoder-only transformer released in safetensors with quantized GGUF and MLX variants. It uses grouped-query attention (GQA) to reduce memory bandwidth during generation and an 8k token context window. The weights are optimized for 4-bit and 8-bit quantization, so a Q4_K_M GGUF file fits comfortably on a single consumer GPU or Apple Silicon with unified memory.\n\n```\n+----------------+       +----------------+       +----------------+\n|   Raw Input    | ----> |   Tokenizer    | ----> |   Token IDs    |\n+----------------+       +----------------+       +----------------+\n                                                                   |\n                                                                   v\n+----------------+       +----------------+       +----------------+\n|  Sampled Token | <---- |   LM Head      | <---- |  Transformer   |\n|   (next word)  |       |  (vocab proj)  |       |  Blocks (GQA)  |\n+----------------+       +----------------+       +----------------+\n                                                                   |\n                                                                   v\n+----------------+       +----------------+       +----------------+\n|  KV Cache      | <---- |  Positional    | ----> |  Embeddings    |\n|  (paged blocks)|       |  Encodings     |       +----------------+\n+----------------+       +----------------+\n```\n\nComponent breakdown:\n\n```\n# 1. Install git-lfs and pull weights\ngit lfs install\ngit clone https://huggingface.co/thinkingmachines/Inkling-2-Small\ncd Inkling-2-Small\n\n# 2. Python environment\npython -m venv .venv\nsource .venv/bin/activate\npip install --upgrade pip\npip install transformers accelerate sentencepiece auto-gptq\n```\n\nRun with Transformers:\n\n``` python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\nimport torch\n\nmodel_id = \"./Inkling-2-Small\"\n\ntokenizer = AutoTokenizer.from_pretrained(model_id)\nmodel = AutoModelForCausalLM.from_pretrained(\n    model_id,\n    torch_dtype=torch.float16,\n    device_map=\"auto\",\n    trust_remote_code=True\n)\n\nprompt = \"\"\"Route this request to the correct tool:\nUser: \"Cancel my subscription\"\nTools: [cancel_subscription, update_billing, contact_support]\nOutput format: {\"tool\": \"...\", \"args\": {}}\n\"\"\"\n\ninputs = tokenizer(prompt, return_tensors=\"pt\").to(model.device)\noutputs = model.generate(\n    **inputs,\n    max_new_tokens=128,\n    do_sample=False,\n    temperature=0.1,\n    pad_token_id=tokenizer.eos_token_id\n)\nprint(tokenizer.decode(outputs[0], skip_special_tokens=True))\n```\n\nRun with llama.cpp (better for CPU/edge):\n\n```\n./llama-cli -m Inkling-2-Small.Q4_K_M.gguf \\\n  -p \"You are a routing agent. Return only valid JSON.\" \\\n  -n 256 \\\n  -t 8 \\\n  --grammar-file tools.gbnf\n```\n\n**Three concrete wins:**\n\n**Two honest limitations:**\n\n🚀 **Join VibeNode AI on Telegram**\n\nDaily open-source AI drops, Claude Code hooks, and ready-to-import n8n JSON workflows. Search `#Drop29` inside `https://t.me/vibenode_ai` for the latest model integrations and automation templates.\n\nHave you replaced any remote API calls with a local 1–3B parameter model in your agent stack, and what was the actual latency win or trade-off?\n\n**Need a fast fixed-price build (24–72h)?** I build turnkey landing pages, Telegram bots/Mini Apps, and Python scrapers — [test 8 live interactive demos here](https://vlad61758-eng.github.io/vibenode-demos/) or DM `@vlad256bak` on Telegram.", "url": "https://wpnews.pro/news/thinking-machines-inkling-2-small", "canonical_source": "https://dev.to/vlad61758eng/thinking-machines-inkling-2-small-5e8c", "published_at": "2026-12-05 10:11:38+00:00", "updated_at": "2026-12-05 10:13:49.714245+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-tools", "artificial-intelligence"], "entities": ["Thinking Machines", "Inkling 2 Small", "Hugging Face", "llama.cpp", "MLX"], "also_reported_by": [], "takeaway": "Inkling 2 Small ships 4-bit and 8-bit GGUF/MLX weights with GQA and an 8k context, letting a Q4_K_M build run locally for JSON extraction and tool routing instead of a remote 70B model.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/thinking-machines-inkling-2-small", "markdown": "https://wpnews.pro/news/thinking-machines-inkling-2-small.md", "text": "https://wpnews.pro/news/thinking-machines-inkling-2-small.txt", "jsonld": "https://wpnews.pro/news/thinking-machines-inkling-2-small.jsonld"}}