jishie

Granite 4.2 8B

huggingface/ibm-granite/granite-4.2-8b · family granite · in: text → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text.

$0.11
Blended $/1M (3:1)
$0.06
Input $/1M
$0.25
Output $/1M
$0.31
1M in + 1M out
—
Cache read $/1M
#1008 of 9,691
Cheapest rank
Provider
Hugging Face (huggingface)
Kind
text (outputs text)
Context
131,072 tokens
Max output
117,964 tokens
Capabilities
tools reasoning text

Same model, other providers

“Granite 4.2 8B” is offered by 5 providers — cheapest-effective first. NanoGPT is the cheapest at $0.08 blended.

ProviderInputOutputBlendedContext
NanoGPT$0.06$0.15$0.08131k
CoreWeave$0.06$0.15$0.08131k
OpenRouter$0.06$0.15$0.08131k
Hugging Face (this)$0.06$0.25$0.11131k
DevPass (LLM Gateway)$0.06$0.25$0.11131k

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at Hugging Face and pass this model id:

curl $BASE_URL/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"ibm-granite/granite-4.2-8b","messages":[{"role":"user","content":"hello"}]}'

Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):

← all Hugging Face models · model index · JSON