Open LLMs/unsloth

Open-Weight LLM · Private & Custom AI

gpt-oss-20b-GGUF

A 20B MoE model for private deployment, fine-tuning, and agentic automation within resource-constrained ops environments.

gpt-oss-20b is OpenAI's open-weight mixture-of-experts model (21B parameters, 3.6B active) released under Apache 2.0. It runs on ≤16GB VRAM with native MXFP4 quantization and supports reasoning chains, function calling, and full fine-tuning. For ops teams, it's a fully controllable foundation for automating workflows, building custom agents, and embedding intelligence into internal systems without external API dependencies.

Unknown
Parameters
apache-2.0
License (OSI/permissive)
Unknown
Context
429.9k
Downloads

Model facts

Developerunsloth
ParametersUnknown
Context windowUnknown
Licenseapache-2.0 — OSI/permissive
Tasktext-generation
GatedNo
Downloads429.9k
Likes731
Updated2025-12-19
Sourceunsloth/gpt-oss-20b-GGUF

Private deployment

Run gpt-oss-20b-GGUF in your own environment

Self-host on single-GPU infrastructure (16–24GB VRAM depending on quantization precision). Run locally via Ollama, vLLM, or Transformers; data stays in your VPC/environment—no telemetry or external inference calls. Unsloth GGUF variants drop memory further. Ideal for regulated industries, high-volume internal workloads, and companies wanting inference control and latency predictability.

Operational AI use cases

01

Support Ticket Triage & Response Generation

Automatically classify inbound tickets, extract intent/sentiment, and generate draft responses with multi-step reasoning (via harmony format). Fine-tune on your historical ticket/resolution pairs to match internal tone and domain knowledge. Route high-confidence answers to automation; flag edge cases for human review.

02

Internal Documentation & Knowledge Search Automation

Index internal docs, runbooks, policies into a retrieval pipeline; use gpt-oss-20b to synthesize answers to employee queries (onboarding, compliance, IT procedures). Chain-of-thought reasoning helps surface reasoning gaps in your knowledge base itself. Cheaper than API calls; full audit trail in your logs.

03

Finance & Procurement Workflow Automation

Automate invoice parsing, purchase order validation, and policy exception flagging. Use function-calling to integrate with your ERP/accounting system. Fine-tune on historical approval patterns to learn your company's spending norms and risk tolerance, reducing manual review load by 40–60%.

Custom AI

As a base for custom AI

Strong foundation for building proprietary ops AI products. Full fine-tuning support (parameter-efficient via Unsloth) lets you adapt it to domain-specific terminology, workflows, and logic. Harmony response format and native chain-of-thought enable interpretable agentic behavior. Commercially permissive license allows building customer-facing or internal SaaS layers on top.

In the operating system

Where it fits

Sits at the **reasoning & agent layer** of an ops OS. Handles orchestration logic, tool-use (function calling), structured decision-making, and multi-turn workflows. Pair with a vector DB for retrieval-augmented generation (RAG), use the reasoning output to drive workflow state machines, and expose via REST/gRPC APIs for downstream ops dashboards and automation triggers.

Data control & security

By running self-hosted, your company retains full custody of prompts, reasoning traces, and generated outputs—no data leaves your infrastructure. Enables compliance with data residency (HIPAA, GDPR, SOC 2) and audit requirements. Note: self-hosting does not inherently confer security; you remain responsible for model versioning, supply-chain integrity (verify HF model signatures), and API endpoint hardening.

Hardware footprint

**Estimate (unverified):** BF16 full precision ~40–42 GB VRAM; GGUF 4-bit quantization ~8–10 GB; GGUF 8-bit ~16 GB. Unsloth GGUF variants with MXFP4 may reduce further. Inference latency on single GPU consumer hardware (RTX 4090) ~500–800 ms/token (low reasoning); varies with reasoning level and batch size.

Integration

Expose via vLLM OpenAI-compatible API or Transformers Serve for drop-in integration with existing LLM middleware. Use structured outputs + function calling to wire into Zapier, Make, or custom Python orchestration. Harmony format is non-standard—use the provided chat template or openai-harmony package to avoid malformed reasoning chains. Monitor VRAM + latency; MoE architecture means token throughput is predictable but context length is unknown—test your use case.

When it's not the right fit

  • Context length unknown—not suitable for long-document reasoning or multi-turn conversations requiring >4K tokens of context without explicit confirmation.
  • Real-time, sub-100ms latency required—even optimized, inference on single GPU will introduce latency unsuitable for synchronous customer-facing APIs.
  • Reasoning-heavy tasks without domain fine-tuning—base model reasoning traces may reflect training biases; requires validation against ops-specific ground truth.
  • Compliance with model provenance auditing—Unsloth quantization pipeline is well-documented but introduces an additional link in the supply chain; procurement may require OpenAI official channels.

Alternatives to consider

Llama 3.1 70B

Larger context, well-established ecosystem (vLLM, Ollama support), no MoE complexity. Requires more VRAM (~140GB BF16); better for document-heavy ops workflows where reasoning is secondary to retrieval.

Mistral 8x22B

MoE design similar to gpt-oss-20b but 176B total parameters; stronger reasoning on benchmarks. Needs multi-GPU setup; useful if your ops tasks demand higher accuracy over latency.

Qwen2.5 14B

Smaller footprint (~28GB BF16), excellent instruction-following and function calling. Fewer reasoning capabilities than gpt-oss-20b; good for lightweight automation (ticket routing, basic extraction) on resource-constrained infrastructure.

FAQ

Can I run gpt-oss-20b on a single consumer GPU?

Yes, with quantization. GGUF 4-bit fits in ~8–10GB VRAM (RTX 4090, A6000). Full BF16 requires ~40GB. Unsloth GGUF + MXFP4 may optimize further. Test with your hardware and use case before production rollout.

Is this model licensed for commercial/SaaS use?

Yes. Apache 2.0 is permissive and allows commercial deployment, modification, and redistribution. You may build customer-facing products or internal SaaS on top. No patent clauses or copyleft obligations. Verify with your legal team for your specific use case.

What's the difference between gpt-oss-20b and the 120B version for ops?

20B is lower-latency and fits single consumer GPU; ideal for high-volume internal workflows with latency SLAs (support triage, doc QA). 120B has stronger reasoning and fits one H100; better for complex multi-step ops decisions but slower and costlier to run.

Do I need to use the 'harmony' response format?

Yes, for full chain-of-thought access and reasoning-level control. Transformers chat template applies it automatically; if using raw generate(), manually apply harmony or use the openai-harmony package. Skipping it will degrade reasoning quality and may cause malformed outputs.

Build Custom Ops AI Without External Dependencies

gpt-oss-20b is a fully open, fine-tunable foundation for automating support, finance, and knowledge workflows in your own environment. Let LLM.co help you architect a private AI operating system that keeps your data in-house and reasoning transparent. Start with a free pilot.