Skip to main content

Try OpenAI/GPT-OSS-20B in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: openai-gpt-oss-20b OpenAI GPT OSS 20B is an LLM designed for efficient reasoning, agentic tasks, and flexible deployment, particularly on consumer hardware and specialized local environments. It excels in delivering high-quality reasoning and chain-of-thought outputs while operating within modest hardware constraints, thanks to its Mixture-of-Experts architecture with only 3.6 billion active parameters at a time, and native MXFP4 (4-bit) quantization. The model supports a context length of up to 131,000 tokens, is fully fine-tunable, and natively supports agentic capabilities such as function calling, web browsing, Python execution, and structured output. Its multilingual capabilities have also been demonstrated in professional evaluations across 14 languages. Some other noteworthy features of OpenAI GPT OSS 20B include configurable reasoning effort (allowing users to balance latency and output quality) and full chain-of-thought visibility for enhanced debugging and trust.
MetricValue
Parameter Count21 billion
Mixture of ExpertsYes
Active Parameter Count3.6 billion
Context Length131,000 tokens
MultilingualYes
Quantized*Yes
Precision*MXFP4
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
curl -X POST https://hub.oxen.ai/api/ai/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "openai-gpt-oss-20b",
  "messages": [
    {
      "role": "user",
      "content": "Hello, what can you do?"
    }
  ]
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/openai-gpt-oss-20b

Request parameters

This model follows the standard OpenAI chat completions request body. See the chat completions reference for the full parameter list.