Granite 4.2 8B InstructOuvert
IBM Granite 4.2 8B lightweight enterprise foundation model with high throughput and low cost.
Quality Domain Radar
6-Axis Frontier Evaluation vs Category Average & Flagship
Les axes du radar sont approximés depuis les scores par catégorie lorsque les mesures directes manquent — voir Méthodologie.
Points forts & compromis
Là où il gagne
- Open weights — self-host, fine-tune and audit with no vendor lock-in
- Sub-400ms time-to-first-token
- Very low blended price — $0.22/1M mixed tokens
- Cheap prompt-cache reads at $0.02/1M
Cas d'usage clés
Démarrage rapide développeur & API
HF_TOKEN — obtenir une clé APIcurl https://router.huggingface.co/v1/chat/completions \
-H "Authorization: Bearer $HF_TOKEN" \
-H "content-type: application/json" \
-d '{
"model": "granite-4-2-8b",
"messages": [{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://router.huggingface.co/v1",
api_key=os.environ["HF_TOKEN"],
)
resp = client.chat.completions.create(
model="granite-4-2-8b",
messages=[{"role": "user", "content": "Refactor this function for O(n) time and explain the change."}],
)
print(resp.choices[0].message.content)const res = await fetch("https://router.huggingface.co/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HF_TOKEN}`,
"content-type": "application/json",
},
body: JSON.stringify({
model: "granite-4-2-8b",
messages: [{ role: "user", content: "Refactor this function for O(n) time and explain the change." }],
}),
});
console.log((await res.json()).choices[0].message.content);Ressources & liens officiels
Comparer hôtes et latence
Débit, TTFT et tarifs de cache chez Groq, Cerebras, Together, DeepInfra, Fireworks, Bedrock et Azure.
Scores par Source
Scores par Catégorie
Résultats de Benchmarks
Specs en direct & architecture
- Prompt caching supported — cached input reads at $0.02/1M tokens.
Facture mensuelle estimée
Citer et intégrer
Loading badge markdown...@misc{llmpodium2026granite428b,
title = {Benchmark Analysis and Intelligence Evaluation of Granite 4.2 8B Instruct},
author = {LLMPodium Research},
year = {2026},
url = {https://llmpodium.com/models/granite-4-2-8b}
}Intégrer le badge de score
Ajoutez un badge Podium Score en direct à votre README GitHub ou Hugging Face — il renvoie vers le classement en direct.
Loading badge snippet...Loading badge snippet...Plus de IBM
Modèles alternatifs
Meilleures alternatives à Granite 4.2 8B Instruct selon les capacités, le prix et les benchmarks.