通过替代API使用claude cli,仅供参考

admin 发布于 2025-10-13 125 次阅读


anthropics/claude-code: Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

cjh-store/cc-cli: claude code工具集合

musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.

用 Claude Code 連接多款免費 AI 模型,輕鬆切換不設限 – MUKI space*

手动配置 Claude Code 环境变量

如果你想手动配置 Claude Code 的环境变量,可以在终端中运行下列命令:

export ANTHROPIC_BASE_URL="https://api.siliconflow.cn/"
export ANTHROPIC_MODEL="moonshotai/Kimi-K2-Instruct-0905" # 可以自行修改所需模型
export ANTHROPIC_API_KEY="YOUR_SILICONCLOUD_API_KEY" # 请替换 API Key

此作者没有提供个人介绍。
最后更新于 2025-10-13