OpenAI
6 params
OpenAI Gpt Oss 120b parameters
These are the parameters modelparams.dev tracks for OpenAI Gpt Oss 120b. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max completion tokens
max_completion_tokens
|
integer (1…131072) | — | Maximum number of output tokens the model may generate. | — |
Sampling
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
temperature
|
number | 1 | Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. | — |
|
Top P
top_p
|
number (0…1) | 1 | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. | — |
Reasoning
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Reasoning effort
reasoning_effort
|
enum (low | medium | high) | "medium" | Controls how much reasoning the model should perform before producing an answer. | — |
Tools
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Tool choice
tool_choice
|
enum (auto | none | required) | — | Controls whether the model may call tools, must call one, or skips tool calls. | — |
Output
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Response format
response_format.type
|
enum (text | json_schema) | "text" | Controls whether the model returns normal text or a schema-constrained JSON object. | — |
OpenAI Gpt Oss 120b API parameters in brief
OpenAI Gpt Oss 120b documents 6 API parameters, grouped by what they control:
-
Length:
max_completion_tokensrange 1–131072. -
Sampling:
temperaturedefaults to 1;top_pdefaults to 1, range 0–1. -
Reasoning:
reasoning_effortdefaults to "medium", accepts "low", "medium", "high". -
Tools:
tool_choiceaccepts "auto", "none", "required". -
Output:
response_format.typedefaults to "text", accepts "text", "json_schema".
Frequently asked questions
- How many parameters does OpenAI Gpt Oss 120b accept?
- OpenAI Gpt Oss 120b accepts 6 API parameters: max_completion_tokens, temperature, top_p, reasoning_effort, response_format.type, tool_choice.
- What is the default temperature for OpenAI Gpt Oss 120b?
- The default temperature for OpenAI Gpt Oss 120b is 1.
- What is the default top_p for OpenAI Gpt Oss 120b?
- The default top_p for OpenAI Gpt Oss 120b is 1, within a valid range of 0 to 1.
Resources
Other OpenAI models
Chatgpt 4o Latest
3 params
View
Gpt 3.5 Turbo
3 params
View
Gpt 4 Turbo
3 params
View
Gpt 4 Turbo 2024-04-09
3 params
View
Gpt 4.1
3 params
View
Gpt 4.1 Mini
3 params
View
Gpt 4.1 Nano
3 params
View
Gpt 4o 2024-11-20
3 params
View
Gpt 5
2 params
View
Gpt 5 Chat Latest
1 param
View
Gpt 5 Mini
2 params
View
Gpt 5 Nano
2 params
View
Gpt 5.1
2 params
View
Gpt 5.1 Codex
Subscription
3 params
View
Gpt 5.1 Codex Max
Subscription
3 params
View
Gpt 5.2
2 params
View
Gpt 5.2
Subscription
3 params
View
Gpt 5.2 Codex
Subscription
3 params
View
Gpt 5.3 Codex
2 params
View
Gpt 5.3 Codex
Subscription
3 params
View
Gpt 5.3 Codex Spark
Subscription
3 params
View
Gpt 5.4
2 params
View
Gpt 5.4
Subscription
3 params
View
Gpt 5.4 Mini
2 params
View
Gpt 5.4 Mini
Subscription
3 params
View
Gpt 5.4 Nano
2 params
View
Gpt 5.4 Pro
2 params
View
Gpt 5.4 Pro
Subscription
3 params
View
Gpt 5.5
2 params
View
Gpt 5.5
Subscription
3 params
View
Gpt 5.5 Pro
2 params
View
Gpt 5.5 Pro
Subscription
3 params
View
Gpt 5.6 Luna
2 params
View
Gpt 5.6 Luna
Subscription
3 params
View
Gpt 5.6 Sol
2 params
View
Gpt 5.6 Sol
Subscription
3 params
View
Gpt 5.6 Terra
2 params
View
Gpt 5.6 Terra
Subscription
3 params
View
Gpt Oss 20b
6 params
View
Gpt Oss Safeguard 120b
4 params
View
Gpt Oss Safeguard 20b
4 params
View
GPT-4o
3 params
View
GPT-4o mini
3 params
View
o1
2 params
View
O1 Preview
2 params
View
o1-mini
2 params
View
o3
2 params
View
O3 Pro
2 params
View
o3-mini
2 params
View
o4-mini
2 params
View