Local proxy connecting coding agents to OpenAI-compatible AI providers
pip install free-claude-code==6.16.28 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 enable RTK + Headroom token optimization for supported agents.
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.
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.
Provider modals support numbered API keys. Use Add key, remove rows, or drag their handles to reorder them. FCC uses key 1.
For another API endpoint, open Providers → Custom providers → Add provider. Enter its API base URL, optional keys, 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.
FCC automatically discovers models from running local servers at startup. If you start a server later, click Refresh models in Admin to add its models to the picker.
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.
Provider cards show the checked endpoint and response time, with a useful message when a local server is unavailable. After starting the server or correcting its settings, click Test to refresh its models.
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.
In Admin UI → Model Config, add Fallback Models in the order FCC should try them if the selected model fails. Each fallback has its own reasoning effort: Inherit, Off, From client, Low, Medium, High, X-High, or Max.
Choose a model, effort, and API key number in the bottom row, then click +. Key 1, Key 2, and so on refer to the current numbered keys in that provider's settings. Edit the selections in place, drag the handle to change the order, or click the red trash button to remove a fallback.
Inherit keeps the original request's resolved reasoning setting. From client uses the effort or token budget sent by your coding agent, bypassing the global or tier setting. You can select the same model with another key number.
Open Admin UI → Model Config → Model Routing and choose an effort beside each model. Default Effort starts at From client. Fable, Opus, Sonnet, and Haiku start at Inherit.
FCC launchers automatically start the server.
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.
To complete Claude Code onboarding separately, open Admin UI → Integrations → Claude Code onboarding and click Complete onboarding. Connecting Claude Code in VS Code also completes onboarding.
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 The update installs the checked stable FCC release with its matching installer.
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.
Stop every running FCC command and quit connected desktop/editor apps 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.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




