Will it fit?
Embed the fit checker
A card other sites can paste. It answers whether a model at a given quant fits on a device at a given context, and roughly how fast it decodes. Same formulas as the configurator, with a link back to the datasheets.
Choose a model and a device. The snippets update as you change them.
Longer context uses more memory for the KV cache.
Preview
Snippets
iframe
<iframe src="https://thelocalbench.com/embed/fit?model=gemma-3-27b&hw=mac-studio-m5-ultra&q=Q4_K_M&ctx=8192" title="Will it fit: Gemma 3 27B IT on Mac Studio M5 Ultra (base)" height="168" style="width:100%;max-width:420px;border:0" loading="lazy"></iframe>Script
<script src="https://thelocalbench.com/embed.js" async></script>
<div data-tlb-fit data-model="gemma-3-27b" data-hw="mac-studio-m5-ultra" data-q="Q4_K_M" data-ctx="8192"></div>Markdown badge
[](https://thelocalbench.com/models/gemma-3-27b?ref=badge)Rules
The card is free to use on another site.
- Free to use with the attribution link intact.
- The data, the card and the badge are under the CC BY 4.0 licence.
- No tracking. The embed does not read or set cookies, and it does not call any origin other than this site.
- Estimates are flagged. A verified or sourced measurement replaces the formula only for that model, quant and context. A sample figure is never shown as a speed.