# Gemma 3 4B on NVIDIA B200 (180 GB SXM)

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

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 4.4 GB of 175 GB usable (3%)
  - Weights: 3.1 GB (published file size, gemma3:4b)
  - KV cache: 0.4 GB (exact)
  - Overhead: 0.9 GB
- Speed: 232–386 tok/s for one request (estimated)
- Largest context that fits: 128K

## Run it

```sh
ollama run gemma3:4b
```

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

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

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | — | $0.04 power only |
| Cloud GPU | $0.18 | 1x RTX 3090 (24 GB) on Vast.ai, $0.18/hr (provider API, 2026-11-30) |
| API | $0.04 | OpenRouter `google/gemma-3-4b-it`: $0.04 in / $0.05 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 B200 (180 GB SXM) on Amazon](https://www.amazon.com/s?k=NVIDIA%20B200)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Gemma 3 4B on OpenRouter](https://openrouter.ai/google/gemma-3-4b-it)
- [Open in the calculator](https://llmsizing.com/?m=gemma-3-4b&hw=nvidia-b200-192gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/gemma-3-4b/on/nvidia-b200-192gb)

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