Open Source 开源项目 2h ago Updated 1h ago 更新于 1小时前 53

[GitHub] Alishahryar1/free-claude-code 【GitHub】Alishahryar1/free-claude-code

Free Claude Code (FCC) is an independent open-source proxy that enables running Claude Code and 8 other coding agents using models from 50+ ToS-friendly providers without risking account bans FCC supports free, paid, subscription, and local models through a unified searchable UI, with automatic fallback routing across providers when outages occur Key optimizations include optional RTK terminal-output filtering (up to 90% token reduction), native streaming, tool use, interleaved thinking, and ima Free Claude Code (FCC) 是一个独立开源项目,提供50个ToS友好的AI提供商,每月支持1.3B+免费token,可替代Claude Code等9个编码代理 核心架构为本地代理层,支持自动故障转移、流式响应、工具调用和交错思考,保持原生代理能力完整 可选RTK优化可减少90%终端输出token,支持多平台接入(终端、VS Code、JetBrains、Discord、Telegram) 集成语音输入功能,支持本地Whisper或NVIDIA NIM转录 项目遵循各提供商服务条款,若政策变更会自动移除相关集成

62
Hot 热度
55
Quality 质量
58
Impact 影响力

Analysis 深度分析

TL;DR

  • Free Claude Code (FCC) is an independent open-source proxy that enables running Claude Code and 8 other coding agents using models from 50+ ToS-friendly providers without risking account bans
  • FCC supports free, paid, subscription, and local models through a unified searchable UI, with automatic fallback routing across providers when outages occur
  • Key optimizations include optional RTK terminal-output filtering (up to 90% token reduction), native streaming, tool use, interleaved thinking, and image support
  • FCC integrates across multiple platforms: terminal, VS Code, JetBrains, Discord, Telegram, and mobile, with local Whisper/NVIDIA NIM voice transcription support
  • The project maintains provider compliance by actively removing integrations when providers change their terms of service

Why It Matters

FCC addresses a critical pain point for AI practitioners: the growing restriction on using Claude Code with third-party API keys by major providers. By creating a compliant proxy layer with multi-provider fallback, it extends the usability of premium coding agents while reducing costs through free-tier aggregation. This approach could influence how the community responds to provider lock-in and API access restrictions.

Technical Details

  • Architecture: FCC operates as a local proxy server (fcc-server) that intercepts and routes requests from coding agents to configured model providers, supporting 9 agents including Claude Code, Codex, Pi, OpenCode, Cline, Hermes, DeepSeek Harness, Grok Build, and Muse Code
  • Provider ecosystem: Integrates 50+ providers including NVIDIA NIM, OpenRouter, Groq, DeepSeek, xAI, QwenCloud, Together AI, DeepInfra, SiliconFlow, Nebius, Google AI Studio/Vertex AI, Mistral, Azure OpenAI, and others, each with configurable API keys and model selection
  • Fallback mechanism: Configurable ordered fallback model lists under Model Config enable automatic failover across providers when requests fail, distributing load and increasing resilience without manual intervention
  • Token optimization: Optional RTK (Real-Time Kernel) filters common command output, while five built-in FCC optimizations handle quota probes, command-prefix detection, titles, suggestions, and filepaths locally without invoking external providers, achieving up to 90% terminal-output token reduction
  • Feature parity: Maintains full agent capabilities including streamed responses, tool use, native interleaved thinking, image sending, and independent model routing for different Claude model tiers (Fable, Opus, Sonnet, Haiku)

Industry Insight

  • The rise of proxy tools like FCC signals growing tension between AI providers' terms of service and developer demand for flexible, cost-effective access—expect more providers to tighten restrictions, which will accelerate demand for compliant intermediary solutions
  • Multi-provider fallback architecture should be considered a best practice for production AI agent deployments, as it directly addresses reliability concerns and reduces single-provider dependency risk
  • The 90% token reduction through local optimization of non-model tasks represents a significant cost-saving pattern that other agent frameworks should adopt, particularly for terminal-heavy workflows

TL;DR

  • Free Claude Code (FCC) 是一个独立开源项目,提供50个ToS友好的AI提供商,每月支持1.3B+免费token,可替代Claude Code等9个编码代理
  • 核心架构为本地代理层,支持自动故障转移、流式响应、工具调用和交错思考,保持原生代理能力完整
  • 可选RTK优化可减少90%终端输出token,支持多平台接入(终端、VS Code、JetBrains、Discord、Telegram)
  • 集成语音输入功能,支持本地Whisper或NVIDIA NIM转录
  • 项目遵循各提供商服务条款,若政策变更会自动移除相关集成

为什么值得看

该项目为AI开发者提供了绕过付费API限制的实用方案,通过统一代理层整合50+提供商,降低多模型切换成本。其故障转移机制和token优化策略对生产环境的多模型部署具有参考价值。

技术解析

  • 架构设计:本地代理服务器(fcc-server)作为中间层,连接多个AI提供商API,统一暴露给9个编码代理客户端(Claude Code、Codex、Pi、OpenCode、Cline、Hermes、DeepSeek Harness、Grok Build、Muse Code)
  • 故障转移机制:配置有序的回退模型列表,当前提供商请求失败时自动尝试下一个模型,无需重启对话轮次
  • Token优化:可选RTK(Real-time Kicker)过滤常见命令输出,5项FCC优化处理配额探测、命令前缀检测、标题、建议和文件路径,避免调用提供商
  • 多平台支持:通过原生启动器、VS Code扩展、Codex App、JetBrains插件、Discord和Telegram接入,支持macOS/Linux/Windows
  • 模型路由:支持独立路由Fable、Opus、Sonnet、Haiku等模型,兼容流式响应、工具调用、图像发送和交错思考

行业启示

  • API聚合层价值凸显:多提供商统一接入方案可降低开发者对单一厂商的依赖,提升系统韧性和成本可控性
  • 免费/低成本AI访问需求旺盛:1.3B+月免费token的使用量表明市场对降低AI使用门槛有强烈需求
  • 合规边界管理成为关键:项目强调遵循各提供商服务条款并自动移除违规集成,反映AI代理层需在功能与合规间取得平衡

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Claude Claude Open Source 开源 LLM 大模型 Code Generation 代码生成 Programming 编程