Skip to content

granite-4-2-8b ​

This page lists parameters from the ModelFold model catalog.

Granite 4.2 8B is a dense reasoning model from IBM. It is suited for mathematics, code generation, multilingual dialogue, and agentic workflows that need multi-step reasoning. It supports full, low-effort,...

Overview ​

FieldValue
Model IDgranite-4-2-8b
Family sluggranite-4-2-8b
ModalityChat Models (chat)
EndpointPOST /v1/chat/completions

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/chat/completions" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"granite-4-2-8b","messages":[{"role":"user","content":"Explain what a diffusion model does in two sentences."}],"max_tokens":512}'

See also ​

ModelFold — one API for all the best AI models.