Parameters
9B
Context Length
4K
Modality
Text
Architecture
Dense
License
Apache 2.0
Release Date
6 Mar 2024
Knowledge Cutoff
Jun 2023
API Pricing (per 1M)
Self-hosted only
VRAM requirements for different quantization methods and context sizes
1,024 tokens
Consumer
1x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
4,096 tokens
Consumer
1x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
No evaluation benchmarks for Yi-9B available.
Overall Rank
-
Coding Rank
-
Yi-9B is an efficient dense transformer by 01.AI engineered for technical reasoning, mathematics, and bilingual coding on consumer hardware. Pretrained on 3.9T tokens, it provides a strong balance of analytical depth and local throughput.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
32
Key-Value Heads
4
Attention Head Dimension
128
Position Embedding
Absolute Position Embedding
RoPE Theta
10,000
Sliding Window Attention
No
Sliding Window Size
-
Sliding Window Ratio
-
Linear Attention
-
Linear Attention Ratio
-
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Hidden Dimension Size
4,096
Number of Layers
44
FFN Intermediate Size (Dense)
11,008
Multi-Token Prediction Heads
-
Tokenizer
Vocabulary Size
64,000
Assistant
Online