granite-4.2-8b API — compare providers

The same model (granite-4.2-8b) is served by 2 providers; CoreWeave is the cheapest at $0.25/1M blended — the priciest (DeepInfra) costs 24% more.

LicenseApache 2.0open weights · permissive · terms
Knowledge cutoffApril 2024source · ranked
Intelligence19.6Artificial Analysis Intelligence Index · source · ranked

Quality and intelligence scores are attached to the model itself — identical whichever provider serves it.

RankProviderInput /1MOutput /1MBlended /1M
1CoreWeave$0.1$0.15$0.25 ← cheapest
2DeepInfra$0.06$0.25$0.31

Prices are per 1M tokens (USD). "Blended" = input + output, for coarse ranking. Same underlying model, 2 serving providers, 24% spread top to bottom. Context window: 131,072 tokens (117,964 max output) — see how it ranks in biggest context windows. See how this compares across the catalogue in same model, different price.

Cost per 1,000 requests by workload

What each provider actually bills for a representative job, not just the sticker price.

ProviderChatbot
1000 in / 500 out
RAG / long context
8000 in / 500 out
Batch summarize
4000 in / 1000 out
CoreWeave$0.17$0.88$0.55
DeepInfra$0.18$0.60$0.49

Estimate your own workload

Input tokens/request:   Output tokens/request:   Requests:

ProviderEstimated cost (USD)

Self-host / quantized builds

Open weights under Apache 2.0 — you can run granite-4.2-8b on your own hardware instead of paying per token. Quantized to int4 it needs roughly 4.8 GB of VRAM — within reach of a single consumer GPU or a Mac with unified memory. Formats: GGUF for llama.cpp / Ollama / LM Studio, AWQ and GPTQ for GPU serving, MLX for Apple silicon.

Links search the live model hubs (Hugging Face, Ollama) so they track new builds as they appear — we don't host weights. Which formats exist depends on what the model owner and community have published.

→ See VRAM, GPU and cost vs API for granite-4.2-8b, or the full self-host break-even calculator.