Skip to content
Updated minutes ago
Microsoft

Phi 1

Microsoft · dense · 1.3B parameters · 2,048 context

Quality
38.0

Architecture Details

TypeDENSE
Total Parameters1.3B
Active Parameters1.3B
Layers24
Hidden Dimension2,048
Attention Heads32
KV Heads32
Head Dimension64
Vocab Size51,200

Memory Requirements

BF16 Weights

2.6 GB

FP8 Weights

1.3 GB

INT4 Weights

0.7 GB

KV-Cache per Token98304 bytes
Activation Estimate0.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

RTX 4070 Tioptimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

994.4 tok/s

Cost/Month

$237

Cost/M Tokens

$0.09

Use this config →
RTX 3080optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

1.5K tok/s

Cost/Month

$133

Cost/M Tokens

$0.03

Use this config →
RTX 4060optimal

BF16 · 1 GPU · vllm

90/100

score

Throughput

536.6 tok/s

Cost/Month

$209

Cost/M Tokens

$0.15

Use this config →

API Pricing Comparison

No API pricing data available for this model.

Quality Benchmarks

MMLU
44.0
HumanEval
40.0
GSM8K
38.0
MT-Bench
55.0

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmtgiollama

Supported Precisions

BF16 (default)FP8INT4

Similar Models