whatmodel.sh / Yi-Coder 9B Chat
Yi-Coder 9B Chat
↗ share
+ contribute
Yi-Coder 9B Chat is an open-weights language model from 01.AI, released August 2024. Its published size is 8.83B parameters and a 128k-token context window. Licence: apache-2.0.
Catalogue identity notes
Maker repo 01-ai/Yi-Coder-9B-Chat @356a1f8: licence tag apache-2.0. 8,829,407,232 parameters from the Hugging Face safetensors metadata. Dense, so active = total. Released 2024-08: month the maker's Hugging Face repo was created (createdAt 2024-08-21). Ollama tags yi-coder:9b-chat-q4_K_M, yi-coder:9b-chat-q8_0 are the library's instruct/chat builds of this checkpoint (tag names on the pinned tags page); download sizes are estimated from the parameter count.
$ how it compares
The LLMs ranked either side of Yi-Coder 9B Chat, out of 828 with a score, then more from 01.AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 441 | 49±2 | local | |||
| 442 | 49±1 | local | |||
| 443 | 49±1 | local | |||
| 444 | 49±2 | local | |||
| 445 | 49±1 | local | |||
| more from 01.AI | |||||
| 308 | 55±1 | api price unknown | |||
| 373 | 52±1 | comparison only | |||
| 396 | 51±1 | comparison only | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #286 of 458 · 83% of its score · 6 tests
Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), GLM-4.7-Flash here, though they rank higher overall. Trails DeepSeek LLM 67B Chat, WizardLM 70B V1.0, Yi 1.5 9B Chat here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench official (Jan 1–Nov 1, 2024) | 23.5% ✎ | ▁▁·▁▂▄▆█▅▂·▂ beats 8/31 | 35% |
| Aider code editing (133 Exercism Python exercises, two attempts) | 54.1% ✎ | ▁·▁▂▄▁▆▄█▆▂▂ beats 20/62 | 34% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 3.9% ✎ | █▂▁▁▃▂▂▃▅▅▅▇ beats 13/47 | 5.4% |
| CodeReviewQA: solution identification (hard), invariant accuracy | 33.0% ✎ | ▃··▁▂▂▃▃█▃▄▂ beats 18/47 | 5.0% |
| CodeReviewQA: automated code refinement, exact match rate | 32.4% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 27/47 | 3.7% |
| CodeReviewQA: change type recognition, invariant accuracy | 52.1% ✎ | ▁▁▁······▃▃█ beats 6/47 | 0.1% |
other tests2 not in a task · 16% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EvalPerf correctness (118 tasks, 20240328) | 78.8% ✎ | ▂·▂▂▂▆▅▆▆▆▃█ beats 15/29 | 12% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 61.9% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 94/276 | 3.9% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Yi-Coder 9B Chat · needs ~5.3 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/Yi-Coder-9B-Chat-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/Yi-Coder-9B-Chat-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Yi-Coder 9B Chat · needs ~5.3 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/Yi-Coder-9B-Chat-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Yi-Coder 9B Chat · needs ~5.8 GB · from ollama.comchat in the terminal
ollama run yi-coder:9b-chat-q4_K_M
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Yi-Coder 9B Chat · needs ~5 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/Yi-Coder-9B-Chat-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/Yi-Coder-9B-Chat-4bit
Official weights and documentation: huggingface.co/01-ai ↗
$ how the score was worked out · LiveCodeBench official websit… 35%, Aider code editing benchmark… 34%, CodeReviewQA: The Code Review… 14% and 2 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 1 | 35% | |
| 1 | 34% | |
| 4 | 14% | |
| 1 | 12% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 48.6 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json