A small local model is useful when the job is narrow and the data should stay on your machine. Start with transcription, extraction or classification before trying to replace a hosted coding agent.
For many people, speech-to-text is the best first local model. A compact transcription model can turn recordings into text without an account, an upload or a fee per minute. Install the software and download the weights once, then work offline.
This guide gives conservative starting points for everyday hardware. The shortlist was checked on 16 November 2026. Memory budgets are estimates for one user and short text inputs. They are not measurements of every device.
Choose a model that leaves room to work
A small language model, or SLM, has fewer parameters than a large general-purpose model. There is no fixed size boundary. Here, the useful starting range is roughly 1 to 9 billion parameters. Larger local models appear below as options for machines with more memory.
On Apple Silicon, the CPU, GPU and applications share unified memory. A 16 GB Mac has one shared pool. A PC with 16 GB of system RAM and an 8 GB GPU has two pools. It cannot treat them as a single 24 GB GPU.
The table assumes compressed weights. Context is the text the model keeps available for a request. The bit count describes how much space each weight uses.
| Device memory | Sensible first choice | Working allowance and limits |
|---|---|---|
| 8 GB laptop | Qwen3.5 2B at 4-bit. Whisper tiny, base or small for speech. | Budget about 2 to 4 GB for the text process. Start at 4K context. Close other applications. A 4B model is a tight experiment; a 9B model leaves too little room. |
| 16 GB laptop or GPU | Qwen3.5 4B or 9B at 4-bit. Parakeet or Qwen3-ASR for speech. | Budget about 4 to 8 GB for text. Start at 4K to 8K context. A 16 GB GPU has more model headroom than a 16 GB Mac because its OS mainly uses separate RAM. |
| 24 to 36 GB Mac or GPU | 9B at 8-bit for extra fidelity. Try Qwen3.6 35B-A3B at 4-bit near the upper end. | Allow about 10 to 14 GB for 9B at 8-bit, or 22 to 28 GB for the larger model. Use 9B on a busy 24 GB Mac. A 24 GB GPU may fit the larger quant with short context; inspect the actual file and allocation. |
| 48 to 64 GB desktop or Mac | Gemma 4 31B at 4-bit, or Qwen3.6 35B-A3B at 4-bit. | Allow about 22 to 30 GB for a short-context process. More room permits longer context or an 8-bit quant. A dense 70B at 4-bit is tight on 48 GB once the OS and cache are included. |
| 128 GB+ unified memory | Keep a fast small model. Add a 70B-class 4-bit model or gpt-oss-120b for harder offline work. | Set aside roughly 45 to 55 GB for a dense 70B process. Budget 70 to 90 GB for gpt-oss-120b with a compatible MXFP4 runtime and short context. Capacity alone does not guarantee fast replies. |
For a Mac, reserve at least 3 to 4 GB on an 8 GB machine and 4 to 8 GB on larger machines for the OS and applications. These are starting allowances. Browser tabs, development tools and other models can consume much more. Watch Activity Monitor's memory pressure and whether swap keeps growing during generation.
For a GPU, leave space for the display, runtime buffers and context cache. CPU offload can make a large model load, but transfers and CPU execution can make replies too slow for conversation. Persistent disk swapping is a reason to reduce model size or context.
Count weights, context and speed separately
Quantisation stores weights with fewer bits. A rough lower bound is parameter count × bits ÷ 8. A dense 8B model therefore needs about 4 GB at 4-bit, 8 GB at 8-bit or 16 GB at 16-bit for weights alone. Scales, unquantised tensors and runtime allocations add to that figure.
Use 4-bit as the first trial. Try 8-bit when a small model fits comfortably and errors on names, numbers or code matter. Compare both on your own samples. More bits cannot repair a model that lacks the ability to do the task.
GGUF is the model format commonly used by llama.cpp and its surrounding tools. MLX quantised models use a different format and Apple's MLX runtime. Both can use the GPU on Apple Silicon. A GGUF download does not become an MLX model by renaming it. Choose the format your runtime supports.
The key-value cache, or KV cache, stores attention state for the context. It needs memory alongside the weights. In a conventional transformer, its size grows with tokens, layers, KV heads and cache precision. Hybrid and sliding-window architectures change that relationship. Parallel requests can add separate cache allocations.
A model's advertised 128K or 256K window is a capability limit. It is not a memory budget. Begin at 4K or 8K, then increase it while measuring memory and time to first token. Ollama exposes context allocation and CPU/GPU placement through ollama ps. MLX-LM supports KV-cache quantisation; check support in your installed version before relying on it.
For interactive text, use 15 to 30 generated tokens per second as a personal acceptance target. Below 5 can feel laborious for long replies. Use these as trial thresholds. Hardware speeds need measurement. Measure prompt processing and first-token delay too. A short answer after a long prefill can still be frustrating.
Model names can hide the storage count
Gemma 4 E2B and E4B have 2.3B and 4.5B effective parameters, but 5.1B and 8B including embeddings. Budget from the complete download and runtime allocation. Do not price E4B's memory as a plain 4B model.
Mixture-of-experts models, or MoEs, activate only part of their weights for each token. Qwen3.6 35B-A3B has 35B total and about 3B active parameters. The full weights still need storage and normally need to be resident for good speed. It does not fit like a 3B dense model.
Give small models narrow jobs
Local text models are useful for tasks with clear inputs and results you can check.
- Extract an invoice date, supplier and amount from supplied text. Require missing fields to be null.
- Classify support messages into a fixed list of queues. Send uncertain cases to a person.
- Triage a private folder before deciding which documents need a larger model.
- Explain a function, write a small test or suggest a code completion. Run the tests and inspect the diff.
- Create embeddings for local search, then rerank the retrieved passages. Use dedicated models for these tasks, such as Qwen3-Embedding-0.6B and Qwen3-Reranker-0.6B. A chat model is unnecessary for every search step.
Hosted frontier models remain the better default for unfamiliar multi-step problems, difficult repository changes and work requiring broad judgement. Long autonomous tool chains amplify a small model's mistakes. Local operation also requires maintenance, storage and electricity.
Before trusting a small model in a workflow, set a narrow task boundary with a fixed set of test cases. Include difficult examples and cases where the model should ask for clarification, and write down the acceptance rule before reading the outputs. Define which failures trigger a stronger hosted model or human review, and test that handover with the full context and tools it needs. Count both routes when comparing total workflow cost, and inspect false acceptance alongside detected failures so silent errors do not create a misleading saving.
A useful split is to transcribe and filter locally, then send selected material to a hosted model when policy permits. Read Write your own test for AI to turn your own corrections into repeatable checks, and the on-device and cloud agents guide for where the wider workflow runs.
Try a private extraction task
Install the current Ollama application for your OS and start it. The local server listens on port 11434. In a terminal, download the Qwen3.5 4B package, then ask it to extract a few fields.
ollama pull qwen3.5:4b
curl http://localhost:11434/api/chat -d '{
"model": "qwen3.5:4b",
"stream": false,
"think": false,
"format": "json",
"options": {"num_ctx": 4096, "num_predict": 128},
"messages": [{
"role": "user",
"content": "Return JSON with supplier, invoice_date and amount_hkd. Use null for absent fields. Text: Harbour Supplies. Invoice dated 12 November 2026. Total HKD 1,280. Payment due next month."
}]
}'The expected fields are Harbour Supplies, 12 November 2026 and 1280. Inspect message.content in the response. Valid JSON can still contain wrong facts. Test a missing date and a message containing two invoices before using it on a batch.
The listed package is about 4 GB on disk. Allow roughly 5 to 7 GB for this short-context trial, with variation by runtime. Prefer a 16 GB machine. On 8 GB, change both model tags to qwen3.5:2b-q4_K_M and keep the context short. Expect a short response to take seconds on a modern GPU; CPU speed depends heavily on memory bandwidth and thread count. Time your own run.
The chat API supplies the JSON, thinking and context controls above. Thinking is disabled because this is a bounded extraction task. If the model repeats text or invents a field, reduce the input, improve the instruction and compare with a larger model.
Use MLX directly on Apple Silicon
With Python 3.11+ installed, create an isolated environment. This alternative uses Apple's MLX-LM and a 4-bit Qwen3.5 9B conversion. Use a 16 GB or larger Mac, with roughly 7 to 9 GB available for the process.
python3 -m venv .venv-mlx
source .venv-mlx/bin/activate
python -m pip install -U mlx-lm
mlx_lm.generate \
--model mlx-community/Qwen3.5-9B-4bit \
--chat-template-config '{"enable_thinking": false}' \
--max-tokens 128 \
--prompt "Classify this message as billing, technical or other. Reply with one label. Message: I was charged twice for my subscription."
The expected label is billing. The first run downloads the model and loads it, so separate that wait from subsequent inference. The command prints generation statistics. Check the label as well as the speed. If your runtime rejects the model architecture, update MLX-LM before changing memory settings.
For a portable GGUF route, use llama.cpp. Its build can target CPU, Metal or CUDA. Select a quantised file for your exact model and a current build that supports its architecture. Ollama is the shorter starting path when you do not need to manage those build and backend choices yourself.
Start local voice with a transcription model
Speech recognition is a narrower task than general reasoning. Compact automatic speech recognition, or ASR, models can deliver useful transcripts on ordinary laptops. The software and weights below are free to download and run. Initial downloads require internet access. Offline use avoids a service fee, while using your own storage and electricity.
| Model | Use it for | Size and limits |
|---|---|---|
| Whisper tiny / base / small | CPU transcription, older laptops, broad language coverage. | 39M / 74M / 244M parameters. MIT. Start with small for accuracy; drop to base or tiny for speed. |
| Parakeet TDT v3 | Fast English and European-language transcription on Apple Silicon or a supported GPU runtime. | 600M parameters, 25 European languages. CC BY 4.0. No Cantonese or Mandarin coverage in this release. |
| Qwen3-ASR | Multilingual recordings, including Chinese speech. | 0.6B or 1.7B parameters. Apache 2.0. Supports 30 languages and 22 Chinese dialects. Start with 0.6B. |
| Whisper large-v3-turbo | A larger multilingual option when a small model misses too much. | 809M parameters. MIT. More memory than tiny/base/small; check the runtime's requirements. |
Prepare a one-minute recording with a name, a date, an amount and a pause. Save it as sample.wav in your working directory. Read the result against the audio. An English test could be, "Please send the revised Harbour Supplies invoice to Mei on Friday. The amount is one thousand two hundred and eighty Hong Kong dollars."
Apple Silicon: Parakeet for English and European languages
Install uv and FFmpeg first. On a Mac with Homebrew, brew install uv ffmpeg installs both. Then use the Parakeet MLX command.
uv tool install parakeet-mlx -U
parakeet-mlx sample.wav \
--model mlx-community/parakeet-tdt-0.6b-v3 \
--output-format txt \
--output-dir transcriptsOpen the text file under transcripts. Start with 3 to 5 GB of free unified memory for a short file. This allowance needs a peak-memory check on your device. Modern Apple Silicon should be a good candidate for faster-than-real-time transcription. Confirm that your one-minute file takes less than one minute after model loading.
The CLI chunks long audio by default. Keep chunking enabled on a laptop. A model card's long-recording limit measured on an A100 does not establish your Mac's peak memory. Names, overlapping speakers and noisy calls still need correction. Transcription alone does not reliably identify who spoke.
Apple Silicon: Qwen3-ASR for Chinese and multilingual audio
Use a separate environment with Python 3.10+ and MLX Audio. Allow roughly 2 to 4 GB for an initial short-file 0.6B trial, then measure before processing long recordings.
python3 -m venv .venv-asr
source .venv-asr/bin/activate
python -m pip install -U mlx-audio
python - <<'PY'
from mlx_audio.stt import load
model = load("mlx-community/Qwen3-ASR-0.6B-8bit")
result = model.generate("sample.wav", language="English")
print(result.text)
PYSet the language to match the recording, for example Chinese or Cantonese. Test mixed-language names and numbers explicitly. The 1.7B model is an accuracy comparison when 0.6B fails, with higher memory and compute costs. Published server throughput at high concurrency does not predict dictation delay on a laptop.
CPU or NVIDIA GPU: Whisper through faster-whisper
With Python 3.9+ installed, use faster-whisper. This example uses CPU int8 execution and needs no CUDA setup. The PyAV pin avoids a decoding API incompatibility in the tested installation. The command below uses a POSIX shell on macOS or Linux. On Windows, activate the environment with .venv-stt\Scripts\Activate.ps1 in PowerShell, then run the Python body from a file.
python3 -m venv .venv-stt
source .venv-stt/bin/activate
python -m pip install -U faster-whisper "av<17"
python - <<'PY'
from faster_whisper import WhisperModel
model = WhisperModel("small", device="cpu", compute_type="int8")
segments, info = model.transcribe("sample.wav", beam_size=5, vad_filter=True)
print("Language:", info.language)
for segment in segments:
print(f"[{segment.start:.1f}s] {segment.text}")
PYThe repository's published benchmark transcribes 13 minutes of audio in 1 minute 42 seconds, using 1,477 MB RAM. It uses eight threads on an Intel i7-12700K. A low-power laptop can take longer. Allow roughly 2 to 3 GB for a short-file trial. Try base if small cannot keep up.
On an NVIDIA GPU, use device="cuda", compute_type="float16". Current CTranslate2 builds require compatible CUDA 12 and cuDNN 9 libraries. Follow the repository's installation matrix. A missing library is an installation failure; silently falling back to CPU changes the expected speed.
The loop matters. Transcription runs when you iterate the segments generator. Timing only model.transcribe() measures setup rather than the full transcription.
Keep dictation accurate and offline
A file transcription command is not a system-wide dictation app. Push-to-talk also needs microphone capture, a hotkey and a way to insert text. Choose an app that exposes a local engine and test it with networking disabled after downloading the weights. An app labelled "AI dictation" may still upload audio or use hosted text cleanup.
Check the raw transcript before adding an LLM to remove filler words. That second model needs its own memory and can alter meaning. A November practitioner discussion describes latency and resource contention when transcription and cleanup run together. On a small laptop, run them in sequence or keep the verbatim transcript.
Use voice activity detection, or VAD, to reduce transcription of silence. It can also miss quiet speech. Split long recordings into manageable chunks and inspect the joins. Test accents, code-switching, background music and silence. ASR can invent words during noise or long pauses.
Local execution keeps inference on the device when every component is local. It does not protect an unencrypted transcript, a synced output folder or an app's separate telemetry. Keep recordings and transcripts in an appropriate local folder. Review names, figures and commitments before sending the text anywhere. For practical habits on thinking aloud, drafting by speaking and reviewing transcripts, read the Voice mode guide.
Keep the configuration that passed
Open weights give you files you can run. The model licence still governs their use. Qwen3.5, Qwen3.6 and Gemma 4 in this shortlist use Apache 2.0. Whisper uses MIT. Parakeet TDT v3 uses CC BY 4.0, with attribution obligations. Check the exact model and conversion you distribute, along with the runtime's licence.
Keep the model ID, revision, quantisation, runtime version, context limit and hardware beside a small test set. For text, include missing information and ambiguous instructions. For voice, keep a corrected transcript and time the complete file. Record peak memory, loading time and subsequent inference separately.
Keep the smallest model that meets your accuracy and latency requirements. Move up a size only when a failed example gives you a reason.