Llama-3.1-8B-Instruct-4bit
The Model mlx-community/Llama-3.1-8B-Instruct-4bit was converted to MLX format from meta-llama/Llama-3.1-8B-Instruct using mlx-lm version 0.21.4.
Params
1.3 B
Context
131,072
Downloads 30d
905 K
Likes
4
Download history
daily snapshots · 9 days905 K185 K
Sep 1Sep 4Sep 7Sep 9
Can you run it?
Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.
| File | Quant | Size | Est. VRAM | Verdict on RTX 4090 · 24 GB |
|---|---|---|---|---|
| model.safetensors | u32 | 4.5 GB | 5.7 GB | ✅ Runs comfortably |
| model.safetensors (bf16, full) | bf16 + 128K ctx | 4.5 GB | 8.5 GB | ✅ Runs comfortably |
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.
Run it
copy-paste, exact tags checked against the Hub$ curl -s https://aimodelscomparison.com/api/v1/models/llama-3-1-8b-instruct-4bit
{
"hf_id": "mlx-community/Llama-3.1-8B-Instruct-4bit",
"params_b": 1.25,
"context_length": 131072,
"license": { "id": "llama3.1", "commercial": "conditional" },
"downloads_30d": 904691,
"vram_estimates": [
{ "quant": "u32", "gb": 5.7 }
],
"updated_at": "2026-09-01T01:00:33Z"
}
Specifications
- Architecture
- LlamaForCausalLM
- Parameters
- 1.3 B
- Tensor type
- U32
- Context length
- 131,072
- Vocabulary
- 128,256
- Layers / heads
- 32 / 32
- Licence
- llama3.1
- First seen on the Hub
- 2025-02-15
- Base model
- Llama-3.1-8B-Instruct
- Training datasets
- undisclosed
- Added to our catalog
- 2026-09-01
Family
Base model and the most-downloaded derivatives in the catalog.
Compare with
Sponsored · GPU cloud
Not enough VRAM?
Spin up a 24 GB L4 instance in 40 seconds. $0.44/hr.