corehu

OPEN MODELS

internlm2-20b vs granite-code:20b

granite-code:20b needs about 34 GB less GPU memory than internlm2-20b (15 GB vs 49 GB). Cheapest way to run them today: internlm2-20b from $0.63 per hour on GB10, granite-code:20b from $0.21 per hour on RTX A4000.

internlm2-20bgranite-code:20b
DeveloperinternlmOllama
Parameters20B20B
Weights—GGUF
License——
GPU memory needed≈ 49 GB≈ 15 GB
Memory at 4-bit≈ 16 GB—
Cheapest GPU that fitsGB10 · $0.63RTX A4000 · $0.21
Speed (est.)≈ 3.9 tok/s · $44.64/1M≈ 22 tok/s · $2.69/1M
Downloads22,3300

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, internlm2-20b or granite-code:20b?
granite-code:20b needs about 34 GB less GPU memory than internlm2-20b (15 GB vs 49 GB).
Which is cheaper to run, internlm2-20b or granite-code:20b?
Cheapest way to run them today: internlm2-20b from $0.63 per hour on GB10, granite-code:20b from $0.21 per hour on RTX A4000.