Gall is a macOS menu-bar app and inference engine that runs Thinking Machines’ Inkling-2-Mini locally on Apple silicon, including a 24 GB M2 MacBook Air. The 26-billion-parameter mixture-of-experts model activates 3.4 billion parameters per token and supports text, images, tool calls, and structured JSON output through an OpenAI-compatible API. Gall is built in Rust with custom Metal kernels, reads a 12.7 GB quantized model file directly, and does not rely on llama.cpp’s ggml or Apple’s MLX. Its key design feature is freeing memory between messages: after an answer, it saves eligible conversation state and unloads the model, which idles at roughly 51-57 MB of RAM. The next request reloads the model and can reuse saved context rather than reprocessing the full conversation.
On the tested M2 Air, generation reached about 20.5 tokens per second at short context, falling to 16.2-16.5 tokens per second around 30,000 tokens; prompt reading ranged from 130 tokens per second for a short prompt to 106 for 10,500 tokens. A saved prefix enabled first-token latency of 0.5-1.2 seconds, while warm reloads took about 0.1 seconds. These are individual measurements, not averages, and the configured 100,000-token context was not tested at that length. A patched llama.cpp comparison reached about 15 tokens per second with the same quantization. A 64-step teacher-forced comparison found no greedy-output mismatches and low mean KL divergence, demonstrating agreement between engines rather than general model quality.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.