InternLM2-20B
by Shanghai AI Lab (InternLM) · Jan 12, 2024
InternLM2-20B is an open-weight chat llm from Shanghai AI Lab (InternLM), released Jan 12, 2024. It has 20B parameters.
- Provider
- Shanghai AI Lab (InternLM)
- Released
- Jan 12, 2024
- Type
- Chat LLM
- Parameters
- 20B
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- other
- Knowledge cutoff
- —
- Status
- Open weights
- Training compute
- 3.1e+23 FLOP
- Training data
- 2600B tokens/words
- HF downloads (30d)
- 22.3K
About InternLM2-20B
The evolution of Large Language Models (LLMs) like ChatGPT and GPT-4 has sparked discussions on the advent of Artificial General Intelligence (AGI). However, replicating such advancements in open-source models has been challenging. This paper introduces InternLM2, an open-source LLM that outperforms its predecessors in comprehensive evaluations across 6 dimensions and 30 benchmarks, long-context modeling, and open-ended subjective evaluations through innovative pre-training and optimization techniques.
How to run InternLM2-20B
InternLM2-20B is an open-weight model published on Hugging Face as internlm/internlm2-20b. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 20B parameters it needs roughly 12 GB of memory at 4-bit quantization.
InternLM2-20B vs alternatives
- InternLM2-20B vs Gemma 2 27B
- InternLM2-20B vs Phi 4
- InternLM2-20B vs DeepSeek-Coder-V2-Lite-Base
- InternLM2-20B vs Qwen2.5-Coder-32B-Instruct
- InternLM2-20B vs Mistral Large (latest)
- InternLM2-20B vs MobileLLM-125M
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Gemma 2 27Bopen | Google DeepMind | Jul 2024 | 27B | 8K | $0.65 | $0.65 | 118.6 |
| Phi 4open | Microsoft | Dec 2024 | 15B | 16K | $0.07 | $0.14 | 129.2 |
| DeepSeek-Coder-V2-Lite-Baseopen | DeepSeek | Jun 2024 | 16B | — | — | — | 99.4 |
| Qwen2.5-Coder-32B-Instructopen | Alibaba (Qwen) | Nov 2024 | 33B | 32K | $0.66 | $1 | 118.7 |
| Mistral Large (latest)open | Mistral AI | Nov 2024 | — | 125K | $0.5 | $1.50 | — |
| MobileLLM-125Mopen | Meta | Oct 2024 | — | — | — | — | — |
| Mistral Nemoopen | Mistral AI | Jul 2024 | 12B | 128K | $0.029 | $0.03 | 113.9 |
| Command Ropen | Cohere | Aug 2024 | — | 125K | $0.15 | $0.6 | — |
More models from Shanghai AI Lab (InternLM)
All Shanghai AI Lab (InternLM) models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Intern-S1-Proopen | Feb 2026 | 917B | — | — | — |
| internlm3-8b-instructopen | Jan 2025 | 8.8B | — | — | — |
| Intern-Decision-4Bopen | Sep 2026 | 4.5B | — | — | — |
| Intern-S1open | Jul 2025 | 241B | — | — | — |
| Intern-Decision-0.8Bopen | Sep 2026 | 853M | — | — | — |
| Intern-S1-miniopen | Aug 2025 | 8.5B | — | — | — |
| Intern-S2-Previewopen | May 2026 | 36B | — | — | — |
| internlm2-chat-7bopen | Jan 2024 | 7.7B | — | — | — |
Frequently asked questions
Who made InternLM2-20B?
InternLM2-20B was developed by Shanghai AI Lab (InternLM) (China,Hong Kong,Hong Kong,China). It was released on Jan 12, 2024.
Is InternLM2-20B open source?
Yes. InternLM2-20B's weights are publicly available under the other license on Hugging Face (internlm/internlm2-20b), so you can download and run it yourself.
How many parameters does InternLM2-20B have?
InternLM2-20B has 20B parameters.
Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.