Can NVIDIA RTX 4090 run granite-3b-code-base-2k?
granite-3b-code-base-2k (3.5B parameters) requires ~4 GB VRAM in 4-bit and ~6 GB in FP8. One NVIDIA RTX 4090 provides 24 GB GDDR6X (1.01 TB/s). Running it in 4-bit starts at $0.38/hr (1×) on TensorDock.
VRAM & cloud cost by quantization
| Precision | VRAM needed | GPUs required | Total VRAM | Est. speed | Lowest cloud price | Monthly (730h) |
|---|---|---|---|---|---|---|
| 4-bit (Q4 / AWQ) | 4 GB | 1× RTX 4090 | 24 GB (+20 GB) | ~250 tok/s | $0.38/hr | $277/mo |
| FP8 / INT8 | 6 GB | 1× RTX 4090 | 24 GB (+18 GB) | ~173 tok/s | $0.38/hr | $277/mo |
| Full FP16 / BF16 | 10 GB | 1× RTX 4090 | 24 GB (+14 GB) | ~87 tok/s | $0.38/hr | $277/mo |
Where to rent NVIDIA RTX 4090 right now
Memory, quantization & KV-cache analysis
VRAM fit & context headroom: granite 3b code base 2k (3.5B parameters) needs roughly 4 GB in 4-bit (AWQ/GGUF), 6 GB in FP8, and 10 GB in full FP16/BF16. On 1× NVIDIA RTX 4090 (24 GB total GDDR6X), 4-bit weights leave 20 GB of free VRAM for activations and KV cache, enough for roughly 64K tokens at low-to-moderate batch concurrency.
Hardware precision & compute: NVIDIA RTX 4090 (Ada Lovelace) includes native FP8 Tensor Cores rated at 660 TFLOPS, allowing FP8 weights and activations without software dequantization overhead.
Multi-GPU scaling & bandwidth: Running on a single RTX 4090 avoids inter-GPU all-reduce synchronization overhead entirely, maximizing decode efficiency per dollar. Because autoregressive token generation is memory-bandwidth bound, 1× RTX 4090 provides 1.01 TB/s of aggregate memory bandwidth, yielding ~250 tok/s single-stream in 4-bit.
Cheaper cloud alternative check
Save with 1× NVIDIA L4: While 1× RTX 4090 starts at $0.38/hr, you can run granite-3b-code-base-2k (4-bit, 4 GB) for $0.32/hr ($234/mo) using 1× NVIDIA L4 on Vast.ai saving $0.06/hr.
Quick-start vLLM launch command (FP8 / INT8)
Deploy granite-3b-code-base-2k on 1× RTX 4090 (24 GB total VRAM) using vLLM:
vllm serve ibm-granite/granite-3b-code-base-2k \
--quantization fp8 \
--max-model-len 16384 \
--gpu-memory-utilization 0.92 Frequently asked questions
Can NVIDIA RTX 4090 run granite-3b-code-base-2k?
Yes: runs on 1× RTX 4090 (FP16, FP8 & 4-bit). granite-3b-code-base-2k (3.5B params) needs ~4 GB VRAM in 4-bit (1× RTX 4090 at $0.38/hr) and ~6 GB in FP8 (1× RTX 4090).
How fast does granite-3b-code-base-2k run on RTX 4090?
In 4-bit on 1× RTX 4090 (1.01 TB/s aggregate memory bandwidth), estimated single-stream decode speed is ~250 tokens/sec (or ~173 tok/s in FP8 across 1× RTX 4090).
How much does it cost to rent RTX 4090 for granite-3b-code-base-2k?
Running granite-3b-code-base-2k in 4-bit (1× RTX 4090) starts at $0.38/hr ($277/month 24/7) on TensorDock.
Should I use 4-bit or FP8 for granite-3b-code-base-2k on RTX 4090?
NVIDIA RTX 4090 (Ada Lovelace) includes native FP8 Tensor Cores rated at 660 TFLOPS, allowing FP8 weights and activations without software dequantization overhead. With 18 GB of remaining VRAM in FP8 / INT8, you have room for roughly 64K tokens of KV-cache context.