Skip to content
Updated minutes ago
ReleasedSeptember 25, 2024Verified 3mo ago · huggingface.co
Meta

Llama 3.2 1B

Meta · dense · 1.24B parameters · 131,072 context

Quality
38.0

Parameters

1.24B

Context Window

128K tokens

Architecture

Dense

Best GPU

RTX 4070 Ti

Cheapest API

$0.00/M

Quality Score

38/100

Intelligence Brief

Llama 3.2 1B is a 1.24B parameter DENSE model from Meta, featuring Grouped Query Attention (GQA) with 16 layers and 2,048 hidden dimensions. With a 131,072 token context window, it supports tools, structured output, code, math, multilingual. On standardized benchmarks, it achieves MMLU 49.3, HumanEval 22, GSM8K 44.4. The most cost-effective API deployment is via novita at $0.00/M output tokens. For self-hosted inference, RTX 4070 Ti delivers optimal throughput at $237/month.

Provider pricing

5 providers · canonical: together
Provider Input $/M Output $/M Notes
novitafreefreecheapest input · cheapest output
featherlessfreefreecheapest input · cheapest output
togethercanonical$0.030$0.030
fireworks$0.100$0.100
openrouter$0.027$0.200

Prices update via the nightly pricing cron + admin approvals at /admin/ingest-queue. The leaderboard's Input/Output cells show the canonical rate above; this table shows the full spread.

Recent changes

Loading…

Related models

5 suggestions

Picks: same family first, then same vendor within ±2× params, then top tag-overlap matches. Price shown is the cheapest Output $/M across providers — the row's page shows the canonical anchor.

Architecture Details

TypeDENSE
Total Parameters1.24B
Active Parameters1.24B
Layers16
Hidden Dimension2,048
Attention Heads32
KV Heads8
Head Dimension64
Vocab Size128,256

Memory Requirements

BF16 Weights

2.5 GB

FP8 Weights

1.2 GB

INT4 Weights

0.6 GB

KV-Cache per Token32768 bytes
Activation Estimate0.30 GB

GPU Compatibility Matrix

Llama 3.2 1B is compatible with 100% of GPU configurations across 41 GPUs at 3 precision levels.

BF16 (Full)
FP8 (Half)
INT4 (Quarter)
Blackwell(7 GPUs)
B200 NVL (pair)360GB
B300288GB
B100 SXM192GB
GB200 NVL72 (per GPU)192GB
Hopper(7 GPUs)
H100 NVL 94GB (per GPU pair)188GB
H200 SXM141GB
H2096GB
GH20096GB
Ada Lovelace(11 GPUs)
L40S48GB
L4048GB
RTX 6000 Ada48GB
L2048GB
Ampere(16 GPUs)
A100 80GB SXM80GB
A100 80GB PCIe80GB
A1664GB
RTX A600048GB
Legend:No fitVery tightTightModerateGoodExcellent

GPU Recommendations

RTX 4070 Tioptimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

1.0K tok/s

Latency (ITL)

1.0ms

Est. TTFT

0ms

Cost/Month

$237

Cost/M Tokens

$0.09

Use this config →
RTX 3080optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

1.6K tok/s

Latency (ITL)

0.6ms

Est. TTFT

0ms

Cost/Month

$133

Cost/M Tokens

$0.03

Use this config →
RTX 4060optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

562.6 tok/s

Latency (ITL)

1.8ms

Est. TTFT

0ms

Cost/Month

$209

Cost/M Tokens

$0.14

Use this config →

Deployment Options

API

API Deployment

novita

$0.00/M

output tokens

Self-Hosted

Single GPU

RTX 4070 Ti

$237/mo

Min VRAM: 1 GB

Scale

Multi-GPU

RTX 4070 Ti

1.0K tok/s

Best available config

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
novita$0.00$0.00
Cheapest
featherless$0.00$0.00
together$0.03$0.03
fireworks$0.10$0.10
openrouter$0.03$0.20

Cost Analysis

ProviderInput $/MOutput $/M~Monthly Cost
novitaBest Value$0.00$0.00$0
featherless$0.00$0.00$0
together$0.03$0.03$0
fireworks$0.10$0.10$1
openrouter$0.03$0.20$1

Cost per 1,000 Requests

Short (500 tok)

$0.00

via novita

Medium (2K tok)

$0.00

via novita

Long (8K tok)

$0.00

via novita

Performance Estimates

Throughput by GPU

RTX 4070 Ti
1.0K tok/s
RTX 3080
1.6K tok/s
RTX 4060
562.6 tok/s

VRAM Breakdown (RTX 4070 Ti, BF16)

Weights
Act
Weights 2.5 GBKV-Cache 0.5 GBActivations 2.4 GBOverhead 0.2 GB

Precision Impact

bf16

2.5 GB

weights/GPU

~1.0K tok/s

fp8

1.2 GB

weights/GPU

int4

0.6 GB

weights/GPU

Quality Benchmarks

Bottom 25%
3th percentile across all models
MMLU
49.3
Bottom 25% (9th pctile)
HumanEval
22.0
Bottom 25% (4th pctile)
GSM8K
44.4
Bottom 25% (12th pctile)
MT-Bench
62.0
Bottom 25% (0th pctile)

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglangtgitensorrt-llmollama

Supported Precisions

BF16 (default)FP8INT4

Where to Deploy Llama 3.2 1B

Similar Models

Llama 3.2 3B

3.21B params · dense

Quality: 55

from $0.06/M

Higher quality, More expensive, Larger modelCompare →
Smaller contextCompare →
Smaller contextCompare →
Smaller context, Higher qualityCompare →
Smaller context, Higher qualityCompare →

Frequently Asked Questions

How much VRAM does Llama 3.2 1B need for inference?

Llama 3.2 1B requires approximately 2.5 GB of VRAM at BF16 precision, 1.2 GB at FP8, or 0.6 GB at INT4 quantization. Additional VRAM is needed for KV-cache (32768 bytes per token) and activations (~0.30 GB).

What is the best GPU for Llama 3.2 1B?

The top recommended GPU for Llama 3.2 1B is the RTX 4070 Ti using BF16 precision. It achieves approximately 1.0K tokens/sec at an estimated cost of $237/month ($0.09/M tokens). Score: 90/100.

How much does Llama 3.2 1B inference cost?

Llama 3.2 1B API inference starts from $0.00/M input tokens and $0.00/M output tokens. Self-hosted inference costs depend on your GPU configuration — use our ROI calculator for a detailed breakdown.