OpenAI:gpt-oss-120b API 定价
OpenAI 的 gpt-oss-120b 是一个开放权重的专家混合推理模型,总参数数为 1170 亿,有效参数数为 51 亿。该模型遵循 Apache 2.0 协议发布,支持文本处理,并能使用工具和调用函数。
- 每100万枚代币的价格
- 0.0049 美元 / 0.021美元买入价 /卖出价−88%
- 缓存的输入
- $0.0047per 1M tokens
- 上下文
- 13.1万枚代币最大产出量为11.7万枚
- 服务提供商
- 29
- 最快
- 1006 tok/sInfercom SCS
服务提供商
29 家服务提供商 ·
128K 上下文 · 16K 最大输出
支持的参数10
- 抽样
温度top_pmin_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
128K 上下文 · 16K 最大输出
支持的参数9
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
131K 上下文
支持的参数12
- 抽样
温度top_ptop_k种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
128K 上下文 · 16K 最大输出
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数16
- 抽样
温度top_ptop_k种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
128K 上下文 · 32K 最大输出
支持的参数10
- 抽样
温度top_ptop_k- 处罚
频率惩罚存在惩罚- 输出
停止- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数16
- 抽样
温度top_ptop_k种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数16
- 抽样
温度top_ptop_k种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
131K 上下文 · 32K 最大输出
支持的参数16
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数15
- 抽样
温度top_ptop_k种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
13.1万上下文 · 11.7万最大输出量
支持的参数16
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
128K 上下文 · 4K 最大输出
支持的参数6
- 抽样
温度top_p- 输出
logprobstop_logprobs- 推理
推理include_reasoning- 未确认
停止工具
131K 上下文
支持的参数15
- 抽样
温度top_ptop_kmin_p种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数19
- 抽样
温度top_ptop_kmin_ptop_a种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数7
- 抽样
温度top_ptop_k- 处罚
重复惩罚- 输出
结构化输出- 推理
推理include_reasoning- 未确认
停止工具
131K 上下文 · 32K 最大输出
支持的参数14
- 抽样
温度top_ptop_kmin_p种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format- 工具
工具工具选择- 推理
推理include_reasoning
- Route 1 · fp4128K context · 115K max outputCache $0.10 · 0.19 s · 222 tok/s · 99.9 %0.19 s · 222 tok/sInput $0.10Cache read $0.10Output $0.53Latency 0.19 sSpeed 222 tok/sUptime 99.9 %$0.10 in$0.53 out
- Route 2 · fp4128K context · 115K max outputCache $0.10 · 0.18 s · 216 tok/s · 99.8 %0.18 s · 216 tok/sInput $0.10Cache read $0.10Output $0.53Latency 0.18 sSpeed 216 tok/sUptime 99.8 %$0.10 in$0.53 out
支持的参数11
- 抽样
温度top_p- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
- Route 1 · fp4131K context · 117K max outputCache $0.058 · 0.47 s · 104 tok/s · 99.9 %0.47 s · 104 tok/sInput $0.10Cache read $0.058Output $0.79Latency 0.47 sSpeed 104 tok/sUptime 99.9 %$0.10 in$0.79 out
- Route 2 · fp4131K context · 117K max outputCache $0.16* · 0.30 s · 161 tok/s · 100 %0.30 s · 161 tok/sInput $0.16Cache read $0.16 (no cache discount: the input price)Output $0.79Latency 0.30 sSpeed 161 tok/sUptime 100 %$0.16 in$0.79 out
支持的参数17
- 抽样
温度top_ptop_k种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
13.1万上下文 · 11.7万最大输出量
支持的参数8
- 抽样
温度top_ptop_k- 输出
停止- 工具
工具工具选择- 推理
推理include_reasoning
- Route 1131K context · 117K max outputCache $0.16* · 0.56 s · 344 tok/s · 100 %0.56 s · 344 tok/sInput $0.16Cache read $0.16 (no cache discount: the input price)Output $0.63Latency 0.56 sSpeed 344 tok/sUptime 100 %$0.16 in$0.63 out
- Route 2131K context · 117K max outputCache $0.16* · 0.43 s · 150 tok/s · 100 %0.43 s · 150 tok/sInput $0.16Cache read $0.16 (no cache discount: the input price)Output $0.63Latency 0.43 sSpeed 150 tok/sUptime 100 %$0.16 in$0.63 out
支持的参数7
- 抽样
温度top_ptop_k- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
停止
13.1万上下文 · 11.7万最大输出量
支持的参数14
- 抽样
温度top_ptop_klogit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1K 上下文 · 8.1K 最大输出
支持的参数8
- 抽样
温度top_ptop_k- 处罚
频率惩罚- 输出
response_format结构化输出- 推理
推理include_reasoning- 未确认
停止工具
13.1万上下文 · 11.7万最大输出量
支持的参数15
- 抽样
温度top_ptop_kmin_plogit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
13.1K 上下文 · 13.1K 最大输出
支持的参数17
- 抽样
温度top_ptop_kmin_p种子- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
13.1K 上下文 · 6.5K 最大输出
支持的参数10
- 抽样
温度top_p种子- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
131K 上下文 · 32K 最大输出
支持的参数13
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择
13.1万上下文 · 4万最大输出量
支持的参数15
- 抽样
温度top_p种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出logprobstop_logprobs- 工具
工具工具选择- 推理
推理include_reasoning
13.1K 上下文 · 6.5K 最大输出
支持的参数17
- 抽样
温度top_ptop_kmin_ptop_a种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理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/gpt-oss-120b", "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/gpt-oss-120b",
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/gpt-oss-120b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 gpt-oss-120b 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gpt-oss-120b;其余代码保持不变。
关于 gpt-oss-120b
- 标价
- 0.03 美元 / 0.19 美元每100万单位的进/出
- 保存与列表
- 89 %在1:3的输入与输出混合比下
- 请求示例
- 0.00007美元10,000流入 + 1,000流出
- 端点
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.
用文字表述价格
gpt-oss-120b costs from $0.0049 per 1M input tokens and $0.021 per 1M output tokens on OpenCheap, with cached input at $0.0047 per 1M tokens. Its list price is $0.03 per 1M input tokens and $0.19 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 89 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00007, and 1,000 such requests about $0.07.
29 providers serve gpt-oss-120b on OpenCheap. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.
gpt-oss-120b is one of 93 OpenAI models on OpenCheap.
The public list price is $0.03 per 1M input tokens and $0.19 per 1M output tokens. OpenCheap is from $0.0049 and $0.021, as of 2026-12-04 11:34 UTC.
Prices as of 2026-12-04 11:34 UTC.
关于定价的问题
GPT-OSS-120B API 每 100 万个令牌的费用是多少?
gpt-oss-120b costs from $0.0049 per 1M input tokens and $0.021 per 1M output tokens on OpenCheap, with cached input at $0.0047 per 1M tokens. Prices as of 2026-12-04 11:34 UTC.
一个 gpt-oss-120b 请求的费用是多少?
一个包含 10,000 个输入令牌和 1,000 个输出令牌的请求成本约为 0.00007 美元,而 1,000 个此类请求的成本约为 0.07 美元。每个响应都会在 usage.cost 中报告其自身成本。
Is gpt-oss-120b cheaper on OpenCheap than its list price?
其标价为每100万个输入代币0.03美元,每100万个输出代币0.19美元,因此按照典型的1:3输入与输出比例计算,这里的成本要低89%。
哪些服务商支持 gpt-oss-120b?
29 providers serve gpt-oss-120b 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.
gpt-oss-120b 的上下文窗口是什么?
其上下文窗口为131K个令牌(131,072),单次请求中可容纳约98,000个英语单词。
如何调用 gpt-oss-120b API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gpt-oss-120b. One OpenCheap key works for every model; the rest of your code stays the same.
OpenAI 的更多内容
- gpt-oss-20bgpt-oss-20b每100万·13.1万上下文为 $0.0003 / $0.0015
- GPT 5.5gpt-5.5每1M · 1M上下文 $2.00 / $12.00
- Codex Minicodex-mini-latest每1M 1.50美元 / 6.00美元
- GPT-3.5 Turbo(旧版 v0613)gpt-3.5-turbo-0613每1M·4K内容 $1.05 / $2.10
- GPT-3.5 Turbo 16kgpt-3.5-turbo-16k每1M·16K上下文 $3.15 / $4.20
- GPT-4gpt-431.50 美元 / 63.00 美元 每 1M · 8.1K 上下文
- GPT 4.1gpt-4.1每1M·1M上下文 $2.00 / $8.00
- GPT 4.1 Minigpt-4.1-mini每1M·1M上下文 $0.40 / $1.60
类似型号
- mistral-nemoMistral · 13.1万语境每1M 0.018 美元 / 0.024 美元
- 杰玛 4 31B 它Google · 26.2万条上下文$0.012 / $0.036 per 1M
- Qwen3.6 27BQwen · 26.2万语境0.0053 美元 / 0.053 美元(每 1M)
- Qwen3.8 27BQwen · 1M 语料库$0.0033 / $0.015 per 1M29 % cheaper
- 杰玛 4 E2BGoogle · 128K 上下文$0.005 / $0.01 per 1M49 % cheaper
- 英伟达 Nemotron 3 Super 120B A12BNVIDIA · 100万个上下文$0.009 / $0.048 per 1M