← 返回综合新闻
Engadget 综合新闻 2026-11-09 21:45

您的 PC 需要什么硬件来运行本地 AI 模型?

What hardware does your PC need to run a local AI model?

比您想象的要少,但 16GB 的 PC 只能带您到目前为止。

下载 Ollama 或 LM Studio,选择一个模型,几分钟之内,您就可以启动并运行本地聊天机器人。无需订阅费,无需互联网连接即可使用,并且您的任何数据都不会离开您的电脑。但有一个问题:你可以运行什么,以及它的响应速度,完全取决于你的机器有多强大。

具有 16GB RAM 的日常 PC 将能够运行具有大约七到八十亿个参数的相对较小的模型。 Meta 的 Llama 3.1 8B、阿里巴巴的 Qwen3 8B 或具有 8GB VRAM 的显卡将运行得相当快。但这些模型与当今落后于 ChatGPT 或 Claude 的前沿模型还有很长的路要走。如果你想运行更接近的东西,你将需要至少 32GB 内存和具有 16GB 或更多 VRAM 的显卡,以今天的价格来看,这并不便宜。

模型所需的内存几乎与其大小成线性比例,其大小以数十亿个参数来衡量 (B)。大多数人运行本地模型的压缩(“量化”)版本,将每个参数存储在大约四位中,将模型削减到其原始大小的大约四分之一。在 Ollama 的库中,Llama 3.1 8B 为 4.9GB,微软的 Phi-4 为 9.1GB,Google 的 Gemma 3 27B 为 17GB,Meta 的 Llama 3.3 70B 为 43GB。 Ollama 的一般经验法则是,7B 型号需要 8GB RAM,13B 型号需要 16GB,33B 型号需要 32GB。

OpenAI 的 gpt-oss-20b 拥有 210 亿个参数,但通过称为“专家混合”的设计,每个代币仅使用其中 36 亿个参数。这使得速度很快,但模型仍然必须适合可用内存。 OpenAI 表示,它“仅需要 16 GB 内存”即可运行,但 Ollama 的内存为 14 GB,几乎是 16 GB PC 的全部内存。

每次模型生成一个单词,或更准确地说是一个标记时,它都必须读取其所有参数。因此,速度更多地取决于内存带宽,而不是原始处理能力。 Nvidia 的工程师将该阶段描述为“内存限制”。显卡的 VRAM 比电脑其他部分的 RAM 快几倍,这就是为什么适合 GPU 的模型比溢出到系统内存的模型运行得快得多。

根据经验,每秒 5 到 10 个令牌以上的任何内容都可以与大多数人的阅读速度保持同步。在 LMSYS 测试中,Nvidia 的 RTX 5090 被发现能够以每秒 205 个令牌的速度从 OpenAI 的 gpt-oss-20b 生成文本。与此同时,llama.cpp 的基准测试显示,Apple 的基础 M4 芯片在 7B 型号上的速度约为每秒 24 个令牌。 Ollama 测量了 Nvidia 的 DGX Spark(Nvidia 去年开始销售的售价 3,999 美元的人工智能开发 PC),在 Llama 3.1 8B 上每秒处理 38 个令牌,但在 70B 版本上仅为 4.42 个令牌。

我个人在配备 32GB RAM 和 Intel AI Boost NPU 的 2024 款 Asus Zenbook Duo 上运行 Mistral 7B。通过 Ollama,Mistral 将 CPU 使用率提高到 52%,将内存使用率提高到 17GB 左右。这本身是可以管理的,但如果有其他要求发生,就会使笔记本电脑陷入困境。相反,通过英特尔的 OpenVINO 工具包运行,同一型号的 NPU 保持在 98%,而 CPU 保持在 3%,并且笔记本电脑保持快速和响应,同时在大约三分钟内写了 2,500 个单词(无意义)。

在Artificial Analysis 2026年4月排名中,中国阿里巴巴的Qwen3.5 27B智能指数为42,与OpenAI的GPT-5中等设置持平,而谷歌的Gemma 4 31B得分为39。不过领先的前沿云模型排名为57,而Qwen3.5 27B需要17GB到20GB的内存,这显然超出了16GB PC的内存必须给予。

但即使是最强大的个人电脑也只能满足前沿情报的表面需求。据发布开放模型压缩版本的 Unsloth 称,Moonshot 的 Kimi K2.6 是一个 1 万亿参数模型,于 2026 年 4 月推出时是最好的开放重量模型之一,需要约 600GB 的 RAM 和 VRAM 组合才能以 4 位运行。其继任者 Kimi K3 在 2026 年 7 月的 Artificial Analysis 智力指数中得分为 57,仅次于 Anthropic 的 Claude Fable 5 和 OpenAI 的 GPT-5.6 Sol。不过,由于有 2.8 万亿个参数,其权重就达到了大约 1.4TB,TECHi 估计这几乎无法装在 8 个 GPU 的数据中心服务器上。

因此,对于奇怪的私人摘要或一些离线编码帮助,16GB 的 PC 就可以了。对于您实际使用的东西而不是云聊天机器人,您需要 32GB RAM 或 16GB 显卡。根据 Tom's Hardware 的 RAM 价格指数,仅 32GB DDR5 套件的售价就为 434 美元,相当于每月 20 美元的 ChatGPT Plus 或 Claude Pro 订阅的近两年费用。然而,任何接近前沿的事情都是数据中心的工作。

原文(English)

Less than you might think, but a 16GB PC will only take you so far.

Download Ollama or LM Studio, pick a model, and within a matter of minutes, you can be up and running with a local chatbot. There's no subscription fee, it works without an Internet connection, and none of your data leaves your PC. But there's a catch: What you can run, and how quickly it responds, depends entirely on how powerful your machine is.

Your everyday PC with 16GB of RAM will be able to run relatively small models with around seven to eight billion parameters. Meta's Llama 3.1 8B, or Alibaba's Qwen3 8B or a graphics card with 8GB of VRAM will run them decently fast. But those models are a long way from today's frontier models behind ChatGPT or Claude. If you want to run something closer, you'll need at least 32GB of memory and a graphics card with 16GB or more VRAM which, at today's prices, doesn't come cheap.

The memory a model needs scales almost linearly with its size, which is measured in billions of parameters (B). Most people run compressed ("quantized") versions of local models that store each parameter in about four bits, cutting a model to roughly a quarter of its original size. In Ollama's library, that puts Llama 3.1 8B at 4.9GB, Microsoft's Phi-4 at 9.1GB, Google's Gemma 3 27B at 17GB, and Meta's Llama 3.3 70B at 43GB. Ollama's general rule of thumb has been that you need 8GB of RAM for a 7B model, 16GB for 13B, and 32GB for 33B.

OpenAI's gpt-oss-20b has 21 billion parameters but only uses 3.6 billion of them for each token via a design known as "mixture of experts." That makes it fast, but the model still has to fit in available memory. OpenAI says it runs "with just 16 GB of memory," but at 14GB in Ollama, that's almost all of a 16GB PC.

Each time a model generates a word, or more accurately a token, it has to read through all of its parameters. As such, speed depends far more on memory bandwidth than raw processing power. Nvidia's engineers describe that stage as "memory-bound." A graphics card's VRAM is several times faster than the RAM in the rest of your PC, which is why a model that fits on your GPU runs a lot faster than one that spills over into system memory.

As a rule of thumb, anything above five to 10 tokens per second keeps pace with how fast most people read. In LMSYS testing, Nvidia's RTX 5090 was found to generate text from OpenAI's gpt-oss-20b at 205 tokens per second. llama.cpp's benchmarks, meanwhile, put Apple's base M4 chip at about 24 tokens per second on a 7B model. Ollama measured Nvidia's DGX Spark, the $3,999 AI developer PC Nvidia started selling last year, at 38 tokens per second on Llama 3.1 8B, but just 4.42 on the 70B version.

I personally ran Mistral 7B on a 2024 Asus Zenbook Duo with 32GB of RAM and an Intel AI Boost NPU. Through Ollama, Mistral pushed CPU use to 52 percent and memory use to around 17GB. That's manageable on its own but would bog the laptop down if anything else demanding was going on. Running through Intel's OpenVINO toolkit instead, the same model kept the NPU at 98 percent while the CPU sat at three percent, and the laptop stayed fast and responsive while it wrote 2,500 words (of nonsense) in about three minutes.

In Artificial Analysis' April 2026 rankings, Qwen3.5 27B from China's Alibaba scored 42 on its intelligence index, level with OpenAI's GPT-5 at its medium setting, while Google's Gemma 4 31B scored 39. The leading frontier cloud models sat at 57, though, and Qwen3.5 27B needs between 17GB and 20GB of memory, which is obviously beyond what a 16GB PC has to give.

But even the most powerful PCs will barely scratch the surface of what frontier intelligence needs. Moonshot's Kimi K2.6, a 1-trillion-parameter model that was among the best open-weight models when it launched in April 2026, needs around 600GB of combined RAM and VRAM to run at 4-bit, according to Unsloth, which publishes compressed versions of open models. Its successor, Kimi K3, scored 57 on Artificial Analysis' intelligence index in July 2026, behind only Anthropic's Claude Fable 5 and OpenAI's GPT-5.6 Sol. At 2.8 trillion parameters, though, its weights alone come to roughly 1.4TB, which TECHi estimates would barely fit on an eight-GPU data center server.

So, for the odd private summary or some offline coding help, a 16GB PC is fine. For something you'd actually use instead of a cloud chatbot, you'll want 32GB of RAM or a 16GB graphics card. A 32GB kit of DDR5 alone costs $434, according to Tom's Hardware's RAM price index, or almost two years' worth of a $20-a-month ChatGPT Plus or Claude Pro subscription. Anything close to the frontier, though, is a job for a data center.

本文为自动翻译,可能存在偏差,请以原文为准。发布于 2026-11-09 21:45

阅读原文 ↗https://www.engadget.com/2307701/pc-hardware-needed-run-loca