For years, every time I wanted AI in an AutoHotkey script I had the same two choices. Send the text to the cloud (and hand the client an API key, a monthly bill, and a privacy conversation), or tell them to install Ollama and go download a model themselves.
Holy cow, have you ever tried to walk a non-technical client through installing Ollama over the phone? I have. Once. 😊
That just changed. Microsoft shipped something called Foundry Local and the part that matters for us isn’t the fancy AI. It’s the boring plumbing: Microsoft now downloads the model, puts it in a known folder, and keeps it there. Any script on that PC can count on it.
Now on with the show…
What is Microsoft Foundry Local?
Foundry Local is Microsoft’s free way to run AI models right on a Windows PC. It downloads a model once into a shared folder, and every program on that PC can use it. No API key, no account, no per-token bill, and it works offline after the first download.
Think of it like fonts. You don’t ship Arial with your script. You assume Windows has it. Local AI models just became that kind of thing.
- One folder, every tool. Models live in C:\Users\<name>\.foundry\cache\models. If one program downloads phi-4-mini, every other program on that PC finds it already there. No more three copies of the same 5 GB file.
- The download is automatic. Your script asks for a model by name. If it’s missing, Microsoft’s runtime fetches it, with a progress number you can show in your status bar. If it’s there, nothing happens and you’re running in seconds.
- Zero accounts. No API key, no login, no per-token bill. Rename ten thousand files or summarize a thousand emails, and the cost is electricity.
- Works offline after the first run. The model is just files on disk. Unplug the network and your tool still works.
- Nothing to install for the client. The runtime (about 37 MB) can ride along inside your own program. I wrote a small helper in Rust that does exactly that, and talks to AHK over a pipe. More on that in a later post.
Which AI models come with Foundry Local?
I pulled the full catalog off my PC and sorted it. Every model below runs on a plain CPU. No graphics card needed. A few things to know before you read the tables:
- Size is the one-time download. Working memory is roughly size plus 1 GB.
- Context is how much text the model can hold at once. 4k is a few pages, 32k is a chapter, 128k is a novel. (Careful: my helper caps this at 4k on purpose. More on why below.)
- Cutoff is when the model stopped learning about the world. Only Microsoft and OpenAI publish a hard date. The question marks are my estimates from release dates. For sorting, extracting, and renaming, it barely matters.
- Smarts is my opinion, 1 to 5, for business jobs like extracting an invoice number or summarizing an email. 1 is a toy. 5 is close to what you get from the cloud.
- Good for uses the same words on every row so you can read straight down the column: classify (sort into labels), extract (pull out fields), rename, summarize, write, code, reason (multi-step logic), long docs, images, transcribe, search.
Chat models that answer straight away
These are the workhorses. For most AHK jobs, start here.
| Model | Size | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|
| qwen2.5-0.5b | 0.8 GB | 32k | early 2024? | 1 | classify |
| qwen2.5-coder-0.5b | 0.8 GB | 32k | early 2024? | 1 | code |
| qwen2.5-1.5b | 1.8 GB | 32k | early 2024? | 2 | classify, extract, rename |
| qwen2.5-coder-1.5b | 1.8 GB | 32k | early 2024? | 2 | code |
| phi-3.5-mini | 2.6 GB | 128k | Oct 2023 | 3 | classify, extract, rename, summarize, write, long docs |
| phi-3-mini-4k | 2.6 GB | 4k | Oct 2023 | 3 | classify, extract, rename, summarize, write |
| phi-3-mini-128k | 2.6 GB | 128k | Oct 2023 | 3 | classify, extract, rename, summarize, write, long docs |
| mistral-7b-v0.2 | 4.2 GB | 32k | late 2023? | 3 | classify, extract, rename, summarize, write |
| phi-4-mini | 4.9 GB | 128k | Jun 2024 | 3.5 | classify, extract, rename, summarize, write, long docs |
| olmo-3-7b-instruct | 5.3 GB | 64k | mid 2025? | 3.5 | classify, extract, rename, summarize, write |
| qwen2.5-7b | 6.3 GB | 32k | early 2024? | 4 | classify, extract, rename, summarize, write, long docs |
| qwen2.5-coder-7b | 6.3 GB | 32k | early 2024? | 4 | code |
| mistral-nemo-12b | 7.0 GB | 128k | early 2024? | 4 | classify, extract, rename, summarize, write, long docs |
| phi-4 | 10.4 GB | 16k | Jun 2024 | 4.5 | classify, extract, rename, summarize, write, code, reason |
| qwen2.5-14b | 11.3 GB | 32k | early 2024? | 4.5 | classify, extract, rename, summarize, write, code, long docs |
| qwen2.5-coder-14b | 11.3 GB | 32k | early 2024? | 4.5 | code |
| gpt-oss-20b | 12.6 GB | 128k | Jun 2024 | 5 | classify, extract, rename, summarize, write, code, reason, long docs |
Chat models that think first
These write a hidden “let me work this out” section before answering. Better at hard logic. Two to five times slower. And your script has to strip that section out of the reply. The qwen3 family can have thinking switched off with a flag, so they work either way.
| Model | Size | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|
| qwen3-0.6b | 0.6 GB | 32k | late 2024? | 1 | classify |
| qwen3-1.7b | 1.4 GB | 32k | late 2024? | 2 | classify, extract, rename |
| qwen3.5-2b-text | 1.5 GB | 32k? | late 2025? | 2.5 | classify, extract, rename, summarize |
| smollm3-3b | 2.1 GB | 64k | early 2025? | 2.5 | classify, extract, rename, summarize |
| qwen3-4b | 2.8 GB | 32k | late 2024? | 3.5 | classify, extract, rename, summarize, write, reason |
| phi-4-mini-reasoning | 4.6 GB | 128k | Jun 2024 | 3.5 | classify, extract, reason |
| qwen3-8b | 5.8 GB | 32k | late 2024? | 4 | classify, extract, rename, summarize, write, code, reason |
| deepseek-r1-7b | 6.6 GB | 128k | early 2024? | 3.5 | reason, code |
| qwen3-14b | 9.5 GB | 32k | late 2024? | 4.5 | classify, extract, rename, summarize, write, code, reason, long docs |
| phi-4-reasoning | 10.4 GB | 32k | Mar 2025 | 4.5 | reason, code |
| deepseek-r1-14b | 11.8 GB | 128k | early 2024? | 4 | reason, code |
Models that can see a picture
You hand these an image and a question. Read a receipt, describe a screenshot, sort photos by what’s in them. This is the one I’m most excited to put behind a hotkey. 🚀
| Model | Size | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|
| qwen3.5-0.8b | 1.0 GB | 32k? | late 2025? | 1.5 | images, classify |
| qwen3-vl-2b-instruct | 1.4 GB | 256k | mid 2025? | 2 | images, classify, extract |
| qwen3.5-2b | 1.8 GB | 32k? | late 2025? | 2.5 | images, classify, extract, rename |
| qwen3-vl-4b-instruct | 2.8 GB | 256k | mid 2025? | 3 | images, classify, extract, rename, summarize |
| qwen3.5-4b | 3.1 GB | 32k? | late 2025? | 3.5 | images, classify, extract, rename, summarize, write |
| ministral-3-3b | 4.7 GB | 128k | late 2025? | 3 | images, classify, extract, rename, summarize, write |
| qwen3-vl-8b-instruct | 5.1 GB | 256k | mid 2025? | 4 | images, classify, extract, rename, summarize, write, reason |
| qwen3.5-9b | 5.6 GB | 32k? | late 2025? | 4 | images, classify, extract, rename, summarize, write, reason |
| gemma-4-e2b-it | 6.0 GB | 32k? | late 2025? | 3.5 | images, classify, extract, rename, summarize, write |
Speech to text
Audio in, text out. None of them talk back (no text-to-speech in the catalog yet). These don’t have a token window or a cutoff date. They learned sounds, not facts. Whisper works in 30-second chunks, Parakeet takes clips up to about 24 minutes, and the Nemotron streaming models listen continuously with no limit.
| Model | Size | Smarts | Good for |
|---|---|---|---|
| whisper-tiny | 0.1 GB | 1 | transcribe |
| whisper-base | 0.2 GB | 2 | transcribe |
| whisper-small | 0.4 GB | 3 | transcribe |
| parakeet-tdt-0.6b-v2 | 0.7 GB | 4 | transcribe |
| nemotron-speech-streaming-en | 0.7 GB | 4 | transcribe |
| nemotron-speech-streaming-es | 0.7 GB | 4 | transcribe (Spanish) |
| nemotron-3.5-asr-streaming | 0.8 GB | 4 | transcribe |
| whisper-medium | 0.9 GB | 4 | transcribe |
| whisper-large-v3-turbo | 1.3 GB | 4.5 | transcribe |
Search by meaning
These don’t chat. They turn a paragraph into a list of numbers that captures its meaning, so you can find “the email about the late invoice” even if the word “invoice” never appears. Pair one with a chat model and you’ve got RAG (the AI gets to use your documents as an open book) running entirely on the client’s PC.
| Model | Size | Context | Smarts | Good for |
|---|---|---|---|---|
| qwen3-embedding-0.6b | 0.5 GB | 32k | 3 | search |
| qwen3-embedding-8b | 5.8 GB | 32k | 4.5 | search |
Does Foundry Local need a graphics card?
Nope. Every model in this post runs on a plain CPU. 36 of the 48 also come in a GPU build that runs on any graphics card (NVIDIA, AMD, or the Intel chip in most office PCs), so you get a speed boost if you have one. But you don’t need it.
Here’s something that surprised me: the GPU list isn’t a different set of models. It’s the same 48 brains in a different wrapper. 36 of them have a “generic-gpu” build that runs on any graphics card (NVIDIA, AMD, or the Intel chip built into most office PCs). The 12 without one are all the speech models plus the three qwen3-vl picture models.
Because it’s the same brain, the context window, the cutoff date, the smarts rating, and the “good for” list are identical to the CPU tables above. What changes is three things:
- The download is a separate file. A PC that already has the CPU copy of phi-4-mini downloads the GPU copy again. Same folder, same sharing rules, just a second entry.
- The size shifts a little. Microsoft packed the phi models tighter for GPU (phi-4-mini drops from 4.9 to 3.8 GB). The qwen ones mostly grow a bit.
- Speed. On a real NVIDIA or AMD card, expect five to ten times the CPU numbers. On Intel integrated graphics, which has no memory of its own, the gain is small. Don’t promise a client a speedup until you’ve seen their hardware.
“Fits on” is the graphics memory the card needs, roughly the file size plus a gigabyte. “Any card” means under 2 GB. NVIDIA owners also get a CUDA build of each of these, which is faster again, but needs a bigger one-time runtime download so I haven’t listed it here.
Chat models that answer straight away (GPU builds)
| Model | GPU size | Fits on | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|---|
| qwen2.5-0.5b | 0.7 GB | any card | 32k | early 2024? | 1 | classify |
| qwen2.5-coder-0.5b | 0.5 GB | any card | 32k | early 2024? | 1 | code |
| qwen2.5-1.5b | 1.5 GB | any card | 32k | early 2024? | 2 | classify, extract, rename |
| qwen2.5-coder-1.5b | 1.3 GB | any card | 32k | early 2024? | 2 | code |
| phi-3.5-mini | 2.2 GB | 4 GB card | 128k | Oct 2023 | 3 | classify, extract, rename, summarize, write, long docs |
| phi-3-mini-4k | 2.2 GB | 4 GB card | 4k | Oct 2023 | 3 | classify, extract, rename, summarize, write |
| phi-3-mini-128k | 2.2 GB | 4 GB card | 128k | Oct 2023 | 3 | classify, extract, rename, summarize, write, long docs |
| mistral-7b-v0.2 | 4.2 GB | 6 GB card | 32k | late 2023? | 3 | classify, extract, rename, summarize, write |
| phi-4-mini | 3.8 GB | 6 GB card | 128k | Jun 2024 | 3.5 | classify, extract, rename, summarize, write, long docs |
| olmo-3-7b-instruct | 5.6 GB | 8 GB card | 64k | mid 2025? | 3.5 | classify, extract, rename, summarize, write |
| qwen2.5-7b | 5.3 GB | 8 GB card | 32k | early 2024? | 4 | classify, extract, rename, summarize, write, long docs |
| qwen2.5-coder-7b | 4.8 GB | 6 GB card | 32k | early 2024? | 4 | code |
| mistral-nemo-12b | 7.5 GB | 8 GB card, tight | 128k | early 2024? | 4 | classify, extract, rename, summarize, write, long docs |
| phi-4 | 8.6 GB | 12 GB card | 16k | Jun 2024 | 4.5 | classify, extract, rename, summarize, write, code, reason |
| qwen2.5-14b | 9.5 GB | 12 GB card | 32k | early 2024? | 4.5 | classify, extract, rename, summarize, write, code, long docs |
| qwen2.5-coder-14b | 9.0 GB | 12 GB card | 32k | early 2024? | 4.5 | code |
| gpt-oss-20b | 12.1 GB | 16 GB card | 128k | Jun 2024 | 5 | classify, extract, rename, summarize, write, code, reason, long docs |
Chat models that think first (GPU builds)
| Model | GPU size | Fits on | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|---|
| qwen3-0.6b | 0.5 GB | any card | 32k | late 2024? | 1 | classify |
| qwen3-1.7b | 1.4 GB | any card | 32k | late 2024? | 2 | classify, extract, rename |
| qwen3.5-2b-text | 1.4 GB | any card | 32k? | late 2025? | 2.5 | classify, extract, rename, summarize |
| smollm3-3b | 2.2 GB | 4 GB card | 64k | early 2025? | 2.5 | classify, extract, rename, summarize |
| qwen3-4b | 2.9 GB | 4 GB card | 32k | late 2024? | 3.5 | classify, extract, rename, summarize, write, reason |
| phi-4-mini-reasoning | 3.2 GB | 6 GB card | 128k | Jun 2024 | 3.5 | classify, extract, reason |
| qwen3-8b | 6.1 GB | 8 GB card | 32k | late 2024? | 4 | classify, extract, rename, summarize, write, code, reason |
| deepseek-r1-7b | 5.7 GB | 8 GB card | 128k | early 2024? | 3.5 | reason, code |
| qwen3-14b | 10.2 GB | 12 GB card | 32k | late 2024? | 4.5 | classify, extract, rename, summarize, write, code, reason, long docs |
| phi-4-reasoning | 8.6 GB | 12 GB card | 32k | Mar 2025 | 4.5 | reason, code |
| deepseek-r1-14b | 10.5 GB | 12 GB card | 128k | early 2024? | 4 | reason, code |
Models that can see a picture (GPU builds)
| Model | GPU size | Fits on | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|---|
| qwen3.5-0.8b | 1.5 GB | any card | 32k? | late 2025? | 1.5 | images, classify |
| qwen3.5-2b | 3.0 GB | 4 GB card | 32k? | late 2025? | 2.5 | images, classify, extract, rename |
| qwen3.5-4b | 4.2 GB | 6 GB card | 32k? | late 2025? | 3.5 | images, classify, extract, rename, summarize, write |
| ministral-3-3b | 3.7 GB | 6 GB card | 128k | late 2025? | 3 | images, classify, extract, rename, summarize, write |
| gemma-4-e2b-it | 7.0 GB | 8 GB card | 32k? | late 2025? | 3.5 | images, classify, extract, rename, summarize, write |
| qwen3.5-9b | 7.1 GB | 8 GB card | 32k? | late 2025? | 4 | images, classify, extract, rename, summarize, write, reason |
| qwen3-vl-2b-instruct | CPU only | n/a | 256k | mid 2025? | 2 | images, classify, extract |
| qwen3-vl-4b-instruct | CPU only | n/a | 256k | mid 2025? | 3 | images, classify, extract, rename, summarize |
| qwen3-vl-8b-instruct | CPU only | n/a | 256k | mid 2025? | 4 | images, classify, extract, rename, summarize, write, reason |
Search by meaning (GPU builds)
| Model | GPU size | Fits on | Context | Cutoff | Smarts | Good for |
|---|---|---|---|---|---|---|
| qwen3-embedding-0.6b | 0.5 GB | any card | 32k | late 2024? | 3 | search |
| qwen3-embedding-8b | 6.1 GB | 8 GB card | 32k | late 2024? | 4.5 | search |
Speech to text: no GPU builds at all in this catalog. Whisper, Parakeet, and the Nemotron models run on the CPU only.
How should you build AutoHotkey tools on Foundry Local?
One thing I’ve learned: the hard part of shipping AI to a client was never the AI. It was the setup. Here’s how I’m thinking about it now.
- Plan on one “house” model. Pick one chat model and build every tool on it. phi-4-mini (4.9 GB) is my current default for smarts. qwen3-4b (2.8 GB) is the one I’d pick for older office PCs. The first tool a client runs pays the download once. Every tool after that starts in seconds.
- Design for the 8 GB PC, not your dev box. Working memory is size plus about a gigabyte. A 5 GB model on an 8 GB laptop with Outlook open is going to swap. Check free memory before loading and fall back to the small one.
- Watch the 128k models. The runtime reserves the whole context window up front. phi-4-mini tried to grab 35 GB on my machine before I capped it at 4k. The 32k models (anything qwen) don’t have that problem. My helper now caps every model automatically, but if you roll your own, know this one.
- Small models need an example, not instructions. I told phi-4-mini “clean up these names” and it handed them straight back. Two example lines in the prompt and it nailed it. Sound like anyone you’ve trained? 😃
- Speed is honest. Five words a second on a CPU for the medium model. Fine for a file name, a label, an invoice number. Not fine for a 2,000-word report. Pick the job to match.
- Hardware variants don’t change your prompt. GPU, NPU, CPU: same brain, same words in and out. Switching model families is what makes you re-test the prompt.
- One honest gap: no text-to-speech. Windows’ built-in voices are still the zero-setup answer there.
Don’t get me wrong, cloud AI isn’t going anywhere. For hard reasoning or long documents, GPT and Claude are still way ahead of anything in these tables. But for the hundred small jobs that make up most business automation (sort this, pull that out, tidy this up), the model is now just there, like a font. That changes what you can hand to a client. ⚡
How about you? Which of these jobs would you put behind a hotkey first?
P.S. I built a small helper that lets any AutoHotkey script talk to these models over a pipe, no install on the client’s PC. That’s the next post.

