Local proxy connecting coding agents to OpenAI-compatible AI providers
pip install free-claude-code==6.4.0 Copy PIP instructions
Quick Start · Providers · Clients · Integrations · Manage
Independent open-source project. Not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.
Free-tier availability and limits are controlled by each provider and may change.
curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh Windows PowerShell:
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1"))) When prompted, choose at least one coding agent and optionally RTK. You can review the installers before running them: install.sh and install.ps1.
Open Free Claude Code from your desktop or Start menu.
fcc-server FCC opens the Admin UI after starting. On Windows and macOS, use the tray or menu-bar icon to open Admin, restart, or quit. When using fcc-server, keep its terminal open.
To protect the local proxy with a bearer token, enable Proxy Authentication in Admin.
fcc-opencode To upgrade from OpenCode 1, close OpenCode and rerun the FCC installer with OpenCode selected. For npm or other package-manager installations, follow OpenCode's migration instructions first. For npm v1, run npm uninstall -g opencode-ai, then rerun the FCC installer.
RTK integration is temporarily unavailable for OpenCode 2. RTK continues to work with the other supported agents.
Use fcc-opencode for coding and sessions. Use plain opencode for commands such as upgrades, service management, ACP, and MCP setup.
Select an FCC model from Claude Code's native /model picker.
Optional: add an ordered Fallback Models list under Model Config. It applies to every connected client. A failed request may reach and consume usage from more than one provider before succeeding.
For another API endpoint, open Providers → Custom providers → Add provider. Enter its API base URL, optional key, and API format. Leave Model IDs empty to discover models automatically, or enter one upstream model ID per line. Save, then select a model in Model Config.
Start LM Studio's local server, load a tool-capable model, and use the model identifier shown by LM Studio with the lmstudio/ prefix. The default URL is http://localhost:1234/v1.
Start llama-server with its OpenAI-compatible Chat Completions API and enough context for the model. Use the local model ID with the llamacpp/ prefix. LLAMACPP_BASE_URL defaults to http://localhost:8080/v1.
ollama pull llama3.1 ollama serve Use the tag shown by ollama list with the ollama/ prefix. OLLAMA_BASE_URL defaults to http://localhost:11434.
MODEL is the fallback for every request. Select a model for MODEL_FABLE, MODEL_OPUS, MODEL_SONNET, or MODEL_HAIKU to override an individual Claude Code tier. Select None to use MODEL.
Open Admin UI → Model Config → Reasoning and select the behavior you want.
Providers that do not support a selected control retain their own behavior.
For editor and app integrations, install the client, start FCC, then open Admin UI → Integrations and click Connect on its card.
Reload VS Code or restart the app/IDE after connecting. In Codex and Claude Desktop, select an FCC model from the model picker. Reload or restart the client when FCC reports updated settings. Use Disconnect on the same card to remove the integration.
Run FCC on the same computer and in the same user environment as the client you are configuring.
Configure integrations from Admin UI → Messaging, then click Apply.
NVIDIA NIM transcription support is included in every installation. In Admin UI → Messaging → Voice, enable voice notes, select nvidia_nim, and choose a supported model. Configure your NVIDIA NIM API key on the Providers page.
For local Whisper on CPU or CUDA, re-run the installer with the local voice option:
Run fcc-server --version to check the installed version without starting FCC.
fcc-update If FCC is already up to date, the command stops without running the installer. Otherwise, it shows the installed and available versions before updating. If the version check fails, retry the command.
To reinstall FCC or change optional components while already up to date, run the installer directly.
For local voice support, include --voice-local (macOS/Linux) or -VoiceLocal (Windows), plus your --torch-backend or -TorchBackend option if used.
If your installation does not have fcc-update yet, run the installer once to add it.
Stop every running FCC command before uninstalling.
fcc-doctor Report bugs or request features Contributing guide License GNU Affero General Public License version 3 only (AGPL-3.0-only). See LICENSE for details.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




