# Gemma 3 12B on NVIDIA H100 (80 GB SXM)

**Fits comfortably.** 67.5 GB headroom left for a longer context or other apps.

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 10.0 GB of 77.5 GB usable (13%)
  - Weights: 7.6 GB (published file size, gemma3:12b)
  - KV cache: 1.3 GB (exact)
  - Overhead: 1.1 GB
- Speed: 105–142 tok/s for one request (calibrated)
- Largest context that fits: 128K

## Run it

```sh
ollama run gemma3:12b
```

Setup guide: https://llmsizing.com/guides/ollama

## Cost per 1M tokens at 500K tokens/day

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | $70.82 | $0.08 power only; $38,200 hardware over 36 months |
| Cloud GPU | $0.25 | 1x RTX 3090 (24 GB) on Vast.ai, $0.18/hr (provider API, 2026-11-30) |
| API | $0.08 | OpenRouter `google/gemma-3-12b-it`: $0.05 in / $0.15 out |

Assumes 75% input and 25% output tokens, one request at a time, $0.18/kWh, hardware written off over 36 months.

## Links

- [Check prices for NVIDIA H100 (80 GB SXM) on Amazon](https://www.amazon.com/s?k=NVIDIA%20H100%2080GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Gemma 3 12B on OpenRouter](https://openrouter.ai/google/gemma-3-12b-it)
- [Open in the calculator](https://llmsizing.com/?m=gemma-3-12b&hw=nvidia-h100-80gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/gemma-3-12b/on/nvidia-h100-80gb)

Source: [llmsizing.com](https://llmsizing.com/models/gemma-3-12b/on/nvidia-h100-80gb), data synced 2026-11-30.
