← Models
huggingface

Granite 4.2 8B

ibm-granite/granite-4.2-8b
Reasoning

Model details

Model
ibm-granite/granite-4.2-8b
Provider
huggingface
API
openai-completions
Base URL
https://router.huggingface.co/v1
Input
text
Reasoning
Yes
Context window
131,072
Max tokens
117,964

Pricing

USD per million tokens.

Input
$0.06
Output
$0.15
Cache read
$0
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.0070
Uncached input
$0.0048
Cache reads
$0.0000
Cache writes
$0.0000
Output
$0.0022
Without caching
$0.05

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStrictMode
Yes