Skip to content
Updated minutes ago
Meta

Code Llama 7B

Meta · dense · 7B parameters · 16,384 context

Quality
39.0

Architecture Details

TypeDENSE
Total Parameters7B
Active Parameters7B
Layers32
Hidden Dimension4,096
Attention Heads32
KV Heads32
Head Dimension128
Vocab Size32,016

Memory Requirements

BF16 Weights

14.0 GB

FP8 Weights

7.0 GB

INT4 Weights

3.5 GB

KV-Cache per Token524288 bytes
Activation Estimate1.00 GB

Fits on (single-node)

B200 SXM BF16B100 SXM BF16GB200 NVL72 (per GPU) BF16GB300 NVL72 (per GPU) BF16H200 SXM BF16H100 SXM BF16H100 PCIe BF16H100 NVL BF16

GPU Recommendations

A10Goptimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

231.4 tok/s

Cost/Month

$285

Cost/M Tokens

$0.47

Use this config →
A30optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

359.9 tok/s

Cost/Month

$332

Cost/M Tokens

$0.35

Use this config →
RTX 4090optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

388.8 tok/s

Cost/Month

$370

Cost/M Tokens

$0.36

Use this config →

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
together$0.20$0.20
Cheapest

Quality Benchmarks

MMLU
42.0
HumanEval
31.0
GSM8K
28.0
MT-Bench
60.0

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglangtgitensorrt-llmollama

Supported Precisions

BF16 (default)FP8INT4

Similar Models