# Llama 3 8B Instruct on NVIDIA GeForce RTX 5070 (12 GB)

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

- Runtime: Ollama, Q4_K_M, 8K context
- Memory: 6.5 GB of 11.2 GB usable (58%)
  - Weights: 4.6 GB (published file size, llama3:8b-text-q4_K_M)
  - KV cache: 1.0 GB (exact)
  - Overhead: 1.0 GB
- Speed: 88–119 tok/s for one request (calibrated)
- Largest context that fits: 8K

## Run it

```sh
ollama run llama3:8b-text-q4_K_M
```

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

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

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | $2.97 | $0.04 power only; $1,580 hardware over 36 months |
| 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 5070 (12 GB) on Amazon](https://www.amazon.com/s?k=NVIDIA%20RTX%205070%2012GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [Open in the calculator](https://llmsizing.com/?m=llama-3-8b&hw=rtx-5070-12gb&q=q4_k_m&ctx=8192)
- [Full page](https://llmsizing.com/models/llama-3-8b/on/rtx-5070-12gb)

Source: [llmsizing.com](https://llmsizing.com/models/llama-3-8b/on/rtx-5070-12gb), data synced 2026-11-30.
