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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Yi-Coder 9B Chat, out of 897 with a score, then more from 01.AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 463 | 50±2 | local | |||
| 464 | 49±1 | api $0.30/M +local | |||
| 465 | 49±1 | local | |||
| 466 | 49±2 | local | |||
| 467 | 49±1 | local | |||
| more from 01.AI | |||||
| 321 | 56±1 | api price unknown | |||
| 384 | 53±1 | comparison only | |||
| 414 | 52±1 | comparison only | |||
$ what it's good at
coding▁▁▁▃▆▇█▆▆▃▃▁ #299 of 474 · 84% of its score · 6 tests
Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), Qwen3-VL 30B-A3B Instruct 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 |
|---|---|---|---|
| Aider code editing (133 Exercism Python exercises, two attempts) | 54.1% ✎ | ▁·▁▂▄▁▆▄█▆▂▂ beats 20/62 | 35% |
| LiveCodeBench official (Jan 1–Nov 1, 2024) | 23.5% ✎ | ▁▁·▁▂▄▆█▅▂·▂ beats 8/31 | 32% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 3.9% ✎ | █▂▁▁▃▂▂▃▅▅▅▇ beats 13/47 | 6.2% |
| CodeReviewQA: solution identification (hard), invariant accuracy | 33.0% ✎ | ▃··▁▂▂▃▃█▃▄▂ beats 18/47 | 5.7% |
| CodeReviewQA: automated code refinement, exact match rate | 32.4% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 27/47 | 4.6% |
| CodeReviewQA: change type recognition, invariant accuracy | 52.1% ✎ | ▁▁▁······▃▃█ beats 6/47 | 0.2% |
other tests2 not in a task · 15% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EvalPerf correctness (118 tasks, 20240328) | 78.8% ✎ | ▂·▂▂▂▆▅▆▆▆▃█ beats 15/29 | 11% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 61.9% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 94/276 | 4.3% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 6.6 GB memory, 5.33 GB download · 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 6.6 GB memory, 5.33 GB download · 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 6.6 GB memory, 5.33 GB download · 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 6.2 GB memory, 4.97 GB download, 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
Model repository and documentation: huggingface.co/01-ai ↗
$ how the score was worked out · Aider code editing benchmark… 35%, LiveCodeBench official websit… 32%, CodeReviewQA: The Code Review… 17% 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 | 32% | |
| 4 | 17% | |
| 1 | 11% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 49.4 |
$ 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