Free | No tracking | Every fact with a source|German and English

Does Llama 3.1 8B Instruct run on the RTX 4090?

fits Yes. Llama 3.1 8B Instruct fits as FP16 completely into the 24 GB of the RTX 4090. It needs about 18,6 GB (estimated).

VRAM
24 GB
RTX 4090
Need
18,6 GB
FP16 (estimated)
Type
Text and chat
Meta
License
With conditions
Llama 3.1 Community License

Which version fits in 24 GB?

VersionMemory requirementsOn the RTX 4090
Q4_K_M6,4 GB (estimated)fits
Q8_010,3 GB (estimated)fits
FP1618,6 GB (estimated)fits

Calculated with 0,6 GB reserved for Windows and the browser. “Tight” means it runs with swapping to RAM, but slower. How we calculate

How much context fits in there?

Besides the model itself, the “memory” for the previous chat also needs VRAM. With FP16, about 32.768 tokens (around 25.000 words) fit entirely on the RTX 4090.

Context (token)Total memoryOn the RTX 4090
4.09618,1 GBfits
8.19218,6 GBfits
16.38419,6 GBfits
32.76821,6 GBfits
65.53625,6 GBtight
131.07233,6 GBtoo large

Estimated from the model architecture (Hugging Face config.json), context memory in 16-bit. With the Context calculator, you can try other settings.

How fast is the RTX 4090 for that?

For language models, Memory bandwidth matters most for speed, meaning how fast the card can read the model data. The RTX 4090 handles 1.008 GB/s. This only applies as long as the model fits entirely in VRAM.

Manufacturer info.

No measurement of Llama 3.1 8B Instruct on the RTX 4090 yet. Be the first to enter how fast it runs on your system.

How to start

Runs with: Ollama.

Step by step: Set up Ollama and Open WebUI

More combinations

Llama 3.1 8B Instruct on other cards

Other models on the RTX 4090

Frequently Asked Questions

Does Llama 3.1 8B Instruct run on the RTX 4090?

Yes. Llama 3.1 8B Instruct fits as FP16 completely into the 24 GB of the RTX 4090. It needs about 18,6 GB (estimated).

How much VRAM does Llama 3.1 8B Instruct need?

Depending on the version, between about 6,4 GB (Q4_K_M) and 18,6 GB (FP16). Smaller versions are more compressed and a bit less accurate.

How much text can Llama 3.1 8B Instruct process at once on the RTX 4090?

With FP16, about 32.768 tokens of context fit entirely in VRAM, which is around 25.000 words (estimated). More is possible, but it will be slower.

Can I sell results created with Llama 3.1 8B Instruct?

With conditions – Llama 3.1 Community License. Commercial use allowed, but: Acceptable Use Policy, a Meta license required starting at 700 million monthly active users, and if you redistribute, show 'Built with Llama' and have Llama-based models start with 'Llama' in the name.