llama3.1-8b vs mistral-7b on RTX 4090
Compare llama3.1-8b and mistral-7b running locally on RTX 4090 (24GB VRAM) — tokens/sec, VRAM fit, and quality scores for local inference.
Compare a different combination
| Quant | Q4_K_M |
| VRAM required | 5GB |
| Fits on RTX 4090 | ✓ |
| Quality score | 48 / 100 |
| Eval sources | MMLU · MMLU-Pro · IFEval · GSM8K · ARC-C · HumanEval · MBPP+ |
| Data | Community benchmark |
| Quant | Q4_K_M |
| VRAM required | 4.7GB |
| Fits on RTX 4090 | ✓ |
| Quality score | 65 / 100 |
| Eval sources | MMLU · GSM8K · ARC-C · TruthfulQA · HumanEval |
| Data | Community benchmark |
Add a source link or correction so this page can rank with real hardware-specific data instead of estimates.
Contribute GPU comparison dataGPU comparison FAQ
Which is faster on RTX 4090: llama3.1-8b or mistral-7b?
mistral-7b is faster on RTX 4090 in this dataset (152 vs 148 tok/s decode).
Do both models fit on RTX 4090?
llama3.1-8b: ✓. mistral-7b: ✓. The fit labels use Q4_K_M VRAM estimates and the benchmark data available for this GPU.
How much VRAM do these models need?
llama3.1-8b needs about 5GB in Q4_K_M; mistral-7b needs about 4.7GB in Q4_K_M.
Why can speed differ by GPU?
Local LLM speed depends on GPU memory bandwidth, backend, quantization, context length, and whether the model fits entirely in VRAM or unified memory.
How can I correct this comparison?
Use the GitHub correction link on this page with your GPU, model, quantization, context length, and measured decode tokens per second.