In this categoryLocal AI · 70
- Speridlabs Idol: Turn One Photo into a 3D Gaussian Splat, and How to Run It
- LFM3-Omni-2B: Liquid AI's 2.2B Any-to-Any Model, and How to Run It Locally
- SenseNova-Loop-9B-Preview: A Looped Multimodal Model for Long-Context Work, and How to Run It
- How to Run WeVisOne-VL-4B Locally: Tencent's All-in-One Vision Model
- How to Run Mistral Large 4 (1T-A52B) Locally: The Hardware It Actually Needs
- How to Run Hy-SimulMT-30B-A3B-FP8 Locally: Tencent's Real-Time Speech Translator
- How to Run Chroma1-HD Locally: An Open Base Model for Text-to-Image
- How to Run Nemotron 3.5 Parse Locally: NVIDIA's 630M Document Parsing Model
- How to Run Recursive Flint Locally: a 39.8B Coding Model You Can Actually Fit on a Mac
- How to Run Phonon-40M-en Locally: Gradium's 40M-Parameter Text-to-Speech Model
- How to Run Timestral-209M Locally: Mistral's 209M-Parameter Time Series Forecasting Model
- How to Run Indra OCR Locally: a 1M-Parameter CPU Model That Hits 49 Pages a Second
- How to Run AuroraIMG-6M Locally: AuroraAI-Research's 6.82M-Parameter Text-to-Image Model
- How to Run Maya-1 Locally: a 3.3B-Parameter Text-to-Speech Model with Voice Design
- How to Run Sopro V2 Turbo Locally: a 120M-Parameter Voice Cloning TTS Model
- How to Run Kova TTS 1 Locally: a 1.25B-Parameter Voice Cloning Model for Narration
- How to Run Whistle Locally: Cactus's 16.9MB On-Device Speech Recognition Model
- How to Run Antalia-2 Mini Locally: a 7.6M-Parameter Turkish TTS Model
- How to Run Supra2-IMG Locally: SupraLabs' 104M-Parameter Text-to-Image Model
- How to Run VisionHOPE Locally: PSRben's Self-Modifying Vision Backbone
- Fish Audio S1-Mini: What It Is and How to Actually Try It
- How to Run SupraTTS-0.1-Beta Locally: A Tiny Glow-TTS Voice Model
- How to Run Nemotron 3 Diarization Locally: Streaming Speaker Tagging in 99M Parameters
- How to Run Freya-TTS Locally: A 183M-Parameter Turkish Text-to-Speech Model
- How to Run Audio8 ASR Infinite Locally: Streaming Speech Recognition That Never Stops
- How to Run TeleOCR Locally: One Model for Scanned and Photographed Documents
- How to Run Xing4.0-29B-A4B Locally: A 256K-Context MoE Model for Agent Tasks
- How to Run IndicF5 Locally: Voice Cloning for 11 Indian Languages
- How to Run Fish Audio S2 Pro Locally: Multilingual TTS with Inline Emotion Control
- How to Run ZDTaichu5.0-9B Locally: A 9.79B Vision-Language Model Built for Spatial Reasoning
- How to Run Qwen3-TTS-12Hz-1.7B-VoiceDesign Locally: Voice Design From a Text Description
- How to Run YuE2-3B Locally: Open Source Music Generation That Beats Suno v5 on Benchmarks
- MiniCPM5-2B: Install and Run OpenBMB's 2B Model That Outscores 4B Rivals
- BERT Base Uncased: Specs, How to Run It, and Why It's Still Trending in 2026
- How to Run tencent/AuK Locally: Zero-Shot TTS, Voice Cloning and Speech Editing
- Stable Diffusion 3.5 Medium: What's Different From SDXL and Flux
- Qwen-Image-2512: The Text-to-Image Model That Renders Real Text
- How to Run Irodori-TTS Anime Locally: Japanese Voice Cloning and Voice Design
- How to Run Breeze TTS 2 Locally: Voice Clone, Voice Design and Voice Direction
- How to Run Kokoro-82M Locally: the Fastest Open-Weight TTS Model
- How to Install Ollama on macOSStart
- How to Install Ollama on Windows
- How to Run Llama 3 Locally with Ollama
- How to Pick the Right Local AI Model for Your Hardware
- Best GGUF Models to Run by VRAM Tier (8GB, 12GB, 16GB, 24GB, 48GB)
- Run LLMs in Your Browser With WebGPU: No Install, No Server (WebLLM)
- How to Use Ollama as a Drop-In OpenAI API
- GGUF vs MLX vs NVFP4: Local AI Quantization Formats Explained
- Best GPU for Running AI Locally in 2026Start
- How Much RAM Do You Need for Local AI?
- Mac vs PC for Local AI: Which Should You Choose?
- How to Build a Local AI Workstation on Any Budget
- How to Set Up Local AI on 8GB of VRAM
- How to Set Up Local AI on 12GB of VRAM
- Best Local LLM for 16 GB VRAM: Setup, Quantization and Real Speed
- How to Set Up Local AI on 24GB of VRAM
- Best Local LLM on Mac M4 16 GB: Setup, MLX vs GGUF and Real Speed
- Best Local LLM on Mac M4 Pro 48GB: Setup, Quantization and Real Speed
How to Run OpenAI's gpt-oss-20b Locally with Ollama
gpt-oss-20b is OpenAI's first open-weight model under Apache 2.0, and it runs on a 16 GB machine. Here is the exact, step-by-step setup with Ollama, from install to your first chat and API call.
OpenAI spent years as the company that made "open" a punchline. That changed with gpt-oss. The 20B variant is the first OpenAI model you can download, run on your own machine, and use commercially under the Apache 2.0 license — no API key, no per-token bill, no data leaving your computer. The best part: it fits on a 16 GB laptop or GPU. This guide walks through the entire setup with Ollama, the simplest way to run it, and gets you from a blank terminal to a working local chat in about ten minutes.
What gpt-oss-20b actually is
gpt-oss-20b is a mixture-of-experts (MoE) model with 20.9 billion total parameters but only 3.6 billion active per token. That design is why it punches far above its size class on speed: it generates tokens at roughly the pace of a 7B model while carrying the knowledge of a 20B one. It ships with a 128K context window, native function calling, web-browsing support, and a configurable reasoning effort (low, medium, high) so you can trade speed for depth on a per-request basis. OpenAI quantized it to MXFP4 out of the box, which is what keeps the memory footprint small enough for consumer hardware.
What you need before you start
- 16 GB of memory — VRAM on a discrete GPU (RTX 4060 Ti 16 GB, RTX 5070 Ti, or better), or 16 GB of unified memory on an Apple Silicon Mac (M1 through M4).
- About 13 GB of free disk space for the model download.
- Windows, macOS, or Linux. Ollama runs on all three.
- No GPU at all? It still runs on CPU with 16 GB of system RAM, just slower (a handful of tokens per second instead of dozens).
Step 1 — Install Ollama
Ollama is a free, open-source runner that handles the download, quantization, and serving for you. On macOS or Windows, download the installer from ollama.com and run it. On Linux, one command does it:
Confirm it installed by checking the version. If you see a version number, you are ready.
Step 2 — Pull and run gpt-oss-20b
This is the whole installation. One command downloads the model (about 13 GB, so give it a few minutes on a normal connection) and drops you straight into an interactive chat:
To exit the chat, type /bye or press Ctrl+D. The model stays on disk, so the next ollama run gpt-oss:20b launches instantly with no download.
Step 3 — Control the reasoning effort
One of gpt-oss's standout features is adjustable reasoning. For a quick factual answer you want speed; for a hard coding or math problem you want it to think. You set this in the system prompt. Inside the chat, use /set system to switch levels:
Use Reasoning: low for fast chat and autocomplete-style tasks, Reasoning: medium as a balanced default, and Reasoning: high when correctness matters more than latency. Higher effort uses more tokens and takes longer, but noticeably improves multi-step problems.
Step 4 — Use it from code (OpenAI-compatible API)
Ollama exposes an OpenAI-compatible endpoint at http://localhost:11434/v1, which means most code written for the OpenAI API works against your local model by changing two lines. Here is a raw curl call:
curl http://localhost:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-oss:20b",
"messages": [
{ "role": "system", "content": "Reasoning: medium" },
{ "role": "user", "content": "Explain MoE models in two sentences." }
]
}'And the same thing from Python using the official openai library — point it at your local server and use any string as the API key:
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:11434/v1",
api_key="ollama", # required by the library, but ignored locally
)
resp = client.chat.completions.create(
model="gpt-oss:20b",
messages=[
{"role": "system", "content": "Reasoning: high"},
{"role": "user", "content": "Refactor this loop into a list comprehension: ..."},
],
)
print(resp.choices[0].message.content)Step 5 — Add a chat UI with Open WebUI (optional)
The terminal is fine for testing, but for daily use you probably want a ChatGPT-style interface. Open WebUI is the most popular option and connects to Ollama automatically. If you have Docker installed, one command runs it:
Troubleshooting
| Problem | Fix |
|---|---|
| "out of memory" or the model won't load | You are under 16 GB of free VRAM/RAM. Close other apps, or run the model on CPU by unplugging the GPU offload (Ollama falls back automatically when VRAM is short). |
| Very slow, only a few tokens per second | It is running on CPU, not your GPU. Confirm your GPU has 16 GB free; on a 12 GB card some layers spill to CPU and slow things down. |
| "model not found" | Check the exact tag: it is gpt-oss:20b with a colon, not a slash. Run ollama list to see what you have pulled. |
| Want to free disk space | Run ollama rm gpt-oss:20b to delete the weights. Re-pull anytime. |
The bottom line
gpt-oss-20b is the easiest way to run a genuinely capable OpenAI model entirely on your own hardware, for free, with a commercial-friendly license. Three commands — install Ollama, pull the model, run it — and you have a private assistant that handles coding, reasoning, and tool calls without an internet connection. For anyone who has wanted to drop their ChatGPT subscription for everyday tasks, this is the first OpenAI release that makes it realistic.
Local models run better with more VRAM. CompareRTX GPUs on Amazonbefore you upgrade.(affiliate link. We may earn a commission at no extra cost. Disclosure)
Related guides
Best GPU for Running AI Locally in 2026
VRAM is the single spec that determines which models you can run. Here is how every major GPU stacks up for local LLMs and image generation in 2026.
How Much RAM Do You Need for Local AI?
RAM requirements for local AI depend on whether you are talking about GPU VRAM or system RAM, and which models you want to run. Here are the real numbers.
gpt-oss-20b vs gpt-oss-120b: Which Open Model Should You Run?
OpenAI shipped two open-weight models. One runs on a laptop, the other needs a serious GPU. Here is exactly how they differ and which one fits your hardware and use case.
Watch related tutorials
10:05
9:42
10:30
11:05
12:20
14:15Weekly local AI drops
New models, what runs on your hardware, and the guides to set them up. One email a week, unsubscribe any time.