How to run an AI model locally on your computer
Install a local runner, download a small instruct model, then verify that it answers with the network disconnected. Start here if you want usable chat rather than a large benchmark number.
Find help with a first local run, checking compatibility, and troubleshooting. Choose a guide below. Topics vary by language.
Install a local runner, download a small instruct model, then verify that it answers with the network disconnected. Start here if you want usable chat rather than a large benchmark number.
Start with the model’s file size, then budget for context, the runtime, and other programs. There is no single RAM threshold for all 7B or 20B models.
Pick the runner first, then choose a compatible GGUF artifact and confirm its publisher, revision, license and integrity. For chat, prefer an instruct or chat variant rather than bare base weights.
Pick LM Studio for a graphical start, Ollama for a quick terminal workflow, and llama.cpp for direct control over compatible model files and runtime options. Treat this as a workflow comparison, not a measured speed ranking.
Start with what you need the model to do. Human preference, task benchmark scores, API usage and speed on your computer answer different questions and should never be blended as if they measured one thing.
Don’t download the model a second time yet. First check whether the Ollama server your app is using lists the exact model name. A downloaded file, an installed model and a model loaded into memory are three different things.
With 3 GB free for the file, choose Q4_K_M: the official Qwen3 4B file is about 2.50 GB. Q8_0 is about 4.28 GB and will not fit in that space. This is a download decision, not a promise that the smaller file will run in 3 GB of memory.
Keep the file on your computer. Calculate its SHA-256 locally and compare it with the checksum for that exact file in the publisher’s repository. No upload, model launch or extra copy is required.
A download gate tells you how to get the model files, not what you may do with them. Compare two real releases: Qwen3 4B GGUF offers a direct download and is labeled Apache-2.0; Google’s Gemma 3 4B IT requires accepting terms on Hugging Face and has a different agreement.
A model card’s 128K number is not the context your current session has allocated. Run the model in your usual app, then check the loaded tag with ollama ps. For long documents, count the text, instructions and answer together before changing the setting.
Don’t infer CPU fallback from an idle-looking GPU chart. While your exact model is loaded, check the PROCESSOR column in ollama ps on the server that handled your request. It reports where the model was placed, not how busy a processor is.
For MLX LM, choose a supported MLX model repository. For llama.cpp, choose a supported GGUF file. LM Studio on Apple silicon can use either with the matching runtime. In Ollama, pick a published tag for the engine you want, or follow its documented import instructions for your exact model.
A successful text reply doesn’t prove the image path works. For Qwen3-VL 4B Instruct loaded as local GGUF files in llama.cpp, check that both the language model and its matching vision component are loaded. Then check that your client actually attaches an image.
Copy the whole model store to the new drive before changing OLLAMA_MODELS. Leave the original in place until you’ve checked the destination and compared the model list from the same Ollama server.
Generate from text when nothing in an existing picture has to survive. Use an image editor when a specific photo or object must stay recognizable. If a logo, label or face must be untouched, work on a selected area or preserve that part of the original on its own layer.
An idle rented GPU can still bill for compute. Using the provider’s Stop control can pause compute on Runpod and Oblivus, but storage and sometimes an IP address can still cost money. Lambda On-Demand Cloud documents termination, not suspension, as the end of instance billing.
For occasional text jobs, start by pricing a pay-per-token API if it can handle the task and you’re allowed to send the inputs. Rent a GPU when you need to run a specific set of weights or control how the model runs. If both work, compare the cost of the same finished job, not a million tokens against an hour of hardware.
Use local OCR to copy words and numbers from a clear screenshot. If the cells must stay under the right headers, use a tool that reconstructs table layout. Use a vision model for a specific question about the image, but check any value you plan to reuse against the original.
Use OpenAI’s local Whisper command to turn a recording into a subtitle file you can check against the audio. Get the package, FFmpeg and model ready first; then process the recording offline. Keep the timestamps until you’ve checked the names, numbers and phrases that matter.
Use Whisper Turbo to write down what was said, not to translate it. To turn non-English speech into English text in one pass, use a multilingual model that supports translation, such as Whisper Medium. For another target language, check a transcript in the original language first, then translate that text with a local tool.
Add up the files your chosen app will actually use, then check the drive that will receive them. A checkpoint can fit on its own while the full download does not. The file total tells you when to stop before downloading; it doesn’t tell you the peak space your downloader or installer may need.
If a revised PDF has a new cover or an extra page, compare the same section in both files instead of comparing them by page number. Start with a local PDF reader or a text comparison. You don’t need an AI model just to find the changed wording.
The runnable Kokoro example is paused while its publisher source is under review. Don’t let the app fetch model files from a changing revision. The card identifies a fixed release and published checksums; we have not downloaded or tested those files.
If the same GGUF answers normally in chat but your script echoes the question or prints `<|im_start|>`, check whether your script is formatting the conversation twice. Preview the exact messages before changing the model or its settings.
Before switching rerankers, find out where the right passage disappeared. Check the list returned by the first search, the excerpts sent to the answer model, and the original document. A highly ranked draft is still a draft.
Use a caption for a sentence, a bounding box for an object’s location, or a pixel mask for its visible shape. Follow one fictional photo through Florence-2 and SAM 2.1 to see what each output can and can’t tell you.
Check the publisher’s exact repository, revision and filename before calling a link broken. A readable description does not verify file access or a completed download.
Both Qwen2.5 1.5B variants include a chat template. Qwen advises against using Base for a conversation. Here’s how to tell them apart before you load either one.
Use text-to-video when the model can invent the opening shot. Choose a start-image workflow when you already have a frame you want the motion to start from. Check that the exact model and workflow accept your input.
A new repository revision can change the description, a setting your app uses, or the model file itself. Check what changed in the exact build you have before replacing a working local copy.
A saved chat’s JSON can restore its messages without restoring its attached files. Keep the originals separately, and know when an export is only a readable copy.
If you remember what the diagram looks like but not its caption, visual page search can suggest pages to open. Use ordinary search for exact words, OCR to recover text, and your eyes to confirm that a candidate page contains the right diagram.
If a site only asks for a certain width and height, start with ordinary resizing or a fresh export from the original artwork. AI upscaling is optional: it reconstructs a larger image, but more pixels don’t prove that missing details were recovered.
The code pt means Portuguese, but it does not tell you which variety the model was trained on or how it will transcribe a recording. See what the Whisper, Parakeet and SenseVoiceSmall model cards say and what to check in your own audio.
Set up Ollama for your operating system. Before you download a model, make sure your terminal can reach the Ollama service on this computer.
You’ll use the desktop app, not a terminal. First get the app, the model file and the engine that reads it while you’re online. Then you can test a conversation with the internet disconnected.
Already downloaded a text model? Add its GGUF file to LM Studio without downloading the model again.
Free space on your system drive without downloading your models again. Copy the library first, point LM Studio to the new folder, then verify before deleting anything.
A model in My Models isn’t necessarily loaded. Check where the failure happens before downloading the file again, reinstalling LM Studio or changing several settings at once.
Test whether a local model can find a fact in your PDF, not just whether it can produce a plausible answer. Start with a two-page practice file that contains no private information. You need internet for the initial downloads, not for the offline test.
Start with a 4B model such as Qwen3 4B. First check where the 16 GB is: unified memory, dedicated video memory, or system RAM.