█

AI/TLDR

Free Claude Code

Point Claude Code and nine other agent CLIs at free, paid or local model providers

Gateways & RoutingOpen source
Updated
8 Mar 2026
Language
Python
License
MIT

What's new

8 Mar 2026

Covered by AI/TLDR: a drop-in local proxy that routes Claude Code and other agent CLIs to free providers including NVIDIA NIM, OpenRouter, DeepSeek, LM Studio and llama.cpp, with no vendor API key required.

Overview

Free Claude Code — FCC — is a local proxy and admin UI that sits between a coding agent CLI and whichever model provider you want it to talk to. It advertises 50 providers the project describes as terms-of-service friendly, covering free tiers, paid APIs, subscriptions and local servers, and states that it removes an integration if the provider stops permitting it. The README is explicit that the project is independent and not affiliated with or endorsed by Anthropic.

One installation serves ten agent CLIs — Claude Code, Codex, Pi, OpenCode, Cline, Hermes, DeepSeek Harness, Grok Build, Muse Code and Aider — each launched through its own wrapper command (`fcc-claude`, `fcc-codex`, `fcc-pi`, and so on) so the agent starts already pointed at the proxy. Agent behaviour is meant to survive the detour: streaming, tool calls, native interleaved thinking, image input, and independent routing of the Fable, Opus, Sonnet and Haiku slots to different compatible models.

Two other features are aimed at long sessions rather than at cost. When a provider exhausts its retries, FCC moves the turn to the next configured model instead of making you restart it, and it can cut terminal-output tokens using the optional RTK filter plus five built-in optimisations that answer quota probes, command-prefix detection, titles, suggestions and filepath lookups without calling a provider at all. Free-tier availability and limits belong to each provider and can change.

What it does

  • One local proxy in front of 50 providers — free tiers, paid APIs, subscriptions and local servers — chosen from a searchable admin UI
  • Ten supported agent CLIs, each with its own launcher: Claude Code, Codex, Pi, OpenCode, Cline, Hermes, DeepSeek Harness, Grok Build, Muse Code and Aider
  • Automatic failover to the next configured model when a provider's retries are exhausted, without restarting the turn
  • Optional RTK terminal-output filtering plus five built-in optimisations that answer routine agent requests locally
  • Agent capabilities preserved end to end: streaming, tool use, native interleaved thinking, image input, and per-slot routing for Fable, Opus, Sonnet and Haiku
  • Browser sessions for Codex with real-time and background runs, plus access from VS Code, JetBrains, the Codex App, Discord and Telegram
  • Voice input through local Whisper or NVIDIA NIM transcription
  • Optional bearer-token authentication on the local proxy

Getting started

FCC installs with a single script that also offers to install the agent CLIs you want and the optional RTK filter. Re-running the same script updates it.

Install or update

Run the installer for your platform. On Windows use the PowerShell form. Both scripts can be read in the repository before you run them.

bashbash
curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh

Start the server

On macOS and Windows, open Free Claude Code from the Applications folder or Start menu and use the tray icon to reach Admin. On Linux, start the server from a terminal and keep it open.

bashbash
fcc-server

Configure a provider

FCC opens the Admin UI once the server is running. Create an API key at build.nvidia.com/settings/api-keys, paste it into NVIDIA_NIM_API_KEY, leave MODEL on the default or pick another from the dropdown, and click Apply. Enable Proxy Authentication if you want a bearer token in front of the local proxy.

texttext
nvidia_nim/nvidia/nemotron-3-super-120b-a12b

Launch an agent through FCC

Each supported CLI has its own wrapper command, which starts the agent already routed through the proxy.

bashbash
fcc-claude
fcc-codex
fcc-pi
fcc-opencode
fcc-cline
fcc-hermes

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reach for it when you want to keep using a coding agent CLI without an API key from that agent's vendor
  • Reach for it to keep a long session alive across provider outages, since a failed turn moves to the next configured model instead of restarting
  • Reach for it when a local llama.cpp or LM Studio server should back the same CLI you use against hosted providers
  • Reach for it to cut terminal-output tokens on agent runs that read a lot of command output

How Free Claude Code compares

Free Claude Code alongside other open-source gateways & routing tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
OmniRoute★ 81.6kA local-first AI gateway that fronts hundreds of model providers with one OpenAI-compatible endpoint, quota-aware auto-fallback, many routing strategies and prompt compression.
Free Claude Code★ 63.8kPoint Claude Code and nine other agent CLIs at free, paid or local model providers
LiteLLM★ 62.1kA Python SDK and proxy server that gives one OpenAI-compatible API to 100+ LLM providers, with cost tracking, budgets, fallbacks, rate limiting, and an admin UI.
Kong Gateway★ 44.3kA Lua/NGINX API gateway whose AI Gateway plugins put one universal endpoint in front of OpenAI, Anthropic, Gemini, Bedrock and other providers, with semantic routing, caching and MCP traffic governance.
9Router★ 31.5kLocal OpenAI-compatible router for coding CLIs that tracks per-provider quota, falls back from subscription to cheap to free models, and compresses tool results to cut tokens.
magpie★ 22.8kMenu bar app and local gateway that lets Claude Code, Codex, Gemini CLI and dozens of other coding agents run on any provider's model, with routing groups that fail over across accounts when a quota runs out.
OpenCodex★ 17.9kLocal proxy that translates the Codex Responses API to 40+ providers, so Codex CLI, Claude Code and Grok Build can run on any model, with routing combos, failover and account pooling.
Apache APISIX★ 17.3kA cloud-native API gateway whose AI plugins add multi-provider LLM proxying, load balancing, retries and fallbacks, token-based rate limiting, and content moderation.