Will It Run AI
CalculatorModelsHardwareCompare
Product
  • Calculator
  • Compare
  • Tier List
Browse
  • Models
  • Hardware
  • Docs
About
  • Why It Works
  • What's New
  • Legal Notice
  • Privacy Policy

All estimates are approximations based on mathematical models and public specifications. Actual performance may vary. Do not make purchasing decisions based solely on these estimates.

Data sourced from Hugging Face, Ollama, and official model documentation. Model names and logos are trademarks of their respective owners.

© 2026 Will It Run AI — Fase Consulting Ibiza, S.L. (NIF: B57969656)

Home/Models/Granite Code 8B

IBMIBM

Granite Code 8B

Current
huggingfaceHuggingFaceollamaOllama
655Downloads115LikesMay 2024Released8K tokensContextApache 2.0License3 EntryQuality

Get started

— copy & paste to run locally
Ollama
ollama run granite-code-8b
HuggingFace
huggingface-cli download granite-code-8b

Quick specs

Parameters8B
Architecturedense
Context8K tokens
Modalitytext
Min RAM3.1 GB
Rec. RAM4.9 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite

About this model

Granite-8B-Code-Instruct-4K is a 8B parameter model fine tuned from *Granite-8B-Code-Base-4K* on a combination of permissively licensed instruction data to enhance instruction following capabilities including logical reasoning and problem-solving skills.

  • •Developers:: IBM Research
  • •GitHub Repository:: ibm-granite/granite-code-models
  • •Paper:: Granite Code Models: A Family of Open Foundation Models for Code Intelligence
  • •Release Date: May 6th, 2024
  • •License:: Apache 2.0

Related models

Your hardware

Detecting...

Quick picks

Intel
Best budgetC
Intel Arc B580 12GB~$249 — 45 tok/s
NVIDIA
Best overallB
RTX 3080 10GB~$699 — 118 tok/s

Best hardware

Top picks for Granite Code 8B

NVIDIA
RTX 3080 10GBB
10 GB
NVIDIA
RTX 2080 Ti 11GBB
11 GB
NVIDIA
RTX 3080 12GBB
12 GB
NVIDIA
RTX 3080 Ti 12GBB
12 GB
NVIDIA
RTX 5070 12GBB
12 GB

Quantization options

VRAM estimates by quant level

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
3.1 GB
Low—
Q3_K_S
3
3.9 GB
Low—
NVFP4
4
4.5 GB
Medium—
Q4_K_M
4
4.9 GB
Medium—
Q5_K_M
5
5.8 GB
High—
Q6_K
6
6.6 GB
High—
Q8_0
8
8.6 GB
Very High—
F16
16
16.4 GB
Maximum—

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: NVIDIA A10 24GB

Weights4.9 GB
KV Cache1.3 GB
Runtime0.9 GB
Headroom2.4 GB