Skip to main content
POST
gpt-oss-20b: Chat completions
OpenAI’s gpt-oss-20b is an open-weight Mixture-of-Experts model with 21B total parameters (3.6B active per token), served on ZeroGPU as an MXFP4 build. It is built for summarizing complex information, answering questions from supplied context, and working through multi-step instructions, and it carries a 131,072-token context window. It runs on eligible edge GPUs with cloud fallback, which makes it the lighter and cheaper of ZeroGPU’s two gpt-oss models.
References: Model docs • Terms • Privacy

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-20b
required

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

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

"gpt-oss-20b"

messages
object[]
required
Minimum array length: 1

Response

Success

The response is of type object.