whatmodel.sh / Yi-Coder 9B Chat

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.

49.4±1.3#390 of 743 LLMsfrom 8 benchmark results across 5 sources

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.

#modelscorewhereRAMreleased
463EXAONE Deep 2.4B LG AI Research50±2local~3.2GB2025-03
464Qwen2.5 7B Instruct Alibaba49±1api $0.30/M +local~5.4GB2024-09
465Yi-Coder 9B Chat 01.AI49±1local~6.2GB2024-08
466InternLM2.5 7B Chat Shanghai AI Laboratory (InternLM)49±2local~6.1GB2024-06
467StarChat2 15B v0.1 Hugging Face49±1local~12GB2024-03
more from 01.AI
321Yi-Lightning 01.AI56±1api price unknown2024-10
384Yi-Large Preview 01.AI53±1comparison only2024-05
414Yi-Large 01.AI52±1comparison only2024-05

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
Aider code editing (133 Exercism Python exercises, two attempts)54.1% ✎▁·▁▂▄▁▆▄█▆▂▂ beats 20/62medium · avg 51%▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 35%sharp · at its level
LiveCodeBench official (Jan 1–Nov 1, 2024)23.5% ✎▁▁·▁▂▄▆█▅▂·▂ beats 8/31hard · avg 24%▇▇▇▇▇▇▇▇▇▇▇▇▇ 32%sharp
CodeReviewQA: change localisation (hard), invariant accuracy3.9% ✎█▂▁▁▃▂▂▃▅▅▅▇ beats 13/47hard · avg 34%▇▇ 6.2%sharp · at its level · noisy
CodeReviewQA: solution identification (hard), invariant accuracy33.0% ✎▃··▁▂▂▃▃█▃▄▂ beats 18/47medium · avg 52%▇▇ 5.7%sharp · at its level · noisy
CodeReviewQA: automated code refinement, exact match rate32.4% ✎▁▁▁▁▁▁▂▂▃█▅▄ beats 27/47hard · avg 32%▇▇ 4.6%at its level
CodeReviewQA: change type recognition, invariant accuracy52.1% ✎▁▁▁······▃▃█ beats 6/47easy · avg 67%▇ 0.2%blunt · at its level · noisy
other tests2 not in a task · 15% of its score
testresultvs the others in its rundifficultycountswhy
EvalPerf correctness (118 tasks, 20240328)78.8% ✎▂·▂▂▂▆▅▆▆▆▃█ beats 15/29easy · avg 75%▇▇▇▇ 11%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)61.9% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 94/276medium · avg 72%▇▇ 4.3%at its level · noisy

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Yi-Coder 9B Chat · needs 6.6 GB memory, 5.33 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/Yi-Coder-9B-Chat-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Yi-Coder 9B Chat · needs 6.6 GB memory, 5.33 GB download · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/Yi-Coder-9B-Chat-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Yi-Coder 9B Chat · needs 6.6 GB memory, 5.33 GB download · from ollama.com
    chat in the terminal
    ollama run yi-coder:9b-chat-q4_K_M

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Yi-Coder 9B Chat · needs 6.2 GB memory, 4.97 GB download, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/Yi-Coder-9B-Chat-4bit
  3. 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

$ 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