# Gemma 4 31B on NVIDIA GeForce RTX 3080 (10 GB)

**Too large.** Needs 22.6 GB against 9.2 GB usable VRAM. Pick a lower quantization, add GPUs or rent a cloud GPU.

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 22.6 GB of 9.2 GB usable (246%)
  - Weights: 19.0 GB (published file size, gemma4:31b)
  - KV cache: 2.0 GB (approximate)
  - Overhead: 1.6 GB
- GPUs needed: 3

## Run it

```sh
ollama run gemma4:31b
```

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.58 | 1x RTX 3090 (24 GB) on Vast.ai, $0.18/hr (provider API, 2026-11-30) |
| API | $0.25 | OpenRouter `google/gemma-4-31b-it`: $0.20 in / $0.40 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 GeForce RTX 3080 (10 GB) on Amazon](https://www.amazon.com/s?k=NVIDIA%20RTX%203080%2010GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Gemma 4 31B on OpenRouter](https://openrouter.ai/google/gemma-4-31b-it)
- [Open in the calculator](https://llmsizing.com/?m=gemma-4-31b&hw=rtx-3080-10gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/gemma-4-31b/on/rtx-3080-10gb)

Source: [llmsizing.com](https://llmsizing.com/models/gemma-4-31b/on/rtx-3080-10gb), data synced 2026-11-30.
