# Shoehorn - Quantize any model to fit your machine's memory

Original title: Show HN: Shoehorn – Quantize any model down to run on your machine

> Hacker News story 49346135 · language: en · submitted 2026-08-18
> Web version: https://zeli.app/story/49346135
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 45 · by [rhgraysonii](<https://news.ycombinator.com/user?id=rhgraysonii>) · 💬 9
[original](<https://notactuallytreyanastasio.github.io/shoehorn/>) · [HN discussion](<https://news.ycombinator.com/item?id=49346135>)

## Summary

Shoehorn is a tool that makes any language model fit your machine's actual memory. Instead of preset quantizations that waste headroom or fail at load time, Shoehorn measures your available memory, subtracts inference overhead, and solves a per-tensor mixed-precision assignment to use up to 99.99% of your budget. It integrates with llama.cpp and offers a local web app where you can discover models ranked by quality, fit them with one button, and chat. Available via Homebrew or Cargo.

## Key quote

> Shoehorn starts from the memory you actually have, subtracts what inference itself needs, and solves a per-tensor mixed-precision assignment that lands within a rounding error of the remainder — routinely using 99.99% of the budget, sometimes to the byte.

## HN discussion (9 comments)

### [hmokiguess](<https://news.ycombinator.com/item?id=49347527>)

> Reminds me of https://github.com/AlexsJones/llmfit

### [mbuchel-hn](<https://news.ycombinator.com/item?id=49346976>)

> does this work similar to airllm? i am wondering how it would handle something like quantizing kimi k3 on a budget of 8 gbs, or is that something you are not attempting to solve yet?

### [jaylane](<https://news.ycombinator.com/item?id=49350354>)

> tried it out but based on the model sizing result i got i got an insufficient memory error when the server started running

---

## Cite

- Page: https://zeli.app/story/49346135
- Date: 2026-08-18
- Source: notactuallytreyanastasio.github.io (https://notactuallytreyanastasio.github.io/shoehorn/)
- Hacker News: https://news.ycombinator.com/item?id=49346135

## Other languages

- zh: https://zeli.app/zh/story/49346135 · markdown: https://zeli.app/zh/story/49346135.md
- ja: https://zeli.app/ja/story/49346135 · markdown: https://zeli.app/ja/story/49346135.md
- ko: https://zeli.app/ko/story/49346135 · markdown: https://zeli.app/ko/story/49346135.md
- de: https://zeli.app/de/story/49346135 · markdown: https://zeli.app/de/story/49346135.md
- es: https://zeli.app/es/story/49346135 · markdown: https://zeli.app/es/story/49346135.md
- ru: https://zeli.app/ru/story/49346135 · markdown: https://zeli.app/ru/story/49346135.md
