gpt-oss

by OpenAI Chat · Tools · Thinking

OpenAI’s open-weight gpt-oss models (20B and 120B) bring strong general reasoning and tool use under an Apache 2.0 licence.

API model name
gpt-oss:20b
Context window
128K tokens
Sizes
20B, 120B
Licence
Apache 2.0

Run gpt-oss

Install it on a Pendra worker, then call it through our SDK with your pdr_sk_ API key.

Read the quickstart

from pendra import Pendra

client = Pendra(api_key="pdr_sk_...")

response = client.chat.completions.create(
    model="gpt-oss:20b",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

Run gpt-oss on infrastructure you trust.

Deploy a worker, install gpt-oss, and start serving it through one private API.