FitMyLLM
01.AI/Dense

01.AIYi Coder 9B

Yi Coder 9B — competitive code model, great for code completion and generation.

coding
9B
Parameters
125K
Context length
9
Benchmarks
6
Quantizations
0
Architecture
Dense
Released
2024-09-05
Layers
48
KV Heads
4
Head Dim
128
Family
yi

Quantization Options

Context length:
QuantBitsVRAM @ 16KQuality
Q4_K_M4.89
7.1 GB
6.0 + 1.1 KV
good
Q5_K_S5.57
7.9 GB
6.8 + 1.1 KV
good
Q5_K_M5.7
8.0 GB
6.9 + 1.1 KV
good
Q6_K6.56
9.0 GB
7.9 + 1.1 KV
excellent
Q8_08.5
11.2 GB
10.1 + 1.1 KV
lossless
FP1616
19.6 GB
18.5 + 1.1 KV
lossless

Select your GPU above to see speed estimates and compatibility for each quantization.

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN YI CODER 9B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (9)

MBPP60.8
IFEval60.5
HumanEval45.7
BigCodeBench38.1
BBH37.0
MMLU-PRO33.1
MATH22.6
MUSR12.8
GPQA11.3

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run yi-coder:9b-base-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C2070
6 GB VRAM • 143 GB/s
NVIDIA
NVIDIA Tesla C2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla C2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla M2070
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2070-Q
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2075
6 GB VRAM • 150 GB/s
NVIDIA
NVIDIA Tesla M2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2070
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla X2090
6 GB VRAM • 177 GB/s
NVIDIA
NVIDIA Tesla K20X
6 GB VRAM • 250 GB/s
NVIDIA
NVIDIA Tesla K20Xm
6 GB VRAM • 250 GB/s
NVIDIA

Find the best GPU for Yi Coder 9B

Build Hardware for Yi Coder 9B

Yi Coder 9B — competitive code model, great for code completion and generation.

▸ SPEC SHEET

Yi Coder 9B9B Dense.

▸ SPECIFICATIONS
PARAMETERS
9B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
125K tokens
CAPABILITIES
coding
RELEASE DATE
2024-09-05
PROVIDER
01.AI
FAMILY
yi
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.896.0 GB94%
Q5_K_S5.576.8 GB96%
Q5_K_M5.76.9 GB96%
Q6_K6.567.9 GB97%
Q8_08.510.1 GB100%
FP161618.5 GB100%
§ 01BENCHMARK SCORES
HumanEval45.7
MMLU-PRO33.1
MATH22.6
IFEval60.5
BBH37.0
GPQA11.3
MUSR12.8
MBPP60.8
BigCodeBench38.1
§ 02RUN COMMAND

Run Yi Coder 9B locally with Ollama — needs 6.0 GB VRAM at Q4_K_M:

$ollama run yi-coder:9b
§ 03COMPATIBLE GPUs
30 @ Q4_K_M