For fast setup and a small download, choose Qwen3 8B. For text reasoning with selectable low, medium, or high reasoning effort, choose gpt-oss 20B. If you want image or audio input, select Gemma 4 12B. These three models suit different local setups. Qwen3 8B has a smaller common compressed download; gpt-oss 20B offers a text reasoning model with adjustable reasoning effort; Gemma 4 12B adds image and audio capabilities at the model level. The useful choice depends on the exact file, the memory available after other apps, and the input features your model runner supports.
Scope: This comparison covers the three models in the title, as of June 16, 2026. For newer small Qwen models, start with the Qwen3.5 9B and Qwen3.5 4B pages.
This comparison suits readers who already have Ollama or LM Studio installed and want a next model for text, coding, or document work. If your machine has only 8 GB of RAM or 6 GB of GPU memory, begin with the smaller-model setup.
Pick a candidate for the task
| Your task | Candidate to try | Condition that changes the answer |
|---|---|---|
| Text chat or writing on a machine with limited spare memory | Qwen3 8B in a supported compressed package | Its download must still leave room for conversation memory and the app. A smaller Qwen model can be more practical. |
| Reasoning or a tool-using text workflow with more memory | gpt-oss 20B | The runner and client must handle its Harmony format and reasoning correctly; tools need separate permissions. |
| Screenshots, page images, or mixed text and image input | Gemma 4 12B | Confirm image input works in the selected app and package. |
| Extracted text from a normal PDF | Any of the three that fits | Text extraction and document retrieval matter. The chat model does not need vision when it receives accurate text. |
| A coding task in an editor | Start with the smaller Qwen3 8B text download. Try gpt-oss 20B on the same failed test if your client supports Harmony and the larger package fits. | Try the same small task and run its tests. |
For task-specific instructions, use the coding model guide, writing model guide, or local document guide.
Compare the model with its download
| Detail | gpt-oss 20B | Original Qwen3 8B | Gemma 4 12B |
|---|---|---|---|
| Architecture | Mixture of Experts: about 21B total parameters, 3.6B active per token | Dense: 8.2B parameters | Dense, encoder-free unified model: about 11.95B parameters |
| Model-level input | Text | Text | Text, image, and audio |
| Published context limit | 128K | 32,768 native; 131,072 with suitable YaRN extension | 256K |
| Example local package | Ollama gpt-oss:20b, about 14 GB, MXFP4 | Official Qwen3-8B-Q4_K_M.gguf, about 5.03 GB; Ollama packages can differ | Ollama gemma4:12b-it-q4_K_M, about 8.0 GB |
| License on the cited model | Apache 2.0 | Apache 2.0 | Apache 2.0 |
The 5.03 GB example is Qwen's GGUF file. The gpt-oss and Gemma examples are Ollama packages. For a same-runner comparison record all three exact tags or files. The model cards explain architecture and intended uses. The named files and tags identify downloads. File size is disk storage, not total working memory. Inspect the current download before reserving space or choosing hardware.
gpt-oss's active-parameter count is not the number of weights you load. Gemma's image processing and long conversations require more resources than its text weights alone. Compare the actual package and selected context.
On a Mac, the operating system, CPU, GPU, and model share unified memory. On a Windows computer with a dedicated GPU, RAM and GPU memory are separate. A 16 GB RAM PC with a 6 GB GPU is not the same setup as a 16 GB GPU or a 16 GB unified-memory Mac. CPU offloading can allow a model to run, but can also make responses much slower.
Use the hardware checker and memory calculator for planning. For LM Studio’s documented memory estimate, run lms ls to find a downloaded model’s key, then run lms load --estimate-only <model_key> --context-length 4096. This estimates memory without loading the model. In Ollama, run ollama ps while a model is loaded to inspect its actual CPU/GPU allocation.
Make one short chat work first
Choose one model that fits. Install a currently supported runner through the Ollama guide or LM Studio guide.
In Ollama, these are separate choices; you do not need all three:
ollama run qwen3:8b
ollama run gpt-oss:20b
ollama run gemma4:12b-it-q4_K_M
After a chat opens, use a modest starting context:
/set parameter num_ctx 4096
That is a starting setting for a short check. In a second terminal, run ollama ps while the model is loaded. Inspect the processor allocation and selected context.
In LM Studio, search the exact model and select a compatible package. GGUF files work on Windows, Linux and Mac. MLX packages work only on Apple Silicon and need LM Studio's MLX engine. On a Mac either works; choose GGUF for the widest app compatibility. Check the download's publisher, compression option, and required engine. Load one model at a modest context before attaching files or enabling tools.
Give each candidate the same harmless source:
Use only this passage:
The review meeting is scheduled for Friday at 10:30.
It will move to Monday only if the draft is not ready.
No fee amount has been agreed.
Return the scheduled time, the condition for moving it,
and the agreed fee. Say "not stated" for missing information.
The answer should preserve Friday at 10:30, retain the conditional move, and avoid inventing a fee. Restart the app and repeat a new short chat to confirm the setup still works.
For coding, use a disposable folder and a small function with tests you understand. Ask for a function that removes repeated values while preserving their first appearance; include empty-input and repeated-value cases. Inspect and run the tests before letting an agent modify a real project.
Reasoning and context need model-specific settings
gpt-oss supports low, medium, and high reasoning effort. Its model card requires the Harmony format; use a runner and client that implement it. Extra reasoning can increase output and take more time.
The original Qwen3 8B supports thinking and non-thinking modes through its chat template. Its extended context uses YaRN. Use Qwen3's own settings, not those of a newer Qwen checkpoint.
Gemma 4 has its own thinking controls and prompt format. Let a compatible runner apply them. Do not paste raw control tokens from another model into its chat. For image work, first try one clear, harmless page or screenshot and check a known detail. Audio capability requires an audio-enabled implementation of the package.
All three have a published context limit above the 4096-token starting check. Their practical context on your machine can be much smaller. The selected conversation must fit its instructions, source text, history, and output. See context length and the token counter.
When the first choice fails
| Symptom | Next check |
|---|---|
| File downloads but will not load | Check architecture and engine support, compression, free memory, and selected context. Use LM Studio loading help or Ollama loading help. |
| Short chat works, document chat fails | Inspect extracted text, document-search settings, image support, and conversation length before choosing a bigger model. |
| Answer invents a date, fee, or source | Repeat a short source-only task in a new chat and inspect the provided passage. Use incorrect-answer guidance. |
| Responses become slow | Check CPU offloading, memory pressure, other loaded models, and reasoning effort. Smaller weights or context can help if they still cover the task. |
| Tool call is malformed or never executes | Confirm the runner and client support the model's tool format. |
Local execution and licenses
Downloaded local weights run without a per-token cloud API bill. They use storage, electricity, time, and memory.
Download models and engine components before testing offline. See the offline guide and privacy guide.
The cited checkpoints use Apache 2.0.
