Back to Models

Meta Llama · open weights

Llama 2 7B

7B params4,096 ctx

Family
Meta Llama
Lab
Meta Llama
Parameters
7B
Max context
4,096 tokens

Quick answer: what should I run it on?

Cheapest popular Mac

Qualcomm Snapdragon 8 Gen 3 Leading Version

$0 · runs it at FP8, near-full quality, half the size of FP16.

Cheapest popular GPU

Intel Arc A770 8GB

$299 · runs it at FP4, the usual sweet spot of size and quality.

Estimated at a 4096-token context. New to quantization? Read the plain-words guide.

How much memory it needs

A quantization is the same model stored with fewer bits per number. Fewer bits use less memory but lose some output quality. Each card shows the estimated memory for Llama 2 7B, including KV-cache headroom at a 4096-token context.

Hatched bars are estimates. For comparison, a 24 GB GPU has about 21.6 GB usable.

Fit on popular hardware at FP4

Each bar shows how much of a device's usable memory this model takes at FP4, the format most people download first. The tick marks the usable limit, and a bar that reaches past it means the model does not fit.

Every quantization × popular device

These verdicts are estimated at a 4096-token context. How fit is calculated

All hardware →
QuantizationMac Mini M4Mac Mini M4 32GBMac Mini M4 ProMac Studio M5 MaxMac Studio M5 UltraMacBook Pro M4 14-inchMacBook Pro M4 Max 16-inch
FP32✕ Does not fit◐ Partial offload◐ Partial offload◐ Partial offload✓ Runs✕ Does not fit✓ Runs
FP16◐ Partial offload✓ Runs✓ Runs✓ Runs✓ Runs◐ Partial offload✓ Runs
BFLOAT16◐ Partial offload✓ Runs✓ Runs✓ Runs✓ Runs◐ Partial offload✓ Runs
FP8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
FP4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
NF4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT2✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs

Not seeing your device? Check every device we track

Measured throughput

No one has submitted a measured benchmark for this model yet. The fit table above is an estimate.

Other Meta Llama models

Similar-sized models from other families