如果 Claude Code 对你来说昂贵或难以获取,试试 OpenCode。
它是一款开源的 AI 编程代理,支持在终端、桌面以及作为 VS Code 扩展运行。
可用的免费模型:
- DeepSeek V4 Flash Free(最佳选择)
- MiMo v2.5 Free
- Nemotron 3 Ultra Free
- North Mini Code Free
- Big Pickle
- Ling-3.0-flash Free
- Laguna S 2.1 Free
这些免费模型足以应对大多数日常编程任务。注意:它们有每日使用限制(每天重置)。
安装方法(Windows):
首先确保你的系统已安装 Node.js。
然后运行:
npm install -g opencode-ai
Enter fullscreen mode Exit fullscreen mode
安装完成后,运行:
opencode
Enter fullscreen mode Exit fullscreen mode
你也可以安装 VS Code 扩展 以获得更流畅的体验。
OpenCode 允许你使用免费模型或连接任意 API 密钥。它灵活、开源,是 Claude Code 的可靠替代方案。
我亲自测试过。设置简单,免费模型可用于实际工作。

0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.