FitMyLLM
Meta/Dense

MetaLlama 2 7B

Meta Llama 2 7B — solid general-purpose model, massive community ecosystem.

chat
6.74B
Parameters
4K
Context length
13
Benchmarks
6
Quantizations
0
Architecture
Dense
Released
2023-07-18
Layers
32
KV Heads
32
Head Dim
128
Family
llama

Quantization Options

QuantBitsVRAM @ 4KQuality
Q4_K_M4.89
4.6 GB
good
Q5_K_S5.57
5.2 GB
good
Q5_K_M5.7
5.3 GB
good
Q6_K6.56
6.0 GB
excellent
Q8_08.5
7.6 GB
lossless
FP1616
14.0 GB
lossless

Select your GPU above to see speed estimates and compatibility for each quantization.

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
Ready to run this?Rent by the hour

Rent a GPU and run Llama 2 7B now

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (13)

Run this model

Easiest way to get started·Beginners
Docs ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run llama2:7b-chat-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

Setup guide
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla K20c
5 GB VRAM • 208 GB/s
NVIDIA
NVIDIA Tesla K20m
5 GB VRAM • 208 GB/s
NVIDIA
NVIDIA Tesla K20s
5 GB VRAM • 208 GB/s
NVIDIA
NVIDIA Tesla C2070
6 GB VRAM • 143 GB/s
NVIDIA
NVIDIA Tesla C2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla C2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla M2070
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2070-Q
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2070
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla K20X
6 GB VRAM • 250 GB/s
NVIDIA
NVIDIA Tesla K20Xm
6 GB VRAM • 250 GB/s
NVIDIA

Find the best GPU for Llama 2 7B

Build Hardware for Llama 2 7B

Meta Llama 2 7B — solid general-purpose model, massive community ecosystem.

Spec sheet

Llama 2 7B — 6.74B Dense.

Specifications
Parameters
6.74B
Architecture
Dense Transformer
Context Length
4K tokens
Capabilities
chat
Release Date
2023-07-18
Provider
Meta
Family
llama
VRAM requirements
QuantBPWVRAMQuality
Q4_K_M4.894.6 GB94%
Q5_K_S5.575.2 GB96%
Q5_K_M5.75.3 GB96%
Q6_K6.566.0 GB97%
Q8_08.57.6 GB100%
FP161614.0 GB100%
Benchmark scores
HumanEval35.4
MMLU-PRO31.1
MATH15.6
IFEval49.2
BBH29.4
GPQA8.7
MUSR8.6
MBPP46.8
Arena Elo1052
LiveCodeBench0.2
AIME0.0
GPQA Diamond22.7
HLE5.8
Run command

Run Llama 2 7B locally with Ollama — needs 4.6 GB VRAM at Q4_K_M:

$ollama run llama2:7b
Compatible GPUs
30 @ Q4_K_M