# gpt-oss-20b (MoE) on NVIDIA L40S (48 GB)

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

- Runtime: Ollama, Q4_K_M, 16K context
- Memory: 14.6 GB of 46.2 GB usable (32%)
  - Weights: 12.8 GB (published file size, gpt-oss:20b)
  - KV cache: 0.4 GB (exact)
  - Overhead: 1.3 GB
- Speed: 118–245 tok/s for one request (estimated)
- Largest context that fits: 128K

## Run it

```sh
ollama run gpt-oss:20b
```

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

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

| Path | $/1M tokens | Detail |
| --- | --- | --- |
| Local | $30.59 | $0.03 power only; $16,500 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 | $0.13 | OpenRouter `openai/gpt-oss-20b`: $0.07 in / $0.30 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 L40S (48 GB) on Amazon](https://www.amazon.com/s?k=NVIDIA%20L40S%2048GB)
- [Rent 1x RTX 3090 (24 GB) on Vast.ai](https://cloud.vast.ai/create/)
- [gpt-oss-20b (MoE) on OpenRouter](https://openrouter.ai/openai/gpt-oss-20b)
- [Open in the calculator](https://llmsizing.com/?m=gpt-oss-20b&hw=nvidia-l40s-48gb&q=q4_k_m&ctx=16384)
- [Full page](https://llmsizing.com/models/gpt-oss-20b/on/nvidia-l40s-48gb)

Source: [llmsizing.com](https://llmsizing.com/models/gpt-oss-20b/on/nvidia-l40s-48gb), data synced 2026-11-30.
