用免费 LLM API 给 Claude Code/Cursor 降本
Understand the story
2026-10-05,DEV Community 有作者分享把 Claude Code 的月成本压到 0 美元的做法:通过设置 ANTHROPIC_BASE_URL 和 ANTHROPIC_AUTH_TOKEN 两个环境变量,把请求路由到 Google AI Studio 的 Gemini 2.5 Flash 或 Groq,并称 Cursor 和 Codex CLI 也有对应的 base URL 配置方式。这是该事件目前唯一一篇报道,此前没有更早的报道可对照,因此不存在数字或说法上的前后矛盾。作者的做法属于个人经验分享,尚未见官方支持说明或成本实测数据。
Generated by AI from reports · Updated 7 hours ago
Developments
- Oct 6, 09:30 · 1 reportClaude Code接入DeepSeek API配置教程佬刘AI:Claude Code 接入 DeepSeek 教程:Windows / Mac 配置与 API Key 设置
- Oct 5, 18:45 · 1 report利用免费LLM API配置Claude Code/Cursor零成本编程DEV Community · Claude Code:如何用免费 LLM API 把 Claude Code 的月成本压到 0 美元
Report timeline
Follow the reports to explore different perspectives.
- 佬刘AIClaude Code 接入 DeepSeek 教程:Windows / Mac 配置与 API Key 设置
这篇教程讲如何把 Claude Code 的模型请求从 Anthropic 切到 DeepSeek API,保留 Claude Code 的 Agent 工作流。
- DEV Community · Claude Code如何用免费 LLM API 把 Claude Code 的月成本压到 0 美元
作者分享自己把 Claude Code 接到免费 LLM API 上的做法,通过设置 ANTHROPIC_BASE_URL 和 ANTHROPIC_AUTH_TOKEN 两个环境变量,把请求路由到 Google AI Studio 的 Gemini 2.5 Flash 或 Groq,Cursor 和 Codex CLI 也有对应的 base URL 配置方式。
Interest in this story
Current interest 12·Peak within comparable coverage 14(Oct 6, 16:00)·Change over 24 hours within comparable coverage –
The trend compares the same participants under continuous, complete observation, so its coverage may be narrower than the current score. Hover or tap to view hourly interest; use the left and right arrow keys to navigate.