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.

48.6±1.4#370 of 719 LLMsfrom 8 benchmark results across 5 sources

$ how it compares

The LLMs ranked either side of Yi-Coder 9B Chat, out of 828 with a score, then more from 01.AI.

#modelscorewhereRAMreleased
441AceReason-Nemotron-1.1-7B NVIDIA49±2local~6GB2025-06
442Mixtral 8x22B Instruct v0.1 Mistral49±1local~56GB2024-04
443Yi-Coder 9B Chat 01.AI49±1local~6.8GB2024-08
444Qwen2-Math 7B Instruct Alibaba49±2local~6GB2024-08
445Magicoder-S-DS 6.7B UIUC (ise-uiuc)49±1local~5.8GB2023-12
more from 01.AI
308Yi-Lightning 01.AI55±1api price unknown2024-10
373Yi-Large Preview 01.AI52±1comparison only2024-05
396Yi-Large 01.AI51±1comparison only2024-05

see all LLMs · find the ones that fit your machine

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

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

$ where to run it

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 ~5.3 GB · 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 ~5.3 GB · 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 ~5.8 GB · 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 ~5 GB, 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

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

$ 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