1× RTX 3060
$0.036per hour
- Speed
- ~29 tok/sAbout reading pace
- Per million tokens
- $0.33
Vast.ai · Marketplace · 99.8% reliable
Rent on Vast.aiLowest cost per token at 20+ tok/s
LLM//BOTTLENECK
IT FITS
Yes. 1 of 9 formats evaluated fit in 8 GB, at 8,192 tokens. No published file exists for this pair, so every size is rebuilt from the pinned architecture. The best quality that fits is Q2_K, needing 6.70 GB and running at an estimated 74 tokens per second.
Fitting in memory is not the same as loading. Whether the runtime and version you have supports this architecture and format on this machine has not been tested here.
Find the NVIDIA GeForce RTX 3070 Ti: Amazon ↗ · eBay (new and used) ↗Store links may pay us a commission. They never decide which card is suggested — the memory arithmetic does.
The NVIDIA GeForce RTX 3070 Ti only holds it at Q2_K, at an estimated ~74 tokens per second. A rented card runs a better format at full speed, billed by the second.
Your card Or keep Q4_K_M on your own card: with about 2 GB of it in system RAM, the NVIDIA GeForce RTX 3070 Ti runs it at ~24 tokens per second (about reading pace) — free, if you have the RAM. A rented card below holds all of it on the GPU. Size the offload →
$0.036per hour
Vast.ai · Marketplace · 99.8% reliable
Rent on Vast.aiLowest cost per token at 20+ tok/s
$0.082per hour
Vast.ai · Marketplace · 98.3% reliable
Rent on Vast.aiCheapest at 1.6× the speed or more
$7.89per hour
RunPod · Secure Cloud
Rent on RunPodHighest speed estimate
Compare all 28 rentable configurations →
No Q4_K_M file of gemma-4-12B-it is catalogued here, so there is no exact command to vouch for. Start the machine from the llama.cpp server image ghcr.io/ggml-org/llama.cpp:server-cuda and point -hf at a Q4_K_M build from the publisher or a quantizer you trust — search Hugging Face for one. Check its file size against the memory figure on this page before you rent.
Every machine holds the whole model at Q4_K_M and 8,192 tokens of context, no offload. Speeds are this site’s single-stream decode estimates; prices are what each provider’s own API quoted, on-demand, for the whole machine. Vast hosts below 98% measured reliability are left out.
Referral links Vast.ai, RunPod and Novita pay us a share of what you spend if you sign up through these buttons. It costs you nothing, and it never decides an order or a recommendation: both are computed from the live price and the speed, and options that pay us nothing are listed and recommended on the same terms. How we rank
The models nearest to gemma-4-12B-it — same lab first, then closest in size — that the NVIDIA GeForce RTX 3070 Ti holds whole at the standard format and runs at a usable speed. Nearest in size is not the same as equally good; compare them on the task you care about.
How long a conversation. At Q2_K, this pair holds 28,079 tokens of context — roughly 21,059 words — needing 8.00 GB. Past that the NVIDIA GeForce RTX 3070 Ti runs out of memory, not the model out of context, which would allow 262,144. This is the wall a long chat hits after it has already loaded fine. The nearest round setting below it is 16,384.
No published file exists for this pair, so every size is rebuilt from the pinned architecture. The Basis column says which is which for each row. Decode and first-token figures are calibrated estimates, not runs on this card.
| Format | Needs | Of 8 GB | Fits | Decode | First token | Basis |
|---|---|---|---|---|---|---|
| FP16 | 27.2 GB | 340% | short by 19.2 GB | does not run | — | reconstructed size |
| Q8_0 | 15.3 GB | 191% | short by 7.25 GB | does not run | — | reconstructed size |
| Q6_K | 12.2 GB | 152% | short by 4.16 GB | does not run | — | reconstructed size |
| Q5_K_M | 10.8 GB | 135% | short by 2.81 GB | does not run | — | reconstructed size |
| Q5_0 | 10.6 GB | 132% | short by 2.60 GB | does not run | — | reconstructed size |
| Q4_K_M | 9.54 GB | 119% | short by 1.54 GB | does not run | — | reconstructed size |
| Q4_0 | 9.13 GB | 114% | short by 1.13 GB | does not run | — | reconstructed size |
| Q3_K_M | 8.19 GB | 102% | short by 0.19 GB | does not run | — | reconstructed size |
| Q2_K | 6.70 GB | 84% | yes | ~74 tok/s | no comparable peak | reconstructed size |
Sized at 8,192 tokens of context with the whole model resident — weights, the KV cache and the runtime reserve, offload off. Speed is only quoted for a format that fits: a rate for a configuration that cannot load is not a fact about anything.
First token is modelled from the arithmetic the prompt requires, and that count does not change with the weight format — which is why it reads the same on every row. Real prefill does vary by format, because a quantized matmul is a different kernel; this model does not capture that, and the figure should be read as an order of magnitude rather than a ranking between formats.
This page fixes the context at 8,192 tokens and one device. Batch, concurrent users, KV-cache format, clusters and rental cost are all in the calculator, already set to this pairing.
Open in the calculator →Everything the NVIDIA GeForce RTX 3070 Ti runsBest models for 8 GB
gemma-4-12B-it’s architecture is read from its publisher’s own config.json at a pinned revision, and the NVIDIA GeForce RTX 3070 Ti’s 8 GB and 608 GB/s come from the manufacturer’s specification. How far each figure can be trusted is published, per format and worst case included, on the accuracy scorecard.
Building this into your own product? A free API key returns exactly these figures, and the widget puts this answer on a product page with one script tag.
curl -s https://llmbottleneck.com/v1/analyze \
-H "Authorization: Bearer $LLMB_KEY" -H "content-type: application/json" \
-d '{"model":"google-gemma-4-12b-it","quantization":"Q2_K","context":8192,"hardware":"nvidia-geforce-rtx-3070-ti"}'Same engine, same evidence, every field sourced. Free key in one step →
<script src="https://llmbottleneck.com/widget.js" data-model="google-gemma-4-12b-it" data-quantization="Q2_K" data-hardware="nvidia-geforce-rtx-3070-ti" data-context="8192"></script>
No key needed. Unbranded, with your own buy button, on Pro and Business →