InternLM2 20B Chat
20BShanghai AI Lab
⚠ Superseded · Prefer GPT-OSS 20B
This index would suggest GPT-OSS 20B instead today — longer context (32K → 128K tokens). The numbers below are still accurate; they are just for a model you probably should not start with. Compare the two →
Mid-size InternLM2 with excellent Chinese comprehension. Fits 24GB at Q4.
33K
Max Context
2
Quant Variants
GGUF Q5_K_M
Best Quality
98.6%
Accuracy Retained
Quantization Variants
Per-quant VRAM, quality loss, and inference speed on RTX 4090
Measured = site benchmarks · Estimated = formula · Community = public reports
Similar models
Compare with InternLM2 7BInternLM2 7B Chat
Shanghai AI Lab
Strong bilingual (EN/ZH) 7B from Shanghai AI Lab. Competitive with Qwen 7B.
Qwen2.5 32B Instruct
Alibaba Qwen2.5
Near-GPT-4 reasoning on a 24GB VRAM card (Q4_K_S). Groundbreaking value.
Mistral Small 24B Instruct
Mistral AI
Mistral's efficient 24B. Strong multilingual; fits on 24GB with Q4.
Yi 1.5 34B Chat
01.AI Yi
01.AI's strong bilingual (EN/ZH) model. Competitive with Qwen 32B.
Running InternLM2 20B Chat locally
At Q4_K_M and 4K of context, InternLM2 20B Chat needs about 13.4 GB — 11.5 GB of weights, 0.75 GB of KV cache and a 1.2 GB activation buffer. The smallest card in this index that clears that comfortably is the RTX 5080 at 16 GB, and 45 of the 63 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.
What longer context costs
Going from 4K to 32K adds about 5.25 GB, taking the total to 19.2 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 32K; holding all of it at Q4_K_M would need about 19 GB.
Which build to download
This index only tracks InternLM2 20B Chat in GGUF, across 2 levels (Q4_K_M, Q5_K_M). Q5_K_M carries the lowest published perplexity loss at 1.4%. The fastest level measured here is Q4_K_M at 78 tok/s on an RTX 4090, batch 1. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 and CUDA only.
Common questions
- How much VRAM does InternLM2 20B Chat need?
- About 13.4 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 19.2 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
- Will InternLM2 20B Chat run on a 16GB GPU?
- Yes — at Q4_K_M and 4K context it needs about 13.4 GB, which leaves 2.6 GB spare on a RTX 5080. That is the smallest card in this index that clears it comfortably; 45 of 63 do.
- Which quantization of InternLM2 20B Chat should I use?
- Q5_K_M has the lowest published quality loss (1.4%), and Q4_K_M is the level most people run. All 2 levels in the index are Q4_K_M, Q5_K_M.
Where this model fits
Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.
- Runs comfortably on
- RTX 508016GB · +2.6RTX 5070 Ti16GB · +2.6RTX 5060 Ti 16G16GB · +2.6RTX 4080 Super16GB · +2.6RTX 4070 Ti Super16GB · +2.6
- Tight but possible
- Mac M3 Pro 18G18GB
- Ships in
- GGUF
- Try it yourself
- Size it in the calculatorGenerate the run command
How to actually run this
Deployment guides for this model and this class of hardware.
This page's figures change when the model or the runtime does.Last updated 2026-09-21 RSS → /feed.xml