Gemma4 发布,我也第一时间进行了体验。I tried Gemma4 as soon as it was released.

LmStudio 模型下载框推荐的是26b A4b,大小18个g。LM Studio's download panel recommended the 26b A4b model, approximately 18 GB in size.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 1
图 1 · 点击查看原图Figure 1 · Click to view the original image

也可以搜索到轻量级E4b ,大小6.33g,和Qwen9b 大小差不多。A lightweight E4b model was also available at 6.33 GB, similar in size to Qwen9b.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 2
图 2 · 点击查看原图Figure 2 · Click to view the original image

本次体验使用这两个模型依然进行本地审核工作,测试表现。I used both models for local proofreading again, testing their performance.

核心观点放在前面:The central point first:

一个现实必须认清。There is a reality we need to recognize.

本地AI的能力、效果,是被本地硬件的上限深深限制住的。Local AI's capabilities and effectiveness are strongly constrained by the limits of local hardware.

对文本处理来说,如果要求精度,就必须保证模型完整吃下文本,意味着也必须有足够大的上下文长度被模型完整关注。Accurate text processing requires the model to take in the complete document and attend to it within a sufficiently large context window.

而这就意味着,你必须有足够的显存和内存。That, in turn, requires sufficient GPU memory and RAM.

这还只是简单的文本审核工作。And this is only a straightforward proofreading task.

如果你指望本地AI去做agent,要保证效果的话,这个上下文长度只会需要的更大!对硬件要求就更多!If you expect local AI to operate as an agent, maintaining reliable results requires an even larger context window and more capable hardware.

所以,认清现实。We should therefore be realistic.

要去做复杂任务,老老实实用在线AI,老老实实付费。For complex tasks, use online AI and be prepared to pay for it.

对大部分人的电脑硬件水平来说,本地AI处理单个文本单个任务,就足够了。Given most people's computer hardware, processing one document for one task is already a reasonable goal for local AI.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 3
图 3 · 点击查看原图Figure 3 · Click to view the original image

接下来是上手过程分享。Here is my experience of getting started.

AMD ryzenai 9hx370 +4060 8g显存。Hardware: AMD Ryzen AI 9HX370 and an RTX 4060 with 8 GB VRAM.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 4
图 4 · 点击查看原图Figure 4 · Click to view the original image

首先来看看Gemma4 26b的加载选项。First, the Gemma4 26b loading settings.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 5
图 5 · 点击查看原图Figure 5 · Click to view the original image

最高支持26万上下文长度,但是模型需求的内存非常高。It supports a context length of up to 260,000 tokens, but memory requirements are very high.

这里在选择2万上下文长度的时候,总需求现实就已经到了19g了。Selecting a context length of 20,000 already brought the displayed total memory requirement to 19 GB.

模型分30层,12层丢给显存已经到了7.89g,理论上是我的显存的极限了。The model has 30 layers. Offloading 12 to the GPU required 7.89 GB VRAM, theoretically the limit of my graphics card.

实际上运行的时候可以发现,在输出的过程中,gpu 大部分时间还是在等cpu 的反馈。During generation, however, the GPU spent much of its time waiting for the CPU.

只选12层的话,实际上输出的时候gpu占用只在30%以下更低的状态。With only 12 layers offloaded, actual GPU utilization remained below 30% during output.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 6
图 6 · 点击查看原图Figure 6 · Click to view the original image

但这并不意味着你应该把GPU 运行层数往上调一调,一旦超出8g的范围,你虽然可以看到GPU占用增加到了80%以上稳定,但是输出速度会骤降。This does not mean that more layers should be assigned to the GPU. Once the 8 GB limit was exceeded, utilization could remain above 80%, but output speed dropped sharply.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 7
图 7 · 点击查看原图Figure 7 · Click to view the original image
Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 8
图 8 · 点击查看原图Figure 8 · Click to view the original image

因此这里建议,层数选择12,控制在8g显存范围内。I therefore recommend selecting 12 layers and staying within the 8 GB VRAM limit for this setup.

上下文视选择的文本长度酌情选择,对于8000字的长法律文本,我选择了2万长度进行测试。Context length should reflect the document being reviewed. For an 8,000-character legal document, I tested a 20,000-token window.

加载之后,可以看到内存直接就快满了。Once loaded, the model nearly filled RAM.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 9
图 9 · 点击查看原图Figure 9 · Click to view the original image

审核效果:Proofreading results:

记得一定要关闭think,不然上下文消耗巨大。Remember to disable thinking mode; otherwise, it consumes a substantial amount of context.

不用担心效果。The results need not be a major concern here.

毕竟是26b量级的模型,还是很聪明的,单次问答审核,就能发现细微的规范用语错误和计算错误。At the 26b scale, the model is capable enough to identify subtle terminology and calculation errors in a single proofreading exchange.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 10
图 10 · 点击查看原图Figure 10 · Click to view the original image

输出速度是9.77tokens /s,还是可以接受的。Output speed was 9.77 tokens/s, which was acceptable.

值得注意的是,单次审核消耗的tokens就达到了48%,这里主要是长文本附件占用的比较多。A single review consumed 48% of the context, mainly because of the lengthy document attachment.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 11
图 11 · 点击查看原图Figure 11 · Click to view the original image

如果单次审核你也实在不放心,需要进行二次问答核查,那么每次消耗大概在8%左右。If a single review is not reassuring enough, each further checking exchange consumes roughly another 8%.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 12
图 12 · 点击查看原图Figure 12 · Click to view the original image

所以这个上下文长度,你可以多次问答,复核你想让它注意的地方。二次问答的话速度会高一些。This context window therefore allows several exchanges to recheck specific points. The second exchange is also somewhat faster.

充分利用上下文的话,经过两次、三次问答复核,这个审核工作应该是足够精确的。With full use of the available context and two or three checking exchanges, the review should be sufficiently accurate for this task.

毕竟26b本身就足够的聪明。The 26b model itself is, after all, fairly capable.

代价就是时刻高挂几乎爆满的内存占用,你得在审核时尽量少用别的高占用软件。The cost is persistently high RAM usage, close to capacity. Other memory-intensive applications should be minimized during review.

单次文本审核已经是这个极限了,不敢想如果让他真的去跑一个本地文本处理的综合工作agent。A single-document review already reaches these limits. Running a comprehensive local document-processing agent is difficult to imagine on this setup.

接下来是轻量级的Gemma4 e4b。Next, the lightweight Gemma4 e4b.

总层数42,可以完全装进显存里,也能保证富裕的上下文长度。Its 42 layers can fit entirely in VRAM while leaving room for a generous context window.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 13
图 13 · 点击查看原图Figure 13 · Click to view the original image

内存占用也很少。RAM usage is also low.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 14
图 14 · 点击查看原图Figure 14 · Click to view the original image

速度极快,可以达到每秒接近50tokens。It is extremely fast, approaching 50 tokens per second.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 15
图 15 · 点击查看原图Figure 15 · Click to view the original image

但在审核效果上差强人意,两次、三次问答复核之下,依然难以发现“侦察”这种细微错误。Its proofreading results were less satisfactory. Even after two or three checks, it struggled to identify subtle errors such as using 侦察 (reconnaissance) instead of 侦查 (criminal investigation).

相比较而言,qwen3.5 9b一般在单次、两次复核问答下,可以发现这种细节。Qwen3.5 9b, by comparison, can generally identify such details within one or two checking exchanges.

Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 16
图 16 · 点击查看原图Figure 16 · Click to view the original image
Gemma4上手:认清本地AI的极限 / Trying Gemma4: Understanding the Limits of Local AI: 17
图 17 · 点击查看原图Figure 17 · Click to view the original image

可见e4b侧重点可能并不在文本识别和处理,所以它的回答速度比qwen3.5快,但是确实文本审核精度有限。Text recognition and processing may therefore not be e4b's principal strength. It responds faster than Qwen3.5, but its proofreading accuracy is limited.

因此如果要作为本地审核的话,e4b不推荐使用。I would consequently not recommend e4b for this local proofreading task.

总结:Conclusions:

Gemma4 e4b不推荐本地审核使用,速度虽然快但是精度不高。Gemma4 e4b is fast but insufficiently accurate for the local proofreading tested here.

Gemma4 26b量级审核好用,足够聪明,但也几乎可以把大部分人的硬件撑到极致,难以做更复杂的事情。The Gemma4 26b model is capable and useful for proofreading, but it can push typical hardware close to its limits, leaving little scope for more complex tasks.

综合来看,Qwen3.5 9b依然是综合下来,审核的本地优选,既能保证e4b的轻量,中文审核效果也接近26b水平。Overall, Qwen3.5 9b remains my preferred local proofreading option: it is lightweight, like e4b, while its Chinese proofreading performance approaches the 26b model's level.