MODEL · GPU GUIDE

gpt-neox-20b GPU Requirements: VRAM & Cheapest GPU

gpt-neox-20b has about 20.7B parameters. See exactly how much GPU memory it needs at FP16, INT8, and INT4, and the cheapest GPU to run it, with live hourly pricing from 5+ data center partners.

Parameters
20.7B
Min VRAM (INT4)
11 GB
Cheapest (INT8)
$0.48/hr
Deploy
< 2 min
EleutherAI/gpt-neox-20b
VIEW ON HUGGINGFACE ↗
20.7B paramstext-generationgpt_neox674.8K downloads586 likesupdated

To run gpt-neox-20b for inference at FP16, you need roughly 45 GB of VRAM. The cheapest fit on Spheron AI is RTX 6000 Ada 48GB at about $0.78/hr. Quantize to INT4 to run it on a smaller, cheaper GPU.

VRAM required

FP16INFERENCEBATCH 1CTX 4k

Estimated peak VRAM including weights, activations, and KV cache. Add 10% headroom for production traffic.

RANKCONFIGURATIONPER GPUTOTAL $/HR
  • 01
    1× RTX 6000 Ada 48GBCHEAPEST
    Ada Lovelace · GDDR6 ECC
    $0.78/hr$0.78/hr
  • 02
    1× L40S 48GB
    Ada Lovelace · GDDR6
    $0.96/hr$0.96/hr
  • 03
    2× RTX 4090 24GB
    Ada Lovelace · GDDR6X
    $0.48/hr$0.96/hr
  • 04
    1× A100 80GB
    Ampere · HBM2e
    $1.43/hr$1.43/hr
  • 05
    2× RTX 5090 32GB
    Blackwell · GDDR7
    $0.78/hr$1.56/hr

Live pricing aggregated from 5+ data center partners. Per-minute billing, no commitments.

VRAM required to run gpt-neox-20b

Estimated peak VRAM at context length 4,096 and batch size 1, including weights, activations, and KV cache. Quantizing to INT8 (Q8) or INT4 (Q4) cuts memory roughly in half and in quarter.

PrecisionInferenceLoRA fine-tuneFull fine-tune
FP1645 GB68 GB181 GB
INT823 GB34 GB90 GB
INT411 GB17 GB45 GB

Cheapest GPU to run gpt-neox-20b by precision

FP16

45GB

VRAM required

Full precision. Best quality, highest memory.

INT8

23GB

VRAM required

8-bit quantized. ~2x smaller, minimal quality loss.

INT4

11GB

VRAM required

4-bit quantized. ~4x smaller, runs on smaller GPUs.

Inference vs fine-tuning gpt-neox-20b

Inference1×Weights + KV cache
LoRA fine-tune~1.5×+ low-rank adapter
Full fine-tune~4×+ gradients + optimizer state

Inference only holds the model weights plus a KV cache, so it is the cheapest setup. LoRA fine-tuning adds a small adapter and roughly 50% more memory. Full fine-tuning holds gradients and optimizer state on top of the weights, which is about 4x the inference footprint, so it often needs multiple GPUs even when inference fits on one. For gpt-neox-20b, an on-demand RTX 6000 Ada 48GB instance covers inference and LoRA, while a full fine-tune needs several times that memory and often spans multiple GPUs. Check the live GPU pricing for current rates.

Similar models

Compare GPU requirements for models in the same class.

FAQ / 10

gpt-neox-20b GPU questions

VRAM, GPU choice and cost questions for running gpt-neox-20b on cloud GPUs.

gpt-neox-20b has about 20.7B parameters. At FP16 it needs roughly 45 GB of VRAM for inference, including weights, activations, and KV cache. Quantized to INT4 that drops to around 11 GB. Leave about 10% headroom for production traffic.

For FP16 inference, the cheapest fit on Spheron AI is RTX 6000 Ada 48GB at about $0.78/hr. If you quantize to INT4, RTX 4090 24GB at about $0.48/hr runs it for less. Pricing is aggregated live from 5+ data center partners with per-minute billing.

LoRA fine-tuning adds roughly 50% on top of inference memory, so it usually fits the same class of GPU. Full fine-tuning holds gradients and optimizer state and needs about 4x the inference VRAM, which often means multiple GPUs for gpt-neox-20b. The VRAM matrix above shows the exact estimate for each setup.

We read the parameter count directly from the model's safetensors metadata on HuggingFace, then estimate peak VRAM from weights, activations, KV cache, and framework overhead at your chosen precision. The estimate lands within about 15% of real-world use for most transformer models.

Quantized to INT4, gpt-neox-20b needs about 11 GB of VRAM, so it fits on a 24 GB RTX 4090 with room for a small batch. At FP16 it needs roughly 45 GB, which usually means a data center GPU. The precision picks above list the cheapest GPU that fits each setup.

Yes. At FP16 gpt-neox-20b needs about 45 GB of VRAM, which fits one 80 GB H100 with about 35 GB left for longer contexts and larger batches. The precision picks above show the cheapest GPU that fits each setup on Spheron AI.

gpt-neox-20b needs one 80 GB GPU at FP16 (about 45 GB of VRAM), one 80 GB GPU at INT8 (23 GB) and one 80 GB GPU at INT4 (11 GB). All of these fit inside a single 8-GPU node, so no multi-node setup is needed for inference. Smaller cards such as 48 GB or 24 GB GPUs need proportionally more of them.

gpt-neox-20b needs about 23 GB of VRAM at INT8, roughly half its FP16 footprint of 45 GB. The cheapest INT8 fit on Spheron AI is RTX 4090 24GB at about $0.48/hr. INT8 is the usual middle ground: half the memory of FP16, with a smaller quality drop than 4-bit quantization.

Running gpt-neox-20b around the clock at FP16 costs about $569 a month on RTX 6000 Ada 48GB (730 hours at $0.78/hr). Quantized to INT4 it costs about $350 a month on RTX 4090 24GB (730 hours at $0.48/hr). Spheron AI bills per minute, so stopping the instance when it is idle cuts that figure directly.

gpt-neox-20b needs about 45 GB at FP16, 23 GB at INT8 and 11 GB at INT4. Use FP16 when output quality matters most or you plan to fine-tune, INT8 for most production inference, and INT4 when cost or GPU size is the constraint: the cheapest INT4 fit is RTX 4090 24GB at about $0.48/hr.