# Gemma 2 9B on NVIDIA GeForce RTX 4060 (8 GB)

**Partial offload.** 1.7 GB over usable VRAM. The remaining layers run on CPU and system RAM at a fraction of the speed.

- Runtime: Ollama, Q4_K_M, 8K context
- Memory: 9.0 GB of 7.3 GB usable (123%)
  - Weights: 5.4 GB (published file size, gemma2:9b-text-q4_K_M)
  - KV cache: 2.6 GB (exact)
  - Overhead: 1.0 GB
- Speed: 6.6–12.0 tok/s for one request (estimated)
- GPUs needed: 2

## Run it

```sh
ollama run gemma2:9b-text-q4_K_M
```

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

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

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | — | does not fit |
| Cloud GPU | $0.18 | 1x RTX 3090 (24 GB) on Vast.ai, $0.18/hr (provider API, 2026-11-30) |
| API | — | not on OpenRouter |

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 GeForce RTX 4060 (8 GB) on Amazon](https://www.amazon.com/s?k=NVIDIA%20RTX%204060%208GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Open in the calculator](https://llmsizing.com/?m=gemma-2-9b&hw=rtx-4060-8gb&q=q4_k_m&ctx=8192)
- [Full page](https://llmsizing.com/models/gemma-2-9b/on/rtx-4060-8gb)

Source: [llmsizing.com](https://llmsizing.com/models/gemma-2-9b/on/rtx-4060-8gb), data synced 2026-11-30.
