Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Writes, reasons and calls tools from text prompts, in an open-weight 21B model from OpenAI that runs within 16 GB of memory. For developers who want a local or specialized model.
gpt-oss-20b is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download openai/gpt-oss-20b
gpt-oss-20b is the smaller of OpenAI's two open-weight gpt-oss models. It has 21B parameters with 3.6B active, and it is aimed at lower latency and local or specialized use. It handles reasoning, function calling and agent work.
It suits developers who want an open model they can run on their own machine, tune for one job or wire into an agent.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Run a local model behind an app | A chat feature served from your own computer |
| AI engineering | Agent builders | Use function calls and code execution in an agent | An agent that browses and runs Python |
| Research | ML researchers | Fine-tune the model for a narrow task | A tuned version for one domain |
People who want the largest model can skip it, since the card points to gpt-oss-120b for heavy production use.
| Use case | Who | What they get back |
|---|---|---|
| Local chat | Developers | Answers from a model that runs within 16 GB of memory |
| Agent tasks | Agent builders | Function calls, web browsing and Python code execution |
| Reasoning at a set effort | Researchers | Low, medium or high reasoning effort to match your latency needs |
You need these first:
pip install -U huggingface_hub hf download openai/gpt-oss-20b
pip install -U transformers kernels torch
from transformers import pipeline
import torch
model_id = "openai/gpt-oss-20b"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])Send chat messages through the pipeline, or start a server and chat with it. The model needs the harmony response format. The Transformers chat template applies it for you. With model.generate you apply it yourself.
transformers serve transformers chat localhost:8000 --model-name-or-path openai/gpt-oss-20b
| Tool | What it does |
|---|---|
| transformers serve | Starts an OpenAI-compatible web server |
| transformers chat | Opens a chat with the served model |
| vllm serve openai/gpt-oss-20b | Downloads the model and starts a vLLM server |
You send the pipeline a message that asks how a hash table works in three sentences. The snippet prints the last message of the result. That is the model's reply, up to 256 new tokens long.
An open-weight model is one whose files you can download and run yourself. A first small thing to try is the pipeline snippet above with a short question of your own.
For experts, the model is a mixture-of-experts design with 3.6B active parameters out of 21B. It was post-trained with MXFP4 quantization of the expert weights, and the card says all its evaluations used that same quantization. You can set reasoning effort to low, medium or high. The card also says the full chain of thought is available for debugging.
Writes, reasons and calls tools from text prompts, in an open-weight 21B model from OpenAI that runs within 16 GB of memory. For developers who want a local or specialized model.
Made by openai on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: gpt-oss-20b is the smaller of OpenAI's two open-weight gpt-oss models. It has 21B parameters with 3.6B active, and it is aimed at lower latency and local or specialized use. It handles reasoning, function calling and agent work.
Who it suits: It suits developers who want an open model they can run on their own machine, tune for one job or wire into an agent.
Industry | Who uses it | How they use it | Example
Software | Developers | Run a local model behind an app | A chat feature served from your own computer
AI engineering | Agent builders | Use function calls and code execution in an agent | An agent that browses and runs Python
Research | ML researchers | Fine-tune the model for a narrow task | A tuned version for one domain
People who want the largest model can skip it, since the card points to gpt-oss-120b for heavy production use.
Where to use it:
Use case | Who | What they get back
Local chat | Developers | Answers from a model that runs within 16 GB of memory
Agent tasks | Agent builders | Function calls, web browsing and Python code execution
Reasoning at a set effort | Researchers | Low, medium or high reasoning effort to match your latency needs
How to set it up: You need these first:
pip install -U huggingface_hub
hf download openai/gpt-oss-20b
pip install -U transformers kernels torch
from transformers import pipeline
import torch
model_id = "openai/gpt-oss-20b"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])
How to use it: Send chat messages through the pipeline, or start a server and chat with it. The model needs the harmony response format. The Transformers chat template applies it for you. With model.generate you apply it yourself.
transformers serve
transformers chat localhost:8000 --model-name-or-path openai/gpt-oss-20b
Tool | What it does
transformers serve | Starts an OpenAI-compatible web server
transformers chat | Opens a chat with the served model
vllm serve openai/gpt-oss-20b | Downloads the model and starts a vLLM server
Example: You send the pipeline a message that asks how a hash table works in three sentences. The snippet prints the last message of the result. That is the model's reply, up to 256 new tokens long.
For newcomers and experts: An open-weight model is one whose files you can download and run yourself. A first small thing to try is the pipeline snippet above with a short question of your own.
For experts, the model is a mixture-of-experts design with 3.6B active parameters out of 21B. It was post-trained with MXFP4 quantization of the expert weights, and the card says all its evaluations used that same quantization. You can set reasoning effort to low, medium or high. The card also says the full chain of thought is available for debugging.
You send a chat message
The chat template applies the harmony format
The model reasons at your chosen effort
It may call tools or write code
You read the final reply
Good to know:
Title: Active parameters
gpt-oss-20b: 3.6 B
gpt-oss-120b: 5.1 B
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download openai/gpt-oss-20b
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| gpt-oss-20b This page | 5,685,450 | 5,299 | 20.9B | apache-2.0 | |
| gpt-oss-120bShares gpt_oss · mxfp4 · 8-bit | 2,435,242 | 5,509 | 117B | apache-2.0 | |
| gpt-oss-safeguard-20bShares gpt_oss · mxfp4 · 8-bit | 24,325 | 293 | 21.5B | apache-2.0 | |
| gpt-oss-safeguard-120bShares gpt_oss · mxfp4 · 8-bit | 16,400 | 128 | 117B | apache-2.0 | |
| gpt-oss-120b-GGUFShares gpt_oss · mxfp4 · text-generation | 81,029 | 303 | 117B | apache-2.0 | |
| Qwen3.8-27B-Quark-AWQ-MXFP4Shares mxfp4 · 8-bit · conversational | 40,258 | 44 | 15.6B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…