# Embed the fit checker

> A card and a README badge for whether a model at a quant fits on a device at a context, using the configurator formulas.

Canonical: https://thelocalbench.com/embed · Data as of 2026-11-19 · The Local Bench (thelocalbench.com), data as of 2026-11-19, CC BY 4.0

Flags: [verified] checked against primary source · [sourced] cited · [estimate] formula · [sample] placeholder

## Snippets

iframe:

```html
<iframe src="https://thelocalbench.com/embed/fit?model=gemma-3-27b&hw=rtx-3090-24g-used&q=Q4_K_M&ctx=8192" title="Will it fit: Gemma 3 27B IT on GeForce RTX 3090 24 GB (used)" height="168" style="width:100%;max-width:420px;border:0" loading="lazy"></iframe>
```

Script and div:

```html
<script src="https://thelocalbench.com/embed.js" async></script>
<div data-tlb-fit data-model="gemma-3-27b" data-hw="rtx-3090-24g-used" data-q="Q4_K_M" data-ctx="8192"></div>
```

Markdown badge:

```md
[![Will it fit](https://thelocalbench.com/embed/badge.svg?model=gemma-3-27b&hw=rtx-3090-24g-used&q=Q4_K_M&ctx=8192)](https://thelocalbench.com/models/gemma-3-27b?ref=badge)
```

JSON: https://thelocalbench.com/api/v1/fit.json?model=gemma-3-27b&hw=rtx-3090-24g-used&q=Q4_K_M&ctx=8192

## Rules

- 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.

Query: model, hw, q (quant), ctx (tokens), kv (F16, q8_0 or q4_0), theme (light or dark, card only).
