Local AI Advisor

granite-switch-4.1-8b on local hardware

Estimated comfort for repository coding with Aider on a MacBook Pro M4 Pro 48GB.

granite-switch-4.1-8bOpen source

ibm-granite · apache-2.0 · 980 downloads

Hugging Face
Parameters
8.8B exact
Context window
128K tokens
Attention
Standard (full attention)
Layers · KV heads · head dim
42 · 8 · 128
KV cache
168 KB/token · 5.3 GB at 32K
Tool calling
good (from chat template)
Thinking
basic (from chat template)
Vision
basic (inferred — no supporting signal)
Commercial use
allowedRetain the required license and attribution notices
Import confidence
medium · capabilities estimated

Weights by quantization

Q3_K_M

4.1 GB

computed · low confidence

Q4_K_M

5.1 GB

computed · low confidence

Q5_K_M

6.0 GB

computed · low confidence

Q6_K

6.9 GB

computed · low confidence

Q8_0

8.9 GB

computed · low confidence

F16 / BF16

16 GB

safetensors file size

  • • Assumes GGUF / MLX conversions of this model exist (they do for most popular models). Sizes are computed from bits per weight.
  • • vision: basic, inferred from missing signals (low confidence).
  • • Capability ratings are estimated from model size and name — this model hasn't been assessed by hand.

granite-switch-4.1-8b — 8-bit

Acceptable for your workload

Acceptable

Speed

14–19 tok/s

Adequate

Memory left

21 GB

of 48 GB

First word in

≈50 s

Adequate

All the details
Your setup
MacBook Pro M4 Pro 48 GB
Workload
Repository coding with Aider
Runtime → tool
LM Studio → Aider
Memory used
15 GB
Context
32K · up to 64K practical
Tool support
Official
Use-case fit
Poorly suited

Why?

  • Model fits with approximately 21 GB of memory headroom.
  • LM Studio supports hardware acceleration on this machine (Metal (Apple GPU)).
  • Aider can connect to LM Studio (officially supported).
  • Generation (14–19 tok/s) is adequate but not ideal for interactive coding.
  • Ingesting a prompt of 14K tokens takes ≈50 s, and each step ≈60 s — noticeable waits.
  • 32K window; generation drops to 11–15 tok/s when it is full.
  • Weak coding capability for interactive coding.

Why “Acceptable” rather than “Comfortable”?

  • Workload suitability: Weak coding capability for interactive coding.
  • Generation: Expected 14–19 tok/s at ~16K tokens of context. Coding with repository context is comfortable from about 28 tok/s.
  • Prompt processing: Ingesting the first prompt (14K tokens) takes ≈50 s; each of the ~4 follow-up turns takes ≈60 s (≈5 min per task).
  • Context: 32K window; generation drops to 11–15 tok/s when it is full.

How sure are we?

Medium confidence

Estimated from bandwidth and compute, calibrated against 2 verified benchmarks of other models on this same chip (measured with a different engine, so calibration is partial).

  • Calibrated with verified benchmarks of other models on this chip.
Medium confidence
Check with your hardware and workload