YiDenseApache 2.0

Yi-Coder 9B

Yi-Coder 9B is a dense transformer language model from the Yi family, containing 9B parameters across 40 layers. It supports up to 33K tokens of context with a hidden dimension of 4096 and 8 KV heads for efficient grouped-query attention (G

9.0B

Parameters

32K

Max Context

Dense

Architecture

Released

Text

Modality

About Yi-Coder 9B

Yi-Coder 9B is a dense transformer language model from the Yi family, containing 9B parameters across 40 layers. It supports up to 33K tokens of context with a hidden dimension of 4096 and 8 KV heads for efficient grouped-query attention (GQA). Apache 2.0. Chinese/English coding. Mature GGUF support.

Code

Technical Specifications

Total Parameters9.0B
ArchitectureDense
Attention TypeGQA (Grouped Query Attention)
Hidden Dimensiond = 4,096
Transformer Layers40
Attention Heads32
KV Headsn_kv = 8
Head Dimensiond_head = 128
Activation FunctionSwiGLU
NormalizationRMSNorm
Position EmbeddingRoPE

System Requirements

Estimated VRAM at 10% overhead for different quantization methods and context sizes.

Quantization1K ctx32K ctx
Q4_K_M0.50 B/W
~97% of FP16
4.81Consumer GPU
9.65Consumer GPU
Q8_01.00 B/W
~100% of FP16
9.46Consumer GPU
14.30Consumer GPU
F162.00 B/W
Reference
18.76Consumer GPU
23.61Consumer GPU
Fits 24 GB consumer GPU
Fits 80 GB datacenter GPU
Requires cluster / multi-GPU

Find the right GPU for Yi-Coder 9B

Use the interactive VRAM Calculator to see exactly how much memory you need at any quantization level, context length, and overhead setting.