Free Claude Code is a middleware that routes Claude Code's Anthropic API calls to various providers, enabling free usage of Claude Code without an Anthropic API key.
Source: Official README and linked documentation View on GitHub →This project is being discussed because its unique approach of providing free access to Claude Code by routing through alternative providers. It addresses the pain point of high costs associated with Anthropic API usage and fills the gap for users seeking cost-effective AI tools. The project differs through its ability to integrate multiple providers and its ease of use with minimal setup.
Source: Official README and linked documentationRoutes Anthropic API calls to free or low-cost providers like NVIDIA NIM, OpenRouter, DeepSeek, LM Studio, and llama.cpp, allowing for free usage of Claude Code.
Source: Official README and linked documentationSimple configuration through environment variables, requiring no modifications to Claude Code CLI or VSCode extension.
Source: Official README and linked documentationSupports multiple providers, including NVIDIA NIM, OpenRouter, DeepSeek, LM Studio, and llama.cpp, offering flexibility in choosing the best service for different models.
Source: Official README and linked documentationEnables routing of specific Claude models to different providers, allowing for optimized performance and cost efficiency.
Source: Official README and linked documentationParses special tags for reasoning and tool calls, enhancing the functionality of Claude Code.
Source: Official README and linked documentationAutomatically parses tool calls from model outputs into structured data, improving the usability of Claude Code outputs.
Source: Official README and linked documentationIntercepts and handles trivial API calls locally to save quota and reduce latency.
Source: Official README and linked documentationImplements proactive throttling and reactive backoff strategies to manage API usage effectively.
Source: Official README and linked documentationSupports remote coding with features like tree-based threading, session persistence, and live progress tracking.
Source: Official README and linked documentationPrevents runaway subagents by enforcing background execution control.
Source: Official README and linked documentationCleanly designed with abstract base classes for easy addition of new providers or platforms.
Source: Official README and linked documentationThe architecture is modular, with distinct components for API routing, request optimization, and provider integration. It uses a combination of design patterns like the Factory Method for provider creation and the Strategy pattern for rate limiting. Data flows through a series of handlers and processors, with key technical decisions focusing on flexibility and performance optimization.
Source: Official repository tree and dependency filesfastapiuvicornhttpxmarkdown-it-pypydanticpython-dotenvtiktokenpython-telegram-botdiscord.pyloguru1. Developers seeking cost-effective AI tools for their projects. 2. Users who want to experiment with Claude Code without incurring API costs. 3. Individuals or organizations looking to integrate Claude Code into their workflows without relying on Anthropic's API.
Source: Official README and linked documentationNot enough information.
Source: Official releasesFree Claude Code is a tool for developers and users looking to use Claude Code's capabilities without the associated costs. Its modular design and support for multiple providers make it a configurable and practical solution for various AI integration needs.