gpt-oss-120b
openai/gpt-oss-120bgpt-oss-120b is OpenAI's largest open-weight reasoning model, released in August 2025 under the Apache 2.0 license: a 117B-parameter mixture-of-experts model with 5.1B active parameters that fits on a single 80GB GPU. OpenAI positions it for production, general-purpose and high-reasoning use, with adjustable low, medium or high reasoning, full chain-of-thought access, and native function calling, browsing, Python execution and structured outputs. It is text-only and can be self-hosted or fine-tuned.
閱讀更多- 輸入價格
- $0.04
$0.04美元/100 萬 token - 輸出價格
- $0.16
$0.18美元/100 萬 token - 上下文視窗
- 131.1K
- 最大輸出
- 131.1K
規格
- 輸入
- 文字
- 輸出
- 文字
關於這個模型
gpt-oss-120b is OpenAI's largest open-weight reasoning model, released in August 2025 under the Apache 2.0 license: a 117B-parameter mixture-of-experts model with 5.1B active parameters that fits on a single 80GB GPU. OpenAI positions it for production, general-purpose and high-reasoning use, with adjustable low, medium or high reasoning, full chain-of-thought access, and native function calling, browsing, Python execution and structured outputs. It is text-only and can be self-hosted or fine-tuned.
第三方評測
評測
標準化評測分數,與 SandBase 上的其他模型比較。
指標來源:Artificial Analysis · 智慧指數 v5 · 更新於 2026-11-16
試用這個模型
Playground
輸入提示詞即可試用這個模型。用量將依所示價格計費。
試試提示詞
您的回覆會顯示在這裡
選擇一個範例或輸入提示詞,然後按一下執行。
開始建置
送出您的第一個請求
可選擇任一支援的 API,並使用統一驗證與用量追蹤。
curl -X POST "https://api.sandbase.ai/v1/responses" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-120b",
"input": "Hello",
"max_output_tokens": 2048
}'下列欄位說明 Chat Completions API。Responses API使用供應商原生的請求與回應格式,如上方範例所示。
輸入 Schema
13 個參數 · 1 個必要 · 12 個選用
| 參數 | 類型 | 必要 | 說明 |
|---|---|---|---|
messages | object[] | 必要 | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | 選用 | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
stop | string[] | 選用 | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | 選用 | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_k | integer | 選用 | Only sample from the k most likely next tokens. · 最小值:0 |
top_p | number | 選用 | Nucleus sampling: only tokens within this cumulative probability are considered. · 最小值:0 · 最大值:1 |
stream | boolean | 選用 | Stream the response as server-sent events instead of returning it in one piece. · 預設值:false |
max_tokens | integer | 選用 | Maximum number of tokens to generate in the response. · 最大值:131072 |
temperature | number | 選用 | Sampling temperature. Higher values make output more random; lower values make it more focused. · 最小值:0 · 最大值:2 · 預設值:1 |
tool_choice | string | 選用 | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | 選用 | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
presence_penalty | number | 選用 | Penalizes tokens that already appear at all, encouraging new topics. · 最小值:-2 · 最大值:2 |
frequency_penalty | number | 選用 | Penalizes tokens by how often they already appear, reducing repetition. · 最小值:-2 · 最大值:2 |
輸出 Schema
| 欄位 | 類型 | 說明 |
|---|---|---|
id | string | 完成結果的唯一識別碼 |
object | string | 物件類型,例如 "chat.completion" |
model | string | 用於完成的模型 |
choices | array | 完成選項清單 |
choices[].message.content | string | 生成的文字內容 |
choices[].finish_reason | string | 生成停止的原因 |
usage.prompt_tokens | integer | 提示中的 token 數量 |
usage.completion_tokens | integer | 完成中的 token 數量 |
usage.total_tokens | integer | 使用的 token 總數 |
問題
常見問題
我要如何透過 SandBase 呼叫 OpenAI gpt-oss-120b?
先建立一組 SandBase API 金鑰,接著使用模型 ID「openai/gpt-oss-120b」向 https://api.sandbase.ai 的 Responses API (/v1/responses) 或 Chat Completions API (/v1/chat/completions) 發送請求。此頁的請求範例會顯示完整的 payload。
OpenAI gpt-oss-120b 的費用是多少?
每 100 萬個輸入 token $0.04、每 100 萬個輸出 token $0.16,並套用目前 10% 折扣(定價為 $0.04/$0.18),費用會依每次請求從您的 SandBase 餘額中扣除。
OpenAI gpt-oss-120b 的 context window 是多少?
131.1K 個 context token,每次回應最多可輸出 131.1K 個 output token。
OpenAI gpt-oss-120b 在基準測試中的表現如何?
OpenAI gpt-oss-120b 在 Artificial Analysis Intelligence Index 上的分數為 3.8(v5),在 SandBase 上的 33 個模型中排名第 33 名。來源:Artificial Analysis,測量指標為 gpt-oss-120b (High)。
OpenAI gpt-oss-120b 支援哪些功能?
OpenAI gpt-oss-120b 支援 推理, 函式呼叫, 結構化輸出。完整清單請參閱上方的 Specifications。
我需要另外申請 OpenAI 帳號嗎?
不需要。一組 SandBase API 金鑰與餘額即可讓您存取 OpenAI gpt-oss-120b 以及目錄中的其他模型;您不需要另外註冊 OpenAI。
