# Where do I download models?

> Most models live on Hugging Face, and most apps have their own catalogue on top. Pick the file format your runtime reads, and stick to uploaders you recognise.

Almost every open model is published on Hugging Face. Your app's built-in search is usually a friendlier window onto the same files.

## Hugging Face

[Hugging Face](https://huggingface.co) hosts model files the way GitHub hosts code. Each model is a repository with an account name and a model name, such as `Qwen/Qwen3-8B`.

A model page has four parts worth reading:

- The model card, the long text in the middle. It gives the sizes, context length, intended use and recommended settings such as temperature.
- The tags near the top, including the licence. [Can I use this model at work?](https://localagi.co/licenses) explains what they mean.
- The Files and versions tab, which lists every file with its size. This is where you check the real download size.
- The model tree in the sidebar. It links to quantizations, fine-tunes and adapters that other people built from this model.

The original lab's repository usually holds the full 16-bit release, which is too big to run at home. Follow the model tree to Quantizations to find GGUF and MLX builds.

```bash
hf download <user>/<repo> --include "*Q4_K_M*" --local-dir ./models
```

This downloads only the files that match the pattern. The `hf` command comes with the `huggingface_hub` Python package. Most people never need it, because their app downloads for them.

## App catalogues

Apps wrap Hugging Face, or their own library, in a search box. You get fewer choices and fewer ways to pick the wrong file.

**macOS**

```bash
ollama pull qwen3:8b
```

**Windows**

```powershell
ollama pull qwen3:8b
```

**Linux**

```bash
ollama pull qwen3:8b
```

[Ollama](https://localagi.co/ollama) keeps its own library at [ollama.com/library](https://ollama.com/library). Names use a tag after a colon for the size, and the default tag is usually a 4-bit build. Ollama can also pull a GGUF straight from Hugging Face with `ollama pull hf.co//`.

[LM Studio](https://localagi.co/lm-studio) searches Hugging Face directly and shows GGUF and, on a Mac, MLX builds. It marks which files are likely to fit your memory. Other chat apps, covered in [Which chat app should I use?](https://localagi.co/chat-apps), offer a short curated list.

**The catch.** 
Catalogues lag. A new model can take days to appear, and the default build may not be the quantization you would pick. When the catalogue has no good option, go to Hugging Face directly.

## File formats

The format has to match your runtime. The model is the same, the packaging differs.

| Format | How to spot it | Read by |
| --- | --- | --- |
| GGUF | One `.gguf` file, or a few numbered parts. Repo names often end in `-GGUF` | llama.cpp and everything built on it: Ollama, LM Studio, Jan |
| MLX | `.safetensors` files in a repo marked MLX, often from `mlx-community` | MLX and LM Studio on Apple silicon |
| Safetensors | `.safetensors` files plus a `config.json`, at 16-bit or a GPU format | vLLM, SGLang and most Python tools |
| .base | A `.base` bundle, made by `basert pull` or `basert convert` | [BaseRT](https://localagi.co/basert), and Superfluid through it |
| Pickle | `.bin`, `.pt` or `.pth` files | Older Python tools. Avoid where you can |

GGUF is the common choice for home use, because one file holds the weights, the chat template and the settings the runtime needs. [Which runtime should I use?](https://localagi.co/choosing-a-runtime) helps you pick the runtime first. Each one has its own page: [llama.cpp](https://localagi.co/llama-cpp), [MLX](https://localagi.co/mlx) and [vLLM and SGLang](https://localagi.co/vllm-and-sglang).

## Who made this quantization

On Hugging Face, anyone can upload a quantized copy of a model. The same label, such as `Q4_K_M`, from two uploaders can differ in quality, because each uses its own recipe and calibration data.

A few accounts publish quantizations for most popular models within days of release, and the community tests their files heavily. The official lab account sometimes publishes its own GGUF or 4-bit build, and when it does, that is a safe default.

Some tool makers publish their own recipes too. Base Compute's [BaseQuant V1 collection](https://huggingface.co/collections/basecompute/basequant-v1) holds quantizations of a few Qwen and Gemma models, with quality claims that are the vendor's own. [Which quantization should I download?](https://localagi.co/choosing-a-quantization) covers them.

**Rule of thumb.** 
Prefer the lab's own build, then a well-known quantizer with many downloads, then anyone else. Download counts and recent updates are a decent proxy for files that work.

## Safety

A model file can be a security risk if its format can run code. Pickle files, the `.bin` and `.pt` formats from older Python tools, can execute code when loaded.

GGUF and safetensors hold only numbers and metadata. They cannot run code on load. Stick to those two formats, and you remove the main risk.

BaseRT's `.base` bundles can also carry an ed25519 signature, and `basert verify` checks that signature.

The rest is common sense. Download from known uploaders, through your app or from Hugging Face. Be wary of repositories with no model card, very few downloads and a name close to a famous model.

If a repository asks you to run its own Python code to load the model, read that code first. [Is local AI actually private?](https://localagi.co/privacy-and-security) covers the rest of the setup.

## Go deeper

### Why GGUF holds more than weights

A GGUF file stores the model's architecture, tokenizer, [chat template](https://localagi.co/chat-templates) and default context length alongside the weights. That is why one file is enough for llama.cpp. When a release has a bug, such as a broken chat template, uploaders fix the metadata and publish a new file.

### Split files

Large GGUF models are split into parts named like `-00001-of-00003.gguf`. Download all of them into the same folder and point the runtime at the first part. llama.cpp loads the rest on its own.

### Vision projectors

A vision model in GGUF format often comes as two files: the language model, and a smaller projector file with `mmproj` in the name. You need both. Apps that handle vision usually download the pair for you. [Can local models see, listen and speak?](https://localagi.co/beyond-text) covers what vision models can do.
