DeepSeek LLM Explained: Architecture, Benchmarks and Lineage

DeepSeek LLM, the 7B and 67B dense open-weight models trained on 2T tokens (Nov 2023), explained: architecture, official benchmarks, lineage and how to run it.

Models·April 25, 2026·By DS Guide Editorial
Title card: eyebrow 'Open weights · Nov 2023', title 'DeepSeek LLM', tagline '7B and 67B dense Base and Chat models, English and Chinese.', and four stats: 67B Flagship params; 7B Compact tier; 2T Training tokens; 4K Context window, beside a typewriter illustration.

If you have arrived here looking for the latest DeepSeek model, you want the current API models — deepseek-flash (DeepSeek-V4.1-Flash-1017) and deepseek-v4-pro (DeepSeek-V4-Pro-0813) — but DeepSeek LLM is the release that started the general-purpose lineage. Its weights were published on Hugging Face in November 2023 and its technical report on arXiv on January 5, 2024; DeepSeek LLM was the lab’s first general-purpose open-weight language model family (the code-focused DeepSeek Coder models appeared on Hugging Face shortly before), shipped as 7B and 67B parameter checkpoints with both base and chat variants. It is the dense-transformer ancestor of the Mixture-of-Experts flagships DeepSeek has shipped since, and the paper that came with it (“Scaling Open-Source Language Models with Longtermism”) is still cited in scaling-law work today. This article walks through what DeepSeek LLM actually is, how it was built, the benchmarks it posted, where it falls short in 2026, and how to access the weights if you still want to run it.

What DeepSeek LLM is

Diagram of the DeepSeek LLM dense decoder-only transformer block architecture and its repeated layers

DeepSeek LLM is the first general-purpose foundation-model family from Hangzhou-based DeepSeek-AI, released as a pair of dense decoder-only transformers: the weights were published on Hugging Face in November 2023, and the technical report followed on January 5, 2024. Its flagship contains 67 billion parameters and was trained from scratch on a dataset containing 2 trillion tokens covering Chinese and English, and the company open-sourced the complete DeepSeek LLM 7B/67B Base and DeepSeek LLM 7B/67B Chat for the research community. The release was paired with a technical report — “DeepSeek LLM: Scaling Open-Source Language Models with Longtermism” — that was as influential as the weights themselves.

Two things to set straight up front. First, “DeepSeek LLM” specifically refers to the 7B/67B family published in late 2023. It is not a synonym for the DeepSeek brand or for the current generation. Second, the lab has moved on from this architecture. The current API models are deepseek-v4-pro (DeepSeek-V4-Pro-0813, released August 13, 2026) and deepseek-flash (DeepSeek-V4.1-Flash-1017, released October 17, 2026), and most users should start there or at the DeepSeek V4 overview rather than downloading the 67B weights. DeepSeek LLM is interesting today as historical context, as a research artefact for scaling-law work, and as a self-hostable dense model for teams that specifically need a 7B or 67B dense baseline.

Architecture and lineage

DeepSeek LLM is a LLaMA-style dense transformer with a few deliberate departures. The micro design largely follows LLaMA, adopting a Pre-Norm structure with RMSNorm and using SwiGLU as the activation function for the Feed-Forward Network, with Rotary Embedding for positional encoding, and the 67B model uses Grouped-Query Attention (GQA) instead of traditional Multi-Head Attention to optimise inference cost. DeepSeek LLM 7B is a 30-layer network, while DeepSeek LLM 67B has 95 layers. The 7B retains standard MHA; only the 67B uses GQA.

The training corpus is described as 2 trillion tokens of bilingual English/Chinese text. The models were pre-trained on 2 trillion tokens with a sequence length of 4096 and AdamW optimiser; the 7B used a batch size of 2304 and a learning rate of 4.2e-4, while the 67B used a batch size of 4608 and a learning rate of 3.2e-4. Instead of a cosine schedule, DeepSeek used a multi-step learning-rate schedule that they argued made continual training and rescaling cleaner — a choice that prefigured the company’s later willingness to depart from convention.

How it fits in the family

Model Released Architecture Total / Active params Context
DeepSeek LLM 2023-11 (report 2024-01-05) Dense (LLaMA-style) 7B / 67B (dense) 4,096
DeepSeek V2 2024-05-07 MoE (MLA + DeepSeekMoE) 236B / 21B 128K
DeepSeek V3 2024-12 MoE 671B / 37B 128K
DeepSeek R1 2025-01 MoE + RL reasoning 671B / 37B 128K
DeepSeek V4-Flash / V4-Pro (April 2026 preview, since superseded by V4-Pro-0813 and V4.1-Flash-1017) 2026-04-24 MoE 284B/13B and 1.6T/49B (preview) 1,000,000

The architectural break came with V2. DeepSeek-V2 (May 7, 2024) is a Mixture-of-Experts model with 236 billion total parameters and 21 billion activated per token, and compared to DeepSeek 67B, V2 saved 42.5% in training costs, reduced the KV cache by 93.3%, and increased maximum generation throughput to 5.76 times. Every DeepSeek flagship since has been MoE; DeepSeek LLM is the last dense flagship the lab shipped.

Benchmarks

Lineage tree of the DeepSeek LLM family from first-generation LLM through V4

The headline result the lab pushed at launch was that DeepSeek LLM 67B beat Meta’s Llama-2 70B despite having 3B fewer parameters. Evaluation results demonstrate that DeepSeek LLM 67B surpasses LLaMA-2 70B on various benchmarks, particularly in the domains of code, mathematics, and reasoning, and open-ended evaluations reveal that DeepSeek LLM 67B Chat exhibits superior performance compared to GPT-3.5. Specific chat-model numbers from the official repository:

Benchmark DeepSeek LLM 67B Chat Source
HumanEval (Pass@1) 73.78 Official repo
GSM8K (0-shot) 84.1 Official repo
MATH (0-shot) 32.6 Official repo
Hungarian Nat. HS Exam 65 Official repo

DeepSeek LLM 67B Chat exhibits outstanding performance in coding (HumanEval Pass@1: 73.78) and mathematics (GSM8K 0-shot: 84.1, Math 0-shot: 32.6), and demonstrates remarkable generalisation, scoring 65 on the Hungarian National High School Exam. The Hungarian exam result mattered at the time because it was a fresh, contamination-free test set — the same evaluation Grok-1 had used. DeepSeek designed fresh problem sets to assess capabilities and the evaluation results indicated that DeepSeek LLM 67B Chat performs exceptionally well on never-before-seen exams.

For the base model, DeepSeek’s own table in the official GitHub repository lists DeepSeek LLM 67B Base at MMLU 71.3 (5-shot), HellaSwag 84.0 (0-shot), TriviaQA 78.9, GSM8K 63.4 (8-shot), HumanEval 42.7 and BBH 68.7, against 69.0, 84.0, 79.5, 58.4, 28.7 and 62.9 for LLaMA-2 70B, with a 4,096-token sequence length. Numbers like these were competitive in early 2024 but are now well below current open-weight frontiers — DeepSeek’s 2026 benchmark numbers live on a different scale.

Strengths

  • Strong bilingual performance. DeepSeek LLM 67B Chat surpasses GPT-3.5 in Chinese. If your workload is Chinese-heavy and you need a dense self-hostable model, the 67B is still a reasonable starting point for fine-tuning experiments.
  • Honest scaling-law contribution. The accompanying paper introduced fresh batch-size and learning-rate scaling formulas that have been cited across subsequent open-source work.
  • Permissive commercial use. The code repository is licensed under the MIT License, the use of DeepSeek LLM models is subject to the Model License, and DeepSeek LLM supports commercial use. The split (MIT for code, separate model licence for weights) is the same pattern DeepSeek used through V3 base.
  • Dense, not MoE. If your inference stack does not handle expert routing well, a dense 7B or 67B is operationally simpler than an MoE model of comparable quality.

Weaknesses

  • 4K context window. Context: 4K. By 2026 standards this is tiny — both current API models offer a 1,000,000-token context — so anything involving long documents, RAG over large corpora, or extended agentic workflows is out of scope.
  • No reasoning trace. DeepSeek LLM predates R1. There is no reasoning_content field, no inference-time scaling, no “thinking” mode. For math-heavy or multi-step tasks, even a small R1 distill is likely to outperform 67B Chat.
  • Hardware demand. The 67B base checkpoint files on Hugging Face total about 135 GB of 16-bit weights, so loading it unquantised needs roughly that much GPU memory — well beyond a single consumer GPU (DeepSeek’s own README profiles 67B inference on 8 NVIDIA A100-40GB GPUs). The 7B is much more tractable; our hardware calculator covers the quantisation maths.
  • Superseded on the benchmarks DeepSeek reports. Coder-V2, V3, R1, V3.2 and the V4 generation all post higher scores, and DeepSeek’s hosted API now serves deepseek-flash and deepseek-v4-pro. For most readers, “DeepSeek LLM” is a research footnote, not a production target.

How to access DeepSeek LLM

There is no first-party hosted API for DeepSeek LLM 7B/67B in 2026 — the lab’s hosted endpoint serves deepseek-flash (DeepSeek-V4.1-Flash-1017) and deepseek-v4-pro (DeepSeek-V4-Pro-0813); the legacy IDs deepseek-chat and deepseek-reasoner were scheduled for retirement on 2026-07-24 at 15:59 UTC and are no longer listed in DeepSeek’s docs. To use DeepSeek LLM specifically, you self-host the open weights:

  • Hugging Face: the four canonical repositories are deepseek-ai/deepseek-llm-7b-base, deepseek-ai/deepseek-llm-7b-chat, deepseek-ai/deepseek-llm-67b-base and deepseek-ai/deepseek-llm-67b-chat.
  • Quantised builds: DeepSeek’s GitHub README describes GGUF (llama.cpp) and GPTQ (exllamav2) routes, and Ollama lists deepseek-llm:7b (4.0 GB) and deepseek-llm:67b (38 GB) builds (checked 27 October 2026); see our Ollama walkthrough for an Ollama-friendly approach.
  • Local install: for a from-scratch setup, the install DeepSeek locally tutorial covers the dependencies.

A minimal Python load using Hugging Face Transformers (use the 7B if you only have one GPU):

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

model_name = "deepseek-ai/deepseek-llm-7b-chat"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name, torch_dtype=torch.bfloat16, device_map="auto"
)

inputs = tokenizer("Explain RMSNorm in one paragraph.", return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(out[0], skip_special_tokens=True))

If your real goal is “I want to call DeepSeek from code”, do not run DeepSeek LLM — call the hosted DeepSeek API instead. Chat requests hit POST /chat/completions, the OpenAI-compatible endpoint, against base_url="https://api.deepseek.com". DeepSeek also exposes an Anthropic-compatible surface at https://api.deepseek.com/anthropic. Minimal Python with the OpenAI SDK:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.deepseek.com",
    api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
    model="deepseek-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Note that the API is stateless — clients must resend the full conversation history with every request. Thinking mode is on by default and returns reasoning_content alongside the final content; reasoning_effort takes “low”, “high” (the default) or “max”, and extra_body={"thinking": {"type": "disabled"}} switches thinking off. Other useful parameters include temperature (0.0 for code, 1.3 for general chat per DeepSeek’s guidance — non-thinking mode only, as thinking mode ignores it), top_p and max_tokens. The full DeepSeek API documentation covers JSON mode, streaming, function calling and context caching.

Pricing snapshot (for the API, not for self-hosted DeepSeek LLM)

Self-hosting DeepSeek LLM is “free” only in the API-cost sense — you pay for the GPUs. For workloads where the hosted API is appropriate, API pricing as of October 2026 per DeepSeek’s official pricing page (see also our DeepSeek API pricing page):

Tier Input cache hit ($/M) Input cache miss ($/M) Output ($/M)
deepseek-flash (DeepSeek-V4.1-Flash-1017) $0.006 peak / $0.003 off-peak $0.30 peak / $0.15 off-peak $1.20 peak / $0.60 off-peak
deepseek-v4-pro (DeepSeek-V4-Pro-0813) $0.044 peak / $0.022 off-peak $1.32 peak / $0.66 off-peak $3.96 peak / $1.98 off-peak

Peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday to Friday, excluding Chinese public holidays; all other hours are off-peak, at half the peak rate. DeepSeek may offer a granted balance — a small promotional credit that can expire — so check the billing console for current offers rather than assuming free credits.

Best use cases for DeepSeek LLM today

  • Scaling-law research. The 7B and 67B checkpoints, plus intermediate checkpoints DeepSeek released, are useful as a fixed reference point.
  • Bilingual fine-tuning baselines where a dense model is preferred — see the role-specific patterns in our DeepSeek for research and DeepSeek for translation guides.
  • Air-gapped deployments where the operational simplicity of a dense model outweighs benchmark quality.
  • Teaching and reproduction — running 7B Chat on a single GPU is a clean classroom example of LLaMA-family architecture without the complexity of MoE routing.

For everything else — coding assistance, agents, RAG, reasoning, long-context work — pick a current model. DeepSeek Coder V2 and the V4-generation models post far higher scores than DeepSeek LLM on the coding and reasoning benchmarks DeepSeek reports.

Comparable alternatives

Illustration: stylised scorecard headed 'LLM' listing MMLU, HumanEval, GSM8K and BBH with unlabelled bars and the note 'first-gen results'; the bar lengths are decorative, not DeepSeek's reported scores.

If you are evaluating DeepSeek LLM against something else, the relevant comparisons are not against current ChatGPT or Claude — those are different generations entirely. Useful frames:

Verdict

DeepSeek LLM is a well-executed, well-documented dense transformer that did exactly what its paper claimed in early 2024 — beat Llama-2 70B and outperform GPT-3.5 on open-ended evaluation, with reproducible scaling-law work behind it. As a 2026 production model it has been outclassed on the benchmarks DeepSeek reports by its own MoE successors. Run it for research, teaching, or specific bilingual fine-tuning experiments; for everything else, use the current API models, deepseek-flash or deepseek-v4-pro.

What is DeepSeek LLM?

DeepSeek LLM is the lab’s first general-purpose foundation-model family, published on Hugging Face in November 2023 (technical report: January 5, 2024) as 7B and 67B dense decoder-only transformers, each shipped in Base and Chat variants. The flagship contains 67 billion parameters and was trained from scratch on a dataset containing 2 trillion tokens covering Chinese and English, and the company open-sourced the complete 7B/67B Base and Chat checkpoints for the research community. See our what is DeepSeek overview for the broader context.

Is DeepSeek LLM open source?

Yes, with a caveat. The code repository is licensed under the MIT License, the use of DeepSeek LLM models is subject to a separate Model License, and DeepSeek LLM supports commercial use. Code is MIT, weights are governed by the DeepSeek Model License — the same split DeepSeek used through V3 base. Newer releases (R1, V3.1, V3.2, V4-Pro-0813, V4.1-Flash-1017) publish weights under MIT directly. More detail in is DeepSeek open source.

How does DeepSeek LLM 67B compare to Llama 2 70B?

On the lab’s own evaluations, the 67B beat Llama-2 70B with 3B fewer parameters. DeepSeek 67B surpassed LLaMA-2 70B across various benchmarks, particularly excelling in code, mathematics, and reasoning tasks, and in open-ended conversational evaluations DeepSeek 67B Chat outperformed GPT-3.5. For a current head-to-head with the wider Llama family, see DeepSeek vs Llama.

Can I run DeepSeek LLM locally?

Yes. The 7B fits comfortably on a single 24 GB consumer GPU at 4-bit quantisation; the 67B’s 16-bit weights alone total about 135 GB, so plan for multi-GPU or aggressive quantisation. Ollama lists 4-bit-class builds of both sizes (4.0 GB and 38 GB, checked 27 October 2026), and DeepSeek’s README covers GGUF and GPTQ conversion. The install DeepSeek locally tutorial covers dependencies, and DeepSeek system requirements has the hardware specifics.

Should I use DeepSeek LLM or DeepSeek V4 in 2026?

For almost any production workload, a current V4-generation model. DeepSeek LLM has a 4K context window, no thinking mode, and benchmark scores below DeepSeek’s own MoE successors. The current API models — deepseek-flash (DeepSeek-V4.1-Flash-1017) and deepseek-v4-pro (DeepSeek-V4-Pro-0813) — offer a 1,000,000-token context and thinking mode (on by default, and can be switched off) through the hosted API. Use DeepSeek LLM only for research, teaching, or specific dense-model experiments. The DeepSeek V4-Flash page covers what to migrate to.

Sources & Methodology

Last source check: October 27, 2026

Primary sources

  • OfficialDeepSeek API documentationEndpoints, request/response shape, model IDsLast checked: October 27, 2026
  • Model cardDeepSeek on Hugging FaceWeights, license, usage notes per modelLast checked: October 27, 2026
  • RepositoryDeepSeek-AI on GitHubOpen-weight release details, training/inference notesLast checked: October 27, 2026
  • Model cardDeepSeek-LLM-67B-Chat model card67B Chat checkpoint, 2T bilingual tokens, licence wordingLast checked: October 27, 2026
  • Model cardDeepSeek-LLM-7B-Chat model card7B Chat checkpoint for single-GPU useLast checked: October 27, 2026
  • Official repositoryDeepSeek-LLM official GitHub repository (README)Base and chat benchmark tables (67B Chat HumanEval 73.78, GSM8K 84.1, MATH 32.6, Hungarian exam 65; 67B Base vs LLaMA-2 70B), training hyper-parameters, MHA/GQA, intermediate checkpoints, GGUF/GPTQ notes, A100 memory profilesLast checked: October 27, 2026
  • Official documentationDeepSeek API pricing pagedeepseek-flash / deepseek-v4-pro peak and off-peak rates and peak hours (Oct 2026)Last checked: October 27, 2026

Technical references

Context sources

Methodology

Architecture, parameter counts, context window, and license were checked against the official DeepSeek model card and the corresponding technical report. Benchmark figures are reproduced as they appear in vendor materials and are treated as directional indicators rather than guarantees of real-world performance.

Data confidence

High for official architecture and license; medium for vendor-reported benchmarks; low for projected future capabilities.

Editorial note

Vendor-reported figures are not always independently replicated. Benchmarks at the frontier change quickly; expect this article to need a refresh whenever DeepSeek, OpenAI, Anthropic, or Google ship a new model.

Leave a Reply

Your email address will not be published. Required fields are marked *