Skip to content

How to run InternLM2.5 20B locally

InternLM2.5 20B is a 20B InternLM model with a 256K context and Apache-2.0 license. Here's the VRAM it needs, which GPUs run it, and how fast.

At a glance

Parameters
20B
Min VRAM (Q4)
~15GB
Context
256K
License
Apache-2.0

Memory needed per quantization

QuantQualityWeightsMin VRAM
IQ3_M90.0%9.2 GB~12 GB
Q4_K_M97.5%12 GB~15 GB
Q5_K_M99.0%14 GB~17 GB
Q6_K99.7%16 GB~19 GB
Q8_099.9%21 GB~24 GB
FP16 / BF16100.0%40 GB~43 GB

Which GPUs run InternLM2.5 20B

GPUFitQuantSpeed
GeForce RTX 4060
8GB · 272 GB/s
RecommendedIQ2_XXS35.9 tok/s
GeForce RTX 3060 12GB
12GB · 360 GB/s
PerfectIQ2_XXS47.5 tok/s
GeForce RTX 4070
12GB · 504 GB/s
PerfectQ2_K54.1 tok/s
Intel Arc B580
12GB · 456 GB/s
PerfectQ2_K48.9 tok/s
GeForce RTX 4070 Ti SUPER
16GB · 672 GB/s
PerfectQ4_K_M41.9 tok/s
GeForce RTX 5070
12GB · 672 GB/s
PerfectQ2_K72.1 tok/s
GeForce RTX 4080 SUPER
16GB · 736 GB/s
PerfectQ4_K_M45.9 tok/s
Radeon RX 7900 XTX
24GB · 960 GB/s
PerfectQ6_K45.1 tok/s
GeForce RTX 3090
24GB · 936 GB/s
PerfectQ6_K43.9 tok/s
GeForce RTX 4090
24GB · 1008 GB/s
PerfectQ6_K47.3 tok/s
GeForce RTX 5090
32GB · 1792 GB/s
PerfectQ8_065.8 tok/s
Apple M4
16GB · 120 GB/s
WorksIQ4_XS8.4 tok/s
Apple M4 Pro
24GB · 273 GB/s
RecommendedIQ4_XS19.1 tok/s
Apple M3 Max (16c)
48GB · 400 GB/s
RecommendedQ5_K_M21.5 tok/s
Apple M2 Ultra
64GB · 800 GB/s
PerfectQ5_K_M43 tok/s

Frequently asked

How much VRAM does InternLM2.5 20B need?

At the recommended Q4_K_M quantization, InternLM2.5 20B needs about 12.1GB for weights plus KV cache and overhead — roughly 15GB of VRAM total for a usable context. Drop to a 3-bit quant to squeeze it smaller, or go FP16 (40GB) for full quality.

What GPU do I need to run InternLM2.5 20B?

The most affordable GPU that runs it well is the Intel Arc B580 (12GB) at Q2_K, delivering about 48.9 tokens/sec. Anything with 15GB+ of VRAM will run it comfortably.

Which quantization should I use for InternLM2.5 20B?

Q4_K_M is the default sweet spot (~97.5% of full quality). If it fits, Q5_K_M or Q6_K give near-lossless output; only drop below Q4 when you must fit it into limited VRAM.

Is InternLM2.5 20B good for reasoning?

Yes — InternLM2.5 20B scores 82/100 for reasoning, one of its strongest areas. License: Apache-2.0.

Other models

Popular GPUs

Best models by need

Run the interactive advisor
Auto-detect your exact hardware and get personalised picks, speed & memory.