Skip to main content
POST
gpt-oss-120b: Responses
OpenAI’s gpt-oss-120b is an open-weight Mixture-of-Experts model with 117B total parameters (5.1B active per token), served on ZeroGPU for general text generation. It reasons through a problem before answering and returns that reasoning trace alongside the final answer, and it supports function calling, batch tasks, and a 131,072-token context window. When a task needs frontier-level reasoning or tool use beyond what the smaller edge models cover, this is the model.
References: Model docsTermsPrivacy

Authorizations

x-api-key
string
header
required

Headers

x-project-id
string

Optional project identifier. Scopes the request to a specific project when provided.

Body

application/json
model
string
default:gpt-oss-120b
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "gpt-oss-120b"
Example:

"gpt-oss-120b"

input
string<textarea>
required

Multi-line text or document content to send to the model.

Required string length: 1 - 131072
instructions
string
max_tokens
integer

Maximum number of tokens to generate in the response.

Required range: x >= 1
Example:

800

metadata
object

Response

Success

The response is of type object.