whatmodel.sh / DeepSeek-Coder 1.3B Base

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

Catalogue identity notes

Maker repo deepseek-ai/deepseek-coder-1.3b-base @c919139: licence tag other (deepseek-license). Parameters: nominal size from the model name (no safetensors metadata in the repo) (dense, so active = total). Released 2023-10: month the maker's Hugging Face repo was created (createdAt 2023-10-28). DeepSeek-Coder v1 (Nov 2023) base model. Ollama tags deepseek-coder:1.3b-base-q4_K_M, deepseek-coder:1.3b-base-q8_0 (sizes as listed on the tags page, observed 2026-09-29).

32.4±0.6#623 of 719 LLMsfrom 12 benchmark results across 5 sources

$ how it compares

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

#modelscorewhereRAMreleased
718Stable Code 3B Stability AI33±1local~3.3GB2024-01
719OLMo 2 1B Instruct (0425) Allen Institute for AI33±2local~2.4GB2025-04
720DeepSeek-Coder 1.3B Base DeepSeek32±1local~2.4GB2023-10
721Orca 2 13B Microsoft32±2local~9.8GB2023-11
722Gemma 7B IT Google32±1local~7.1GB2024-02
more from DeepSeek
21DeepSeek V4.1 Flash DeepSeek78±1api $0.26/M +local~537GB2026-09
31DeepSeek V4 Pro (0813) DeepSeek76±1api $1.63/M +local~1010GB2026-08
35DeepSeek V3.2 Speciale DeepSeek76±3comparison only

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▁▃▆██▇▆▄▃▁ #422 of 458 · 87% 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 Llama 3.2 1B Instruct, SmolLM2 1.7B Instruct, Mistral 7B Instruct v0.1 here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval +228.7% ✎▁·▁▁▃▄▆▅█▃▁▁ beats 13/99easy · avg 79%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 54%sharp · at its level · several runs
HumanEval+25.6% ✎▁·▁▁▁▃▄▄▄█▃▁ beats 15/99easy · avg 74%▇▇▇▇▇▇▇▇ 19%sharp · at its level
MBPP55.4% ✎▄▄▄██▄·▄█·▄▄ beats 6/12easy · avg 82%▇▇ 4.5%at its level
MBPP+47.9% ✎▁···▁▁▂▅▇█▆▂ beats 17/75easy · avg 68%▇▇ 4.3%at its level
DS-100016.2% ✎▄▄·▄██▄█·█·▄ beats 1/12medium · avg 52%▇ 3.2%typical
CRUXEval-I27.8% ✎▁··▁▅▂█▇▁··▁ beats 2/22medium · avg 54%▇ 1.2%at its level
CRUXEval-O31.0% ✎▁·▃▃▁█▁▂···▁ beats 2/22medium · avg 53%▇ 1.2%blunt · at its level
math▃▂▃▅▆▅▄█▄▁▁▁ #396 of 398 * · 2.2% of its score · 1 test

Trails Qwen2 0.5B Instruct, Granite 4.0 350M, Granite 4.0 H 350M here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K12.6% ✎▄▄▄·▄█·██·█▄ beats 1/12easy · avg 75%▇ 2.2%sharp · at its level
other tests2 not in a task · 10% of its score
testresultvs the others in its rundifficultycountswhy
EvoEval (overall)20.3% ✎▂▂▃▄▄█▁▄▅▃▁▃ beats 5/42medium · avg 55%▇▇▇ 7.1%typical
BigCodeBench (Complete)22.3% ✎▃▁▁▄▂▅▇█▆▂▂▂ beats 2/58medium · avg 50%▇ 3.3%typical

$ 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 DeepSeek-Coder 1.3B Base · needs ~0.9 GB · from huggingface.co/TheBloke
    chat in the terminal
    llama cli -hf TheBloke/deepseek-coder-1.3b-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-1.3b-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 1.3B Base · needs ~0.9 GB · from huggingface.co/TheBloke

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/TheBloke/deepseek-coder-1.3b-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 1.3B Base · needs ~0.874 GB · from ollama.com
    chat in the terminal
    ollama run deepseek-coder:1.3b-base-q4_K_M

Weights and documentation: huggingface.co/deepseek-ai ↗

$ how the score was worked out · EvalPlus / EvalPerf published… 52%, Top Leaderboard Ranking = Top… 22%, 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