gpt-oss-20b
OpenAI's smaller open-weight reasoning model, a mixture-of-experts with 21B parameters (3.6B active) under Apache 2.0, served here as a text chat model with per-session history.
Overview
OpenAI published gpt-oss-20b alongside gpt-oss-120b as the smaller of its two open-weight gpt-oss models. It is a mixture-of-experts transformer with 21 billion parameters, 3.6 billion of them active, trained with large-scale distillation and reinforcement learning. OpenAI positions it for local and specialized use cases and keeps the 120B model for production work that needs heavier reasoning.
The MoE weights were post-trained with MXFP4 quantization, which is what lets the model fit within 16 GB of memory, and OpenAI ran all of its evaluations at that precision. Training used OpenAI's harmony response format. The card describes three reasoning levels set from the system prompt: low for general dialogue, medium as a middle setting, and high for deep, detailed analysis. The model can also be fine-tuned.
On this page it runs as a text chat model that can keep history per session.
What you can build
- Support or internal Q&A bots that keep each user's thread through a session ID
- Retrieval-augmented answers, with passages from your own search pasted into the prompt
- Step-by-step help with math and code, two areas where OpenAI's model card reports strong benchmark results
- A hosted prototype of a product you plan to self-host later, since the weights are published under Apache 2.0
Inputs
The main input is a prompt. A system prompt field comes prefilled with a generic helpful-assistant instruction that you can replace. User ID and session ID are optional: fill both to store chat history, with a new session ID for each thread, or leave them empty for one-off requests.
The advanced panel holds the sampling controls: temperature (default 0.7, range 0 to 5), top p (0.95), top k (0, up to 100), repetition and length penalties (both 1), max and min token counts, a seed (123456) and a Do Sample switch. Replies, reasoning included, stop at 4,096 tokens: a max tokens value of 0 or above 4,096 becomes 4,096, and a smaller value is kept. Stop sequences go in one field, separated by semicolons. A quantization switch, on by default, lowers weight precision to save memory, and its help text notes that this may slightly affect output quality.
Outputs
The model replies in text. When it exposes its reasoning, Wiro returns it as thinking segments kept apart from the final answer.
Recommended settings
- OpenAI's repository recommends sampling at temperature 1.0 and top p 1.0. This page starts at 0.7 and 0.95.
- There is no reasoning-effort control here. The chat template sets the level to medium, and this page's system prompt reaches the model as developer instructions, so a line such as "Reasoning: high" in it is not guaranteed to change the level.
- For translation or code generation, the Do Sample help text suggests switching it off to get consistent output.
Limitations
- Text in, text out on this page.
- The model has native function calling, web browsing, Python execution and Structured Outputs, but this page has no field for tool definitions.
- OpenAI states the model only works correctly with the harmony format, which matters if you later run the weights on your own stack.
Safety & compliance
Apache 2.0 covers gpt-oss-20b, and OpenAI's gpt-oss usage policy asks users to comply with all applicable law. OpenAI says the full chain of thought is meant for debugging and is not intended to be shown to end users, so display only the final answer in your product.
API quick start
Run gpt-oss-20b with a single API call.
{
"prompt": "Explain quantum mechanics clearly and con…",
"user_id": "...",
"session_id": "...",
"system_prompt": "You are a helpful, respectful and honest …"
}curl -X POST "https://api.wiro.ai/v1/Run/openai/gpt-oss-20b" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "Explain quantum mechanics clearly and con…",
"user_id": "...",
"session_id": "...",
"system_prompt": "You are a helpful, respectful and honest …"
}
JSONOther models you might like
Explore similar llm & chat models.



