ibm-granite/granite-4.2-8bAPI pricing
Granite 4.2 8B is IBM's mid-size open reasoning model, built on Granite 4.1 8B Base for step-by-step reasoning and tool calling. It can run in full thinking, non-thinking or low-effort modes, and is licensed under Apache 2.0.
- 每100万枚代币的价格
- $0.06 / $0.15input / output
- 缓存的输入
- 0.015美元每100万枚代币
- 上下文
- 13.1万枚代币最大产出量为11.7万枚
- 服务提供商
- 3
- 最快
- 92 tok/sCoreWeave
服务提供商
3 providers ·
131K 上下文
支持的参数12
- 抽样
温度top_ptop_k种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
131K 上下文
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数16
- 抽样
温度top_ptop_k种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/granite-4.2-8b", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/granite-4.2-8b",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/granite-4.2-8b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 ibm-granite/granite-4.2-8b 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/granite-4.2-8b;其余代码保持不变。
About ibm-granite/granite-4.2-8b
- 标价
- $0.06 / $0.15in / out per 1M
- 请求示例
- $0.0007510,000 in + 1,000 out
- 实验室
- IBM model
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
ibm-granite/granite-4.2-8b costs from $0.06 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.015 per 1M tokens. Its list price is $0.06 per 1M input tokens and $0.15 per 1M output tokens, the same as here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00075, and 1,000 such requests about $0.75.
3 providers serve ibm-granite/granite-4.2-8b on OpenCheap. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.
ibm-granite/granite-4.2-8b is the only IBM model on OpenCheap today.
The public list price is $0.06 per 1M input tokens and $0.15 per 1M output tokens. OpenCheap is from $0.06 and $0.15, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the ibm-granite/granite-4.2-8b API cost per 1M tokens?
ibm-granite/granite-4.2-8b costs from $0.06 per 1M input tokens and $0.15 per 1M output tokens on OpenCheap, with cached input at $0.015 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one ibm-granite/granite-4.2-8b request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00075, and 1,000 such requests about $0.75. Every answer reports its own cost in usage.cost.
Is ibm-granite/granite-4.2-8b cheaper on OpenCheap than its list price?
Its list price is $0.06 per 1M input tokens and $0.15 per 1M output tokens, the same as here.
Which providers serve ibm-granite/granite-4.2-8b?
3 providers serve ibm-granite/granite-4.2-8b on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of ibm-granite/granite-4.2-8b?
其上下文窗口为131K个令牌(131,072),单次请求中可容纳约98,000个英语单词。
How do I call the ibm-granite/granite-4.2-8b API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/granite-4.2-8b. One OpenCheap key works for every model; the rest of your code stays the same.
类似型号
- deepseek-v4-flashDeepSeek · 100万上下文$0.073 / $0.15 per 1M
- Mistral Small 3.2 24B (2506)Mistral · 256K 上下文每1M 0.07 美元 / 0.19 美元
- GPT 4o MiniOpenAI · 128K context$0.06 / $0.24 per 1M
- ByteDance-Seed/UI-TARS-1.5-7BByteDance · 128K context$0.10 / $0.20 per 1M
- Schematron V2 SmallInference.net · 128K context$0.05 / $0.23 per 1M
- nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16NVIDIA · 262K context$0.06 / $0.16 per 1M
Compare ibm-granite/granite-4.2-8b with any model →Cheapest LLM API