whatmodel.sh / DeepSeek-Coder 6.7B Base

DeepSeek-Coder 6.7B Base is an open-weights language model from DeepSeek, released October 2023. Its published size is 6.74B parameters and a 16k-token context window. Licence: deepseek.

Catalogue identity notes

Maker repo deepseek-ai/deepseek-coder-6.7b-base @ce2207a: licence tag other (deepseek-license). 6,740,512,768 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-23). DeepSeek-Coder v1 base model. Ollama tags deepseek-coder:6.7b-base-q4_K_M, deepseek-coder:6.7b-base-q8_0 (sizes as listed on the tags page, observed 2026-09-29).

40.7±0.6#562 of 743 LLMsfrom 12 benchmark results across 5 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of DeepSeek-Coder 6.7B Base, out of 897 with a score, then more from DeepSeek.

#modelscorewhereRAMreleased
670LLaVA-v1.6-34B LLaVA41±2local~24GB2024-01
671Granite 3.3 2B Instruct IBM41±1local~3GB2025-04
672DeepSeek-Coder 6.7B Base DeepSeek41±1local~8.8GB2023-10
673LFM2 1.2B Liquid AI41±1local~1.2GB2025-07
674Llama 2 70B Chat Meta41±1local~32GB2023-07
more from DeepSeek
24DeepSeek V4.1 Flash 1017 DeepSeek76±1api $0.26/M2026-10
33DeepSeek V4.1 Flash DeepSeek75±1local~512GB2026-09
44DeepSeek V4 Pro (0813) DeepSeek74±1api $1.63/M +local~894GB2026-08

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▁▃▆▇█▆▆▃▃▁ #400 of 474 · 85% of its score · 7 tests

Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails Qwen2.5 1.5B Instruct, WizardLM 13B V1.2, Falcon3 3B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval +247.6% ✎▁·▁▁▃▄▆▅█▃▁▁ beats 32/99easy · avg 77%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 51%sharp · at its level · several runs
HumanEval+39.6% ✎▁·▁▁▁▃▄▄▄█▃▁ beats 30/99easy · avg 71%▇▇▇▇▇▇▇▇ 20%sharp · at its level
MBPP+58.7% ✎▁···▁▁▂▅▇█▆▂ beats 34/75easy · avg 66%▇▇ 4.0%at its level
MBPP70.2% ✎▄▄▄██▄·▄█·▄▄ beats 11/12easy · avg 81%▇ 3.6%at its level
DS-100028.9% ✎▄▄·▄██▄█·█·▄ beats 9/12medium · avg 49%▇ 3.3%at its level
CRUXEval-I41.9% ✎▁··▁▅▂█▇▁··▁ beats 13/22medium · avg 52%▇ 1.2%at its level
CRUXEval-O43.5% ✎▁·▂▃▁█▁▂···▁ beats 17/22medium · avg 51%▇ 1.1%blunt · at its level
math▁▁▃▅█▆▅█▄▁▁▁ #315 of 440 * · 3.2% of its score · 1 test

Beats Molmo 2 8B, GPT-4 (0613), Llama 3.1 Nemotron 70B Instruct here, though they rank higher overall. Trails DeepSeek R1 Distill Qwen 1.5B, Gemma 7B (base), Mistral 7B v0.1 (base) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K41.9% ✎▄▄▄·▄█·██·█▄ beats 9/12easy · avg 76%▇ 3.2%sharp · at its level
other tests2 not in a task · 12% of its score
testresultvs the others in its rundifficultycountswhy
EvoEval (overall)32.9% ✎▂▂▃▄▄█▁▄▅▃▁▃ beats 19/42medium · avg 52%▇▇▇ 8.3%at its level
BigCodeBench (Complete)41.8% ✎▂▁▁▄▂▅▇█▆▂▂▂ beats 31/58medium · avg 49%▇ 3.4%at its level

$ 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 DeepSeek-Coder 6.7B Base · needs 8.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke
    chat in the terminal
    llama cli -hf TheBloke/deepseek-coder-6.7B-base-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf TheBloke/deepseek-coder-6.7B-base-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 DeepSeek-Coder 6.7B Base · needs 8.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/TheBloke/deepseek-coder-6.7B-base-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 DeepSeek-Coder 6.7B Base · needs 8.8 GB memory, 4.08 GB download · from ollama.com
    chat in the terminal
    ollama run deepseek-coder:6.7b-base-q4_K_M

Model repository and documentation: huggingface.co/deepseek-ai ↗

$ how the score was worked out · EvalPlus / EvalPerf published… 51%, Top Leaderboard Ranking = Top… 24%, StarCoder 2 and The Stack v2:… 20% 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