whatmodel.sh / ChatGLM3-6B

ChatGLM3-6B is an open-weights language model from Zhipu AI (THUDM), released October 2023. Its published size is 6.24B parameters. Licence: chatglm3-6b-license.

Catalogue identity notes

Comparison-only. Arena entry 'chatglm3-6b' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'chatglm3-6b' as 'ChatGLM3-6B' (Tsinghua, Apache-2.0), linking https://huggingface.co/THUDM/chatglm3-6b. Maker repo zai-org/chatglm3-6b @e9e0406: licence tag none tagged. 6,243,584,032 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2023-10: month the maker's Hugging Face repo was created (createdAt 2023-10-25).

Model information sources

· Weights licence ↗

29.9±2.0#672 of 743 LLMsfrom 4 benchmark results across 4 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of ChatGLM3-6B, out of 897 with a score, then more from Zhipu AI (THUDM).

#modelscorewhereRAMreleased
800NexusRaven V2 13B Nexusflow30±3local~9.2GB2023-12
801MPT-7B (base) MosaicML30±1comparison only2023-05
802ChatGLM3-6B Zhipu AI (THUDM)30±2local~5.8GB2023-10
803Qwen2.5 0.5B Instruct Alibaba30±2local~1GB2024-09
804OLMo 7B Allen Institute for AI30±1local~31GB2024-02
more from Zhipu AI (THUDM)
379GLM-4 9B Chat 1M Zhipu AI (THUDM)54±4local~8.1GB2024-06
522CogVLM2 Llama3 Chinese Chat 19B Zhipu AI (THUDM)47±7comparison only2024-05
609CogVLM2 Llama3 Chat 19B Zhipu AI (THUDM)44±3local~12GB2024-05

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #301 of 319 * · 11% of its score · 1 test

Beats GLM-4 9B Chat, DBRX Instruct, QwQ-32B-Preview here, though they rank higher overall. Trails Granite 4.0 H 350M here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
BFCL (version not stated) lab57.9% ✎█·········██ beats 0/5easy · avg 77%▇▇▇▇ 11%blunt · at its level
chat & writing▁▁▃▃▅▄▆█▇▇▇▃ #397 of 405 * · 81% of its score · 2 tests

Beats Phi-2 (2.7B) here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1056.8 ✎▁▁▃▂▃▂▃▆▆▇█▃ beats 8/388avg 1262▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 41%blunt
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)946.0 ✎▂▁▃▁▃▇█▆▇▄▂▂ beats 9/95avg 1189▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 40%typical
other tests1 not in a task · 6.8% of its score
testresultvs the others in its rundifficultycountswhy
Open PT-LLM Leaderboard average (9 Portuguese tasks)56.0% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 79/276medium · avg 72%▇▇▇ 6.8%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 ChatGLM3-6B · needs 5.8 GB memory, 4.14 GB download · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/chatglm3-6b-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf mradermacher/chatglm3-6b-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 ChatGLM3-6B · needs 5.8 GB memory, 4.14 GB download · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/chatglm3-6b-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 ChatGLM3-6B · needs 5.8 GB memory, 4.14 GB download · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/chatglm3-6b-GGUF:Q4_K_M

Other ways to run it

  1. Run it as published · needs 14.6 GB memory, 12.5 GB download, NVIDIA only · from github.com/vllm-project
    vllm serve zai-org/chatglm3-6b --trust-remote-code

Model repository and documentation: huggingface.co/zai-org ↗

$ how the score was worked out · LMArena leaderboard dataset 41%, Polyrating: A Cost-Effective… 40%, ChatGLM: A Family of Large La… 11% and 1 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

sourceresultsshare of the scorelicence
LMArena leaderboard dataset1CC BY 4.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1CC-BY-4.0
ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools (Team GLM, arXiv 2406.12793v2) · maker-reported1CC BY 4.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 29.9

$ 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