$cd ../guides/
🖥 Hardware GuideRaspberry Pi 5Budget Pick

树莓派 5:
$80 AI 服务器

/** 诚实指南:什么真的有效,什么无效,以及如何从 8GB RAM 中榨取最多性能。 */

// 购买前的诚实现实检查
Pi 5 适合轻量级 AI 任务:简单聊天、提醒、Notion 查询、Webhook 处理
不适合实时对话中的大型模型(7B+)
如果将重型推理路由到云 API(Claude/GPT-4o),它作为专用控制器很出色
如预算允许,与 Mac Mini M4 Pro 比较 — 10倍更快的推理
$80
总成本
// Pi 5 8GB + 外壳
5W
待机功耗
// < $1/月
16 t/s
gemma2:2b
// Pi 5 最佳选择
ARM
架构
// Cortex-A76 四核
model_compatibility.log

🤖 Pi 5(8GB RAM)模型兼容性

phi3:mini (3.8B)8 tok/s
llama3.2:3b11 tok/s
gemma2:2b16 tok/s
mistral:7b3 tok/s
llama3.1:8b< 1 tok/s
config.yaml

⚙️ Pi 5 推荐配置

# Optimized for Raspberry Pi 5 8GB
ai:
provider: "ollama"
model: "llama3.2:3b" # sweet spot on Pi 5
num_threads: 4 # use all 4 cores
context_length: 2048 # smaller = faster on Pi
routing:
complex: # heavy tasks → cloud
provider: "anthropic"
setup.sh

🚀 安装步骤

# 1. Flash Raspberry Pi OS (64-bit) to SD card
# 2. Enable SSH, connect to network
# 3. Install Ollama
$ curl -fsSL https://ollama.ai/install.sh | sh
$ ollama pull llama3.2:3b
# 4. Install OpenClaw
$ curl -fsSL https://openclaw.ai/install.sh | bash
# 5. Enable auto-start on Pi boot
$ sudo systemctl enable openclaw
$ sudo systemctl start openclaw
← 返回指南列表