IBM: Granite 4.2 8B
ibm-granite/granite-4.2-8b
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, and non-thinking modes.
The model supports 12 languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese.
供應商
不同公司託管相同的模型。OpenRouter 會根據您選擇的路由模式,將請求路由至其中一家:Balanced(價格 + 速度)、Nitro(最快)或 Floor(最便宜)。
| US$0.06 | US$0.25 | US$0.015 | 0.08s | 120 tok/s | ||
| US$0.06 | US$0.15 | US$0.015 | 0.47s | 35 tok/s |
- 輸入 /M
- US$0.06
- 輸出 /M
- US$0.25
- 快取讀取 /M
- US$0.015
- 延遲
- 0.08 秒
- 吞吐量
- 120 tok/s
- 正常運作時間
- 99.94%
- 輸入 /M
- US$0.06
- 輸出 /M
- US$0.15
- 快取讀取 /M
- US$0.015
- 延遲
- 0.47 秒
- 吞吐量
- 35 tok/s
- 正常運作時間
- 97.25%
定價
客戶實際支付此模型的平均價格,與供應商公布的價格並列顯示。快取和折扣使實付價格往往遠低於牌價。
加權平均
Granite 4.2 8B — 價格歷程
| US$0.0250 | US$0.250 | 77.6% | 17.7% | ||
| US$0.0459 | US$0.149 | 31.3% | 82.3% |
- 生效倒數 US$0.0250 / 實際輸出 US$0.250token 占比17.7%
- 生效倒數 US$0.0459 / 實際輸出 US$0.149token 占比82.3%
效能
吞吐量是模型輸出的速度(每秒 token 數,越高越好)。延遲是完整往返所需的總時間(越低越好)。TTFT 是首個 token 的等待時間,也就是看到任何輸出前需要等多久(越低越好)。
P50,所有供應商中的最佳表現
P50,最佳供應商
正常運作時間
正常運作時間是指過去 3 天中,至少有一家供應商回應請求的時間百分比。可用性是指成功提供推論服務的時間百分比。OpenRouter 會持續監控,並在供應商傳回錯誤時使用次佳供應商。
過去 3 天的可用性
過去 72 小時過去 24 小時的可用性
當上游供應商發生錯誤時,只要您的請求篩選條件允許,我們就能將請求路由至其他正常運作的供應商以復原服務。您可以透過程式,使用以下 API 存取各供應商的正常運作時間資料: 端點 API。進一步瞭解我們的 負載平衡與供應商路由選項。
基準測試
標準化評估的分數,以及此模型對共用基準測試提示詞的實際輸出。百分比越高越好,而每個排名顯示此模型在該來源所評估模型中的名次。
| 來源 | 基準測試 | 分數 |
|---|---|---|
| Artificial Analysis | Granite 4.2 8B Finance & Accounting Index | 14.8 |
| Artificial Analysis | Granite 4.2 8B Strategy & Ops Index | 6.9 |
| Artificial Analysis | Granite 4.2 8B Legal Index | 14.6 |
| Artificial Analysis | Granite 4.2 8B Economics Index | 14.6 |
| Artificial Analysis | Granite 4.2 8B Openness Index | 72.2 |
| Artificial Analysis | Granite 4.2 8B AutomationBench-AA | 2.1% |
| Artificial Analysis | Granite 4.2 8B GDP.pdf | 0.6% |
| Artificial Analysis | Granite 4.2 8B GPQA Diamond | 63.1% |
| Artificial Analysis | Granite 4.2 8B HLE | 9.7% |
| Artificial Analysis | Granite 4.2 8B AA-LCR | 45.0% |
| Artificial Analysis | Granite 4.2 8B τ³-Banking | 7.6% |
| Artificial Analysis | Granite 4.2 8B GDPval-AA | 0.0% |
| Artificial Analysis | Granite 4.2 8B CritPt | 0.3% |
| Artificial Analysis | Granite 4.2 8B HLE-Diamond | 4.0% |
| Artificial Analysis | Granite 4.2 8B SciCode | 31.5% |
| Artificial Analysis | Granite 4.2 8B Terminal-Bench 4.0 | 0.0% |
| Artificial Analysis | Granite 4.2 8B Terminal-Bench 2.1 | 18.4% |
| Artificial Analysis | Granite 4.2 8B Terminal-Bench-Science | 0.0% |
| Artificial Analysis | Granite 4.2 8B CritPt v2 (Hard Subset) | 0.0% |
| Artificial Analysis | Granite 4.2 8B CritPt v2 | 0.9% |
| Artificial Analysis | Granite 4.2 8B AA-Omniscience Accuracy | 11.8% |
| Artificial Analysis | Granite 4.2 8B AA-Omniscience Non-Hallucination Rate | 67.8% |
應用程式
向此模型傳送最多流量的公開應用程式。這能有效反映實際正式環境的工作負載樣貌,也能提示此模型最適合哪些使用情境。
使用情形
此模型的 token 用量與請求流量隨時間的變化。
API
可直接用於呼叫此模型的程式碼。OpenRouter 的 API 與 OpenAI 相容,只需替換基底 URL 即可使用大多數 SDK。切換模型時,唯一需要變更的是下方的模型 slug。
目前無法透過歐盟區域內路由使用。 區域內路由文件
常見問題
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, and non-thinking modes. The model supports 12 languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese.
Granite 4.2 8B 的費用為 US$0.06/百萬輸入 token 和 US$0.15/百萬輸出 token,Cache Read,價格為 US$0.015/M tokens 另行計費。
Granite 4.2 8B 的上下文視窗為 131,072 token。最多支援 131,072 個補全 token。
是的,Granite 4.2 8B 接受 tools 以進行函式呼叫。 也支援透過 response_format 中的 JSON schema 提供結構化輸出。
Granite 4.2 8B 在 OpenRouter 上由 2 家供應商提供服務:CoreWeave和DeepInfra。 請求會路由至最佳的可用供應商,並在故障時自動切換至其他供應商,您也可以透過供應商路由指定或排除供應商。
Granite 4.2 8B 於 2026年8月31日 發布。