---
title: AI on your own computer: choose and run local models without relying on cloud APIs
description: Choose local AI models with Ollama or LM Studio, understand hardware and quantization, and compare documented Qwen3 and Gemma 3 examples.
date: 2026-11-22
url: https://caminhosolo.com.br/en/2026/11/choose-run-local-ai-models/
tags: [ai, ollama, lm-studio, gguf, quantization, ai-models]
---


> **Reference guide — created November 22, 2026.** Model suggestions represent a **snapshot on this date**, not a permanent ranking. Confirm current tags, sizes, licences and platform requirements before downloading.

> **TL;DR:** Running AI locally means performing **inference** with weights loaded on your own computer. Start with a compact model, evaluate your actual language and tasks, check RAM/VRAM and scale up only when needed. **Ollama** provides a convenient CLI; **LM Studio** has a graphical interface. Local inference does not guarantee that every integration operates offline.

## 01 — The discovery: why bring AI home?

A solo business may want to categorise messages, draft product descriptions or organise notes without making an external API call for every request. Local inference can give greater control over the runtime and enable offline use after models and dependencies are installed.

But there is a trade-off: **a remote compute bill becomes a hardware, memory, energy and maintenance question.** Local does not automatically mean more accurate, cheaper or completely private. Surrounding applications and integrations can still communicate over the network.

Four elements matter:

- **Model:** learned weights and configuration.
- **Runtime:** software that loads the model, such as [Ollama](https://docs.ollama.com/quickstart), [LM Studio](https://lmstudio.ai/docs/app/basics) or [llama.cpp](https://github.com/ggml-org/llama.cpp).
- **Hardware:** CPU, system memory, GPU memory or unified memory on supported devices.
- **Format and precision:** how weights are stored and executed, including GGUF quantizations.

### Choose by task first

| Your goal | Starting profile | Example documented on November 22, 2026 |
| --- | --- | --- |
| Short-text classification | Small language model | [Qwen3 1.7B](https://ollama.com/library/qwen3) |
| General instructions and summaries | 3–4B instruct model | [Qwen3 4B](https://ollama.com/library/qwen3) |
| Text and image inputs | Vision-capable model | [Gemma 3 4B](https://ollama.com/library/gemma3) |
| Hard coding or reasoning tasks | Compare larger models against a real evaluation and budget | [Ollama library](https://ollama.com/library) |

**These are candidates, not proven winners.** Portuguese, coding, tool support and long-context behaviour vary. The "4B" label indicates parameter scale, not four gigabytes of memory.

### Memory and quantization

A model that exceeds GPU memory may need system memory or CPU inference, often slowing generation. Devices with unified memory also share their budget with other software. Download size is only part of the story: **long contexts increase memory demand**.

**Quantization** uses a more compact numerical representation for many weights. A `Q4_K_M` GGUF may be smaller than a higher-precision build, with possible quality trade-offs. The suffix describes an encoding family, not an overall model quality rating. [llama.cpp documentation](https://github.com/ggml-org/llama.cpp/tree/master/tools/quantize).

The useful starting point is **the smallest model that passes your own task checks**, not the largest download your connection can handle.

## 02 — The Solo verdict

**Local inference makes sense** when offline operation, data handling, runtime control or integration with your own scripts are priorities and the hardware supports it.

**A hosted model may be better** for difficult workloads, elasticity, minimal maintenance or tasks beyond your available hardware. Compare the full cost of ownership, not just token prices.

## 03 — The workbench: try Ollama

**Requirements:** supported macOS, Windows or Linux, the official [Ollama download](https://ollama.com/download), available storage and enough memory for the chosen model. First use downloads model assets.

Open a terminal:

```bash
ollama --version
ollama list
```

To begin with a small candidate listed in the [Qwen3 catalogue](https://ollama.com/library/qwen3):

```bash
ollama run qwen3:1.7b
```

This downloads the variant if necessary and opens a chat. Try: *"Categorise the message 'I want to cancel my order' as sales, support or cancellation. Output only the category."* Repeat with ambiguous requests and your target languages. Follow the CLI's instructions to exit.

If your hardware has sufficient memory, optionally compare `ollama run qwen3:4b` or `ollama run gemma3:4b`. Avoid downloading both without a reason. `ollama ps` can show currently loaded models. [Ollama quickstart](https://docs.ollama.com/quickstart).

**Success criteria:** accurate responses on your examples, consistent format, acceptable latency and sustainable memory use. If it struggles, you may need a different model or validation workflow rather than simply more parameters.

**Explore:** [LM Studio](https://lmstudio.ai/docs/app/basics), [llama.cpp](https://github.com/ggml-org/llama.cpp) and [Ollama model tags](https://ollama.com/library). This is a guided procedure; runtime speed has not been measured.

