Skip to content
Updated minutes ago
Salesforce

CodeGen2 16B

Salesforce · dense · 16B parameters · 2,048 context

Quality
50.0

Architecture Details

TypeDENSE
Total Parameters16B
Active Parameters16B
Layers34
Hidden Dimension6,144
Attention Heads48
KV Heads48
Head Dimension128
Vocab Size51,200

Memory Requirements

BF16 Weights

32.0 GB

FP8 Weights

16.0 GB

INT4 Weights

8.0 GB

KV-Cache per Token417792 bytes
Activation Estimate1.20 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

H100 SXMoptimal

FP8 · 1 GPU · tensorrt-llm

100/100

score

Throughput

1.1K tok/s

Cost/Month

$1794

Cost/M Tokens

$0.65

Use this config →
H100 PCIeoptimal

FP8 · 1 GPU · tensorrt-llm

95/100

score

Throughput

1.0K tok/s

Cost/Month

$1794

Cost/M Tokens

$0.65

Use this config →
RTX A6000optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

129.6 tok/s

Cost/Month

$465

Cost/M Tokens

$1.37

Use this config →

API Pricing Comparison

No API pricing data available for this model.

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmtgi

Supported Precisions

BF16 (default)FP8INT4

Similar Models