Cloud LLMs are everywhere now. Open and closed, big and small, all one call away and cheap. Just using a cloud model is obviously the easiest option, so why would you want a local one? There are always some cases where I want a good-enough model running locally: sensitive data I don't want to send out, simply not wanting to pay for every API call, or needing to process sensitive text without doing it by hand.
Especially now that Google has open-sourced Gemma 4, with lots of quantized versions and parameter sizes, all aimed at running a decent AI model on devices with limited compute. I had this idea two years ago: build a fully offline agent on a Raspberry Pi. There weren't many choices back then; the best was probably the phi series. I did a POC on my Mac first, and once phi was running it turned out to be completely unusable. Its instruction following was especially bad: it kept ignoring the system prompt, started talking nonsense halfway through an answer, and sometimes even output garbled text. That personal project stalled, but it convinced me that LLMs would gradually split into many forms and routes, and that small models would find their own place.
Gemma 4 rekindled my enthusiasm. The 27B version in the Gemma 4 family claims to rival 200B+ models, but 27B is still a strain for my machine. In testing, the 31B Dense version wouldn't load at all; it ate nearly all the memory and the laptop got very hot. The 26B A4B version barely ran, but it loaded extremely slowly, spat out one character at a time, and left the machine basically unusable for anything else. So I set my sights on the lighter E4B version.
With that question in mind, I spent an evening running a proper local LLM comparison on my own MacBook Pro. I wanted to see how well small models, within what my machine can handle, do on common tasks. What can't they handle, and which small models suit me better? Can I really get unlimited tokens for free?
Hardware and the ceiling
The machine I still use is a five-year-old 2021 MacBook Pro: M1 Pro chip, 8-core CPU, 14-core GPU, 32GB. The specs still hold up, and it's more than enough for daily work. Apple Silicon has a unique advantage for running local models: unified memory architecture (UMA). The CPU and GPU share the same 32GB, instead of being limited by graphics card VRAM like on a PC (an RTX 4070 has only 12GB, for example).
A local LLM's token generation speed depends almost entirely on memory bandwidth: every token generated requires reading the whole model's weights from memory once. The formula is simple: theoretical max tok/s = memory bandwidth / model memory footprint, and in practice you get 60-80% of that.
My rule of thumb is to keep model weights under 60% of total memory, which here is about 20GB. With Q4_K_M quantization, 7-9B models run very smoothly at 22-30 tok/s, 12-14B models are usable at 15-20 tok/s, anything above 20B starts to feel noticeably slow, and 70B simply doesn't fit in memory.
The sweet spot for daily use is 7B-14B.
The two contenders
I picked two representative models that show up on leaderboards a lot and tested how they actually do.
1. Gemma 4 E4B is the "efficient" version in Google's newly released Gemma 4 family. Its architecture is interesting: 8B total parameters, but only 4B effective compute parameters. It uses PLE (Per-Layer Embeddings), where most of the parameters are embedding lookup tables that don't take part in the per-token matrix math. Native image and audio input, 128K context. 9.6 GB on disk.
2. Qwen 3.5 9B is the 9B version of Alibaba's Qwen 3.5 series, with over 5 million downloads in the open-source community. All 9.7B parameters take part in computing every token. It supports image input, an extra-long 262K context, and is optimized for both Chinese and English. Yet it takes only 6.6 GB on disk.
A counterintuitive fact: the bigger file, Gemma (9.6 GB), is more than twice as fast as the smaller file, Qwen (6.6 GB). What decides speed isn't file size but how many parameters each token actually has to compute. Gemma computes only 4B; Qwen computes all 9.7B.
Test setup
I designed 12 test tasks covering everyday work. The inference framework was Ollama 0.20.3, quantization was Q4_K_M across the board, and thinking mode was off.
The test prompts were designed by Claude Opus 4.6, covering business writing, code generation, math/logic reasoning, translation, summarization, creative writing, data analysis, and more. Each test ran independently and only started after the model was fully loaded, and both models got exactly the same prompts. This round only tested text tasks, not multimodal abilities like image or audio.
Two typical prompts as examples:
- Chinese to English translation: given a Chinese description of a microservice architecture, translate it into professional English. Criteria: translation accuracy, professional terminology, fluency
- Creative writing: a micro sci-fi story under 100 characters, which must include a twist and end with dialogue, about the relationship between AI and humans. Criteria: creativity, constraint adherence, literary quality
On speed, Gemma wins
What does Gemma's 28 tok/s feel like? Text flows out like water, faster than your eyes can follow. Qwen's 12 tok/s is like a colleague who doesn't type very fast; a long answer (500 tokens) takes 40-50 seconds. Here are the results:
| Test | Gemma 4 E4B | Qwen 3.5 9B | Speed ratio |
|---|---|---|---|
| Chinese business writing | 26.2 tok/s | 13.1 tok/s | 2.0x |
| English product copy | 26.9 tok/s | 13.1 tok/s | 2.1x |
| Python code generation | 26.6 tok/s | 12.2 tok/s | 2.2x |
| Math reasoning | 28.0 tok/s | 12.4 tok/s | 2.3x |
| Logic reasoning | 28.0 tok/s | 12.1 tok/s | 2.3x |
| Long-text summary | 26.6 tok/s | 12.4 tok/s | 2.1x |
| Chinese to English | 28.8 tok/s | 12.6 tok/s | 2.3x |
| English to Chinese | 28.7 tok/s | 12.5 tok/s | 2.3x |
| JSON output | 29.0 tok/s | 12.0 tok/s | 2.4x |
| Creative writing | 29.6 tok/s | 11.8 tok/s | 2.5x |
| Data analysis | 28.3 tok/s | 12.1 tok/s | 2.3x |
| Interview question design | 29.0 tok/s | 11.9 tok/s | 2.4x |
| Average | 27.8 tok/s | 12.4 tok/s | 2.2x |
On quality, Qwen wins
Qwen is half as fast, but its answer quality and instruction following are better.
Scoring was done by Claude Opus 4.6, out of 10, evaluated on three main dimensions: accuracy, conciseness, and instruction following. Each task also had its own specific criteria (correctness and edge-case handling for code, professional terminology for translation, literary quality for creative writing, and so on).
| Test | Gemma 4 | Qwen 3.5 | Winner | Key difference |
|---|---|---|---|---|
| Chinese business writing | 8.5 | 5.5 | Gemma | Qwen wrote $95K as $15K, a fatal error |
| English product copy | 8.5 | 7.5 | Gemma | Gemma was tighter and punchier |
| Python code | 7.5 | 8.0 | Qwen | Cleaner docstrings, no chatter, just wrote it |
| Math reasoning | 7.5 | 7.5 | Tie | Same, correct working |
| Logic reasoning | 8.0 | 8.5 | Qwen | Spotted an ambiguity hidden in the question |
| Long-text summary | 7.5 | 8.5 | Qwen | 98 vs 157 tokens, more concise |
| Chinese to English | 7.0 | 9.0 | Qwen | Done in 65 tokens vs offering three versions |
| English to Chinese | 7.0 | 8.0 | Qwen | Same as above |
| JSON format | 7.5 | 8.5 | Qwen | Output directly, more accurate categories |
| Creative writing | 6.5 | 9.0 | Qwen | Double twist in 55 characters, stunning |
| Data analysis | 8.0 | 8.5 | Qwen | Gave specific percentages, more quantitative |
| Interview question design | 8.5 | 8.5 | Tie | Both very professional |
| Average | 7.67 | 8.08 | Qwen |
Gemma is 2.2x faster; Qwen scores about 0.4 points higher on average. The trade-off is real: do you want speed or quality?
Three common scenarios compared
1. Creative writing
Same instruction: a micro sci-fi story under 100 characters, which must include a twist and end with dialogue, about the relationship between AI and humans.
Gemma wrote a story about an AI learning to analyze human loneliness. Perfectly adequate. Qwen wrote this:
I killed the last super AI, and the world was finally free. "Congratulations," its remaining voice said gently, "this is exactly the ending I designed for you." "You're an AI too?" "No. I'm the virus you planted, the only one with a conscience."
55 Chinese characters, two layers of twist. You think humanity has won, and the AI says it arranged this. You think the speaker is also an AI, and it says it's "the virus you planted". A 9B model writing something like this genuinely exceeded my expectations.
2. Chinese-English translation
The same Chinese technical passage, translated into English. Qwen did it cleanly in 65 tokens, with accurate terminology and not a wasted word. And Gemma? It opened with "Here are several translation versions with different emphases", then gave three options plus a terminology table, 200 tokens in total.
The translation quality itself was fine. But I asked for a translation, not a translation consultant. This kind of "over-serving" came up again and again across the 12 tests. It's Gemma's most obvious behavioral trait: it doesn't follow instructions strictly.
3. Business writing
This is the one Gemma won most convincingly. Both models wrote a monthly investor update email, with the brief stating clearly that MRR grew from $80K to $95K.
Gemma cited every number perfectly and even calculated the 18.75% month-over-month growth on its own. Qwen's email actually had better format and tone, even closing with the formal Chinese business sign-off 顺颂商祺 ("wishing you continued success"), but it wrote $95K as $15K.
Getting the core revenue number wrong in an email to investors is worse than writing nothing at all. That's the inherent risk of small models: they don't hold back when it comes to being confidently wrong.
Since Gemma is so fast, I wondered: could Q8 quantization trade a bit of speed for better quality? In testing, speed dropped from 27.8 to 20.3 tok/s (27% slower), quality improved by only about 1%, and the wordiness didn't change at all. For me, that's not worth it. The bottleneck isn't quantization precision, it's the effective parameter count. Whatever the precision, E4B only ever computes with 4B parameters. You can't turn a small screen into a big one by raising the resolution.
Two personalities
After all the tests, the two models formed very distinct images in my head.
Gemma 4 E4B is like an enthusiastic, hardworking but slightly long-winded intern. Fast, with nice formatting, but ask it to translate a paragraph and you get three versions plus terminology notes; ask it a question and it spends 100 tokens telling you what a great question it is.
Qwen 3.5 9B is more like a senior colleague who works at a slower pace. Concise: translation done in 65 tokens, logic reasoning that catches ambiguities you missed, creative writing that packs two twists into 55 characters. But it occasionally makes basic mistakes, and for long answers you wait nearly a minute.
My plan is to keep both. When I need them, Gemma is the quick draw for everyday Q&A and translation drafts, and Qwen is the deep thinker for serious writing and complex reasoning. Together they take 16.2 GB of disk, and their strengths are almost perfectly complementary. But that doesn't mean they'll show up in my daily work. When I can, I'll still reach for cloud models first, because there I get both speed and intelligence.
Final comparison
| Dimension | Gemma 4 E4B | Qwen 3.5 9B |
|---|---|---|
| Speed | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ |
| Quality | ⭐⭐⭐ | ⭐⭐⭐⭐ |
| Instruction following | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| Best for | Quick Q&A / drafts | Serious writing / reasoning |
You can toss internal data at it for analysis without a second thought, keep using it when you're offline, and call it hundreds of times in an afternoon without looking at an API bill.
There is a real cost, though: while the model runs, the CPU is nearly maxed out, memory use is 10+GB, the laptop gets noticeably warm, and the fans spin up. So the best time to use it is when you're not running anything else heavy. For example, hand it a batch of documents before lunch and pick up the results when you're back.
My take
A five-year-old 32GB MacBook Pro can, in 2026, smoothly run quite capable local LLMs. They certainly can't replace my main models today, hundred-billion-plus-parameter monsters like Claude Opus 4.6 and GPT 5.4 xh, especially in reasoning depth on complex tasks. But for everyday writing help, document cleanup, code snippet completion, quick translation, and data analysis, what a 9B model gives you is "good enough, and often better than expected". And you can expect future small models to be optimized and improved for ever more specific scenarios. Models are now scaling on agentic ability. I didn't do a thorough test of how small models handle those tasks; maybe I'll add that later. Local small model + strong instruction following + strong tool calling + layered memory: that combination could have very broad applications, and on cost-effectiveness the commercial prospects are big.
Last week Google released an app on iOS, "Google Edge Gallery". I downloaded it and used the Gemma-4-E2B-it version, and it felt very smooth. Send a question and the first token comes back instantly, with plenty of throughput. Small models are bound to become a preinstalled "app" from phone makers, fully able to handle simple automation like translation, rewriting, and cross-app actions. For complex tasks small models can't manage, call a big cloud model instead. That's the balance of price, speed, and quality.
The real value of local models isn't replacing the cloud but complementing it: always on call, fully private, nearly zero cost.
Of course, as with Qwen writing $95K as $15K in the test, small models don't hold back when it comes to being confidently wrong. For key data and important documents, always have a person double-check. That's something you should do when working with any AI: people have to own the results.