Alishahryar1/free-claude-code

Use Claude Code, Codex, Pi, and OpenCode and more for free (1.3B+ free tokens) from your terminal, app, IDE, or phone like OpenClaw (voice supported + ToS friendly)

What it solves

Free Claude Code (FCC) provides a unified, open-source proxy layer that allows users to run various coding agents (such as Claude Code, Aider, and Cline) using a wide array of free, paid, or local LLM providers. It solves the problem of provider fragmentation and cost by aggregating over 50 providers and offering automatic failover to ensure coding sessions aren't interrupted by outages.

How it works

FCC acts as a local server (fcc-server) and proxy that intercepts requests from coding agents and routes them to the configured LLM provider. It includes an Admin UI for managing API keys and model selection. To optimize token usage, it can integrate with RTK to filter terminal output and uses internal optimizations to handle common tasks like quota probes and filepaths without calling the provider.

Who it’s for

Developers who use AI coding agents and want to access multiple LLM providers (including free tiers) through a single interface, or those who prefer running local models via Ollama, LM Studio, or llama.cpp while maintaining compatibility with agents designed for specific APIs.

Highlights

  • Massive Provider Support: Integrates with over 50 providers, including NVIDIA NIM, OpenRouter, Groq, and DeepSeek.
  • Automatic Failover: Automatically switches to the next configured model in a fallback list if the primary provider fails.
  • Multi-Agent Compatibility: Works with 10 different coding agents including Claude Code, Codex, and Aider.
  • Token Optimization: Reduces terminal-output tokens by up to 90% via RTK filters and built-in optimizations.
  • Flexible Routing: Allows independent routing for different Claude model tiers (Fable, Opus, Sonnet, Haiku).
  • Voice Integration: Supports voice-to-code using local Whisper or NVIDIA NIM transcription.

Related

  • Project
  • Project
  • Project
  • Project
  • Project