Skip to content
Updated minutes ago
ReleasedMay 13, 2024Verified 3mo ago · huggingface.co
01.AI

Yi 1.5 9B

01.AI · dense · 8.83B parameters · 4,096 context

Quality
62.0

Parameters

8.83B

Context Window

4K tokens

Architecture

Dense

Best GPU

A30

Cheapest API

$0.20/M

Quality Score

62/100

Intelligence Brief

Yi 1.5 9B is a 8.83B parameter DENSE model from 01.AI, featuring Grouped Query Attention (GQA) with 48 layers and 4,096 hidden dimensions. With a 4,096 token context window, it supports tools, structured output, code, math, multilingual. On standardized benchmarks, it achieves MMLU 69, HumanEval 35, GSM8K 68. The most cost-effective API deployment is via 01ai at $0.20/M output tokens. For self-hosted inference, A30 delivers optimal throughput at $332/month.

Provider pricing

1 provider · canonical: 01ai
Provider Input $/M Output $/M ▲Notes
01aicanonical$0.200$0.200cheapest input · cheapest output

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 Parameters8.83B
Active Parameters8.83B
Layers48
Hidden Dimension4,096
Attention Heads32
KV Heads4
Head Dimension128
Vocab Size64,000

Memory Requirements

BF16 Weights

17.7 GB

FP8 Weights

8.8 GB

INT4 Weights

4.4 GB

KV-Cache per Token98304 bytes
Activation Estimate1.00 GB

GPU Compatibility Matrix

Yi 1.5 9B is compatible with 90% 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

A30optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

285.3 tok/s

Latency (ITL)

3.5ms

Est. TTFT

1ms

Cost/Month

$332

Cost/M Tokens

$0.44

Use this config →
RTX 4090optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

308.2 tok/s

Latency (ITL)

3.2ms

Est. TTFT

1ms

Cost/Month

$370

Cost/M Tokens

$0.46

Use this config →
RTX 3090optimal

BF16 · 1 GPU · vllm

100/100

score

Throughput

286.2 tok/s

Latency (ITL)

3.5ms

Est. TTFT

1ms

Cost/Month

$180

Cost/M Tokens

$0.24

Use this config →

Deployment Options

API

API Deployment

01ai

$0.20/M

output tokens

Self-Hosted

Single GPU

A30

$332/mo

Min VRAM: 9 GB

Scale

Multi-GPU

RTX 3060 x2

174.3 tok/s

TP· $114/mo

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
01ai$0.20$0.20
Cheapest

Cost Analysis

ProviderInput $/MOutput $/M~Monthly Cost
01aiBest Value$0.20$0.20$2

Cost per 1,000 Requests

Short (500 tok)

$0.14

via 01ai

Medium (2K tok)

$0.56

via 01ai

Long (8K tok)

$2.00

via 01ai

Performance Estimates

Throughput by GPU

A30
285.3 tok/s
RTX 4090
308.2 tok/s
RTX 3090
286.2 tok/s

VRAM Breakdown (A30, BF16)

Weights
Act
Weights 17.7 GBKV-Cache 1.6 GBActivations 8.0 GBOverhead 1.4 GB

Precision Impact

bf16

17.7 GB

weights/GPU

~285.3 tok/s

fp8

8.8 GB

weights/GPU

int4

4.4 GB

weights/GPU

Quality Benchmarks

Average
65th percentile across all models
MMLU
69.0
Below Average (29th pctile)
HumanEval
35.0
Bottom 25% (17th pctile)
GSM8K
68.0
Below Average (27th pctile)
MT-Bench
74.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 Yi 1.5 9B

Similar Models

Larger context, Lower qualityCompare →
Larger context, Lower qualityCompare →

Gemma 2 9B

9.2B params · dense

Quality: 68

from $0.10/M

Larger context, Higher quality, CheaperCompare →
Larger context, Lower qualityCompare →

Frequently Asked Questions

How much VRAM does Yi 1.5 9B need for inference?

Yi 1.5 9B requires approximately 17.7 GB of VRAM at BF16 precision, 8.8 GB at FP8, or 4.4 GB at INT4 quantization. Additional VRAM is needed for KV-cache (98304 bytes per token) and activations (~1.00 GB).

What is the best GPU for Yi 1.5 9B?

The top recommended GPU for Yi 1.5 9B is the A30 using BF16 precision. It achieves approximately 285.3 tokens/sec at an estimated cost of $332/month ($0.44/M tokens). Score: 100/100.

How much does Yi 1.5 9B inference cost?

Yi 1.5 9B API inference starts from $0.20/M input tokens and $0.20/M output tokens. Self-hosted inference costs depend on your GPU configuration — use our ROI calculator for a detailed breakdown.