Alishahryar1/free-claude-codePublic

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

AI summary: A local API gateway that intercepts and routes requests from AI coding agents to alternative local or cloud LLMs.

Stars
56.5K
+164 today
Forks
9K
Watchers
381
Open issues
263
Open PRs
131
Contributors
~49
Commits
1.1K
Branches
2

PythonOtherCreated Jan 28, 2026Last push 1d agoLatest release v6.4.4+560 stars this week+3.5K this month

Quick answers

What is free-claude-code?
A local API gateway that intercepts and routes requests from AI coding agents to alternative local or cloud LLMs.
What does free-claude-code do?
Free-Claude-Code functions as a transparent local proxy server that intercepts API requests natively dispatched by coding assistants (like Claude Code) and routes them to user-configured backends. It translates Anthropic-style tool calling syntax into standard OpenAI-compatible JSON payloads, allowing users to seamlessly swap the underlying model without modifying the client software. The proxy injects a custom catalog directly into the agent's model picker and implements local optimizations to save tokens, such as handling filepath extraction and quota probes on the machine rather than forwarding them to expensive APIs. This grants developers the flexibility to run complex coding tasks against free, locally hosted models or alternative cloud providers.
Who is free-claude-code for?
Developers, AI engineers, and privacy-conscious teams looking to optimize their usage of AI coding assistants by utilizing alternative local models.
How do I get started with free-claude-code?
curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh
How popular is free-claude-code on GitHub?
Alishahryar1/free-claude-code has 56,450 stars and 9,029 forks on GitHub, and gained 560 stars in the last 7 days.
What license does free-claude-code use?
Alishahryar1/free-claude-code is released under the Other license.

Star history

since Jul 28, 2026
020K40KJul 2026Aug 2026Sep 2026Oct 2026
56.5K stars as of Oct 3, 2026. Measured daily since Jul 28, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-10-04: 0 commits2025-10-05: 0 commits2025-10-06: 0 commits2025-10-07: 0 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 0 commits2025-10-15: 0 commits2025-10-16: 0 commits2025-10-17: 0 commits2025-10-18: 0 commits2025-10-19: 0 commits2025-10-20: 0 commits2025-10-21: 0 commits2025-10-22: 0 commits2025-10-23: 0 commits2025-10-24: 0 commits2025-10-25: 0 commits2025-10-26: 0 commits2025-10-27: 0 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 0 commits2025-11-01: 0 commits2025-11-02: 0 commits2025-11-03: 0 commits2025-11-04: 0 commits2025-11-05: 0 commits2025-11-06: 0 commits2025-11-07: 0 commits2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 30 commits2026-01-29: 53 commits2026-01-30: 32 commits2026-01-31: 10 commits2026-02-01: 1 commit2026-02-02: 3 commits2026-02-03: 17 commits2026-02-04: 2 commits2026-02-05: 7 commits2026-02-06: 0 commits2026-02-07: 1 commit2026-02-08: 9 commits2026-02-09: 2 commits2026-02-10: 0 commits2026-02-11: 1 commit2026-02-12: 1 commit2026-02-13: 31 commits2026-02-14: 33 commits2026-02-15: 75 commits2026-02-16: 28 commits2026-02-17: 12 commits2026-02-18: 25 commits2026-02-19: 18 commits2026-02-20: 2 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 0 commits2026-02-27: 3 commits2026-02-28: 7 commits2026-03-01: 24 commits2026-03-02: 1 commit2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 2 commits2026-03-06: 3 commits2026-03-07: 2 commits2026-03-08: 6 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 3 commits2026-03-12: 0 commits2026-03-13: 0 commits2026-03-14: 0 commits2026-03-15: 2 commits2026-03-16: 0 commits2026-03-17: 0 commits2026-03-18: 0 commits2026-03-19: 0 commits2026-03-20: 0 commits2026-03-21: 0 commits2026-03-22: 0 commits2026-03-23: 1 commit2026-03-24: 0 commits2026-03-25: 0 commits2026-03-26: 2 commits2026-03-27: 7 commits2026-03-28: 0 commits2026-03-29: 0 commits2026-03-30: 1 commit2026-03-31: 0 commits2026-04-01: 0 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 0 commits2026-04-11: 0 commits2026-04-12: 0 commits2026-04-13: 0 commits2026-04-14: 0 commits2026-04-15: 0 commits2026-04-16: 0 commits2026-04-17: 0 commits2026-04-18: 3 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 1 commit2026-04-23: 5 commits2026-04-24: 21 commits2026-04-25: 7 commits2026-04-26: 7 commits2026-04-27: 5 commits2026-04-28: 2 commits2026-04-29: 1 commit2026-04-30: 14 commits2026-05-01: 0 commits2026-05-02: 0 commits2026-05-03: 1 commit2026-05-04: 0 commits2026-05-05: 3 commits2026-05-06: 4 commits2026-05-07: 0 commits2026-05-08: 2 commits2026-05-09: 4 commits2026-05-10: 25 commits2026-05-11: 4 commits2026-05-12: 1 commit2026-05-13: 3 commits2026-05-14: 0 commits2026-05-15: 1 commit2026-05-16: 7 commits2026-05-17: 12 commits2026-05-18: 2 commits2026-05-19: 0 commits2026-05-20: 7 commits2026-05-21: 1 commit2026-05-22: 5 commits2026-05-23: 11 commits2026-05-24: 1 commit2026-05-25: 0 commits2026-05-26: 0 commits2026-05-27: 0 commits2026-05-28: 0 commits2026-05-29: 3 commits2026-05-30: 0 commits2026-05-31: 10 commits2026-06-01: 7 commits2026-06-02: 3 commits2026-06-03: 1 commit2026-06-04: 0 commits2026-06-05: 4 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 0 commits2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 0 commits2026-06-12: 0 commits2026-06-13: 0 commits2026-06-14: 0 commits2026-06-15: 0 commits2026-06-16: 10 commits2026-06-17: 6 commits2026-06-18: 8 commits2026-06-19: 2 commits2026-06-20: 1 commit2026-06-21: 0 commits2026-06-22: 0 commits2026-06-23: 0 commits2026-06-24: 0 commits2026-06-25: 0 commits2026-06-26: 0 commits2026-06-27: 7 commits2026-06-28: 5 commits2026-06-29: 1 commit2026-06-30: 3 commits2026-07-01: 0 commits2026-07-02: 0 commits2026-07-03: 3 commits2026-07-04: 9 commits2026-07-05: 9 commits2026-07-06: 4 commits2026-07-07: 6 commits2026-07-08: 2 commits2026-07-09: 2 commits2026-07-10: 7 commits2026-07-11: 18 commits2026-07-12: 10 commits2026-07-13: 6 commits2026-07-14: 5 commits2026-07-15: 7 commits2026-07-16: 5 commits2026-07-17: 8 commits2026-07-18: 3 commits2026-07-19: 1 commit2026-07-20: 6 commits2026-07-21: 4 commits2026-07-22: 0 commits2026-07-23: 1 commit2026-07-24: 5 commits2026-07-25: 6 commits2026-07-26: 2 commits2026-07-27: 3 commits2026-07-28: 0 commits2026-07-29: 3 commits2026-07-30: 2 commits2026-07-31: 1 commit2026-08-01: 2 commits2026-08-02: 2 commits2026-08-03: 2 commits2026-08-04: 1 commit2026-08-05: 1 commit2026-08-06: 2 commits2026-08-07: 1 commit2026-08-08: 6 commits2026-08-09: 4 commits2026-08-10: 1 commit2026-08-11: 2 commits2026-08-12: 7 commits2026-08-13: 5 commits2026-08-14: 12 commits2026-08-15: 9 commits2026-08-16: 3 commits2026-08-17: 5 commits2026-08-18: 6 commits2026-08-19: 2 commits2026-08-20: 5 commits2026-08-21: 11 commits2026-08-22: 6 commits2026-08-23: 4 commits2026-08-24: 4 commits2026-08-25: 3 commits2026-08-26: 2 commits2026-08-27: 8 commits2026-08-28: 6 commits2026-08-29: 6 commits2026-08-30: 12 commits2026-08-31: 0 commits2026-09-01: 2 commits2026-09-02: 1 commit2026-09-03: 1 commit2026-09-04: 8 commits2026-09-05: 6 commits2026-09-06: 4 commits2026-09-07: 11 commits2026-09-08: 5 commits2026-09-09: 0 commits2026-09-10: 0 commits2026-09-11: 13 commits2026-09-12: 11 commits2026-09-13: 4 commits2026-09-14: 1 commit2026-09-15: 4 commits2026-09-16: 7 commits2026-09-17: 2 commits2026-09-18: 3 commits2026-09-19: 7 commits2026-09-20: 5 commits2026-09-21: 4 commits2026-09-22: 0 commits2026-09-23: 0 commits2026-09-24: 10 commits2026-09-25: 8 commits2026-09-26: 9 commits2026-09-27: 5 commits2026-09-28: 0 commits2026-09-29: 0 commits2026-09-30: 0 commits2026-10-01: 0 commits2026-10-02: 0 commits2026-10-03: 0 commits
1,097 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    56,450 stars

  • Very active

    1,097 commits in 52 weeks

  • Continuous integration

    Automated checks passing

  • Repeat trending

    24 trending appearances

What free-claude-code does

Free-Claude-Code functions as a transparent local proxy server that intercepts API requests natively dispatched by coding assistants (like Claude Code) and routes them to user-configured backends. It translates Anthropic-style tool calling syntax into standard OpenAI-compatible JSON payloads, allowing users to seamlessly swap the underlying model without modifying the client software. The proxy injects a custom catalog directly into the agent's model picker and implements local optimizations to save tokens, such as handling filepath extraction and quota probes on the machine rather than forwarding them to expensive APIs. This grants developers the flexibility to run complex coding tasks against free, locally hosted models or alternative cloud providers.

Developers, AI engineers, and privacy-conscious teams looking to optimize their usage of AI coding assistants by utilizing alternative local models.

  • Local proxy routing: Intercepts and redirects API requests from coding assistants to alternative local or cloud LLM providers.
  • Syntax translation: Transparently converts proprietary Anthropic tool calling formats into standard OpenAI-compatible JSON structures.
  • Model catalog injection: Dynamically overrides the native model picker in client tools by injecting the available proxied models.
  • Token saving optimizations: Executes command-prefix detection and title generation locally to reduce expensive API token consumption.
  • Extensive agent compatibility: Natively supports streaming, reasoning loops, and image inputs for compatible proxy models.

Where teams use it

Cost-Effective AI Coding

Developers use free, local models for simple boilerplate generation and switch to expensive cloud APIs only for complex logic.

Privacy-Focused Development

Enterprise teams run their coding assistants entirely against locally hosted LLMs to keep proprietary code highly secure.

Model Experimentation

AI researchers easily swap out the underlying foundational models in their IDEs to directly compare code generation quality.

Centralized Key Management

Organizations manage API access for multiple developers and tools from a single local proxy instance.

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

README

main branch

Independent open-source project. Not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.

What You Get

  • 56 ToS-friendly providers. 1.3B+ free tokens every month. Use free, paid, subscription, and local models from one searchable UI without putting your account at risk. FCC follows provider terms and removes integrations if they stop being allowed.
  • 11 coding agents. One model catalog. Run Claude Code, Codex, Pi, OpenCode, Cline, Hermes, DeepSeek Harness, Grok Build, Muse Code, Aider, or VS Code Chat with your FCC models.
  • Keep coding through provider outages. After retries are exhausted, FCC automatically tries your next configured model without making you restart the turn. This works across every client.
  • Up to 90% fewer terminal-output tokens. Optional RTK filters common command output, while five FCC optimizations handle quota probes, command-prefix detection, titles, suggestions, and filepaths without calling a provider.
  • Native Code sessions in your browser. Choose a folder and run Codex in the browser with real-time and background support. Freely switch providers/models in the same session. Support for switching harnesses in the same session coming soon!
  • Terminal, desktop, IDE, or phone. Work through native launchers, VS Code, Codex App, JetBrains, Discord, or Telegram.
  • Voice notes in. Code out. Talk to your agent using local Whisper or NVIDIA NIM transcription.
  • Agent capabilities stay intact. Stream responses, use tools, preserve native interleaved thinking for maximum performance, send images, and route Fable, Opus, Sonnet, and Haiku independently with compatible models.

Free-tier availability and limits are controlled by each provider and may change.

Claude Code running with Free Claude Code

Claude Code running with FCC.

Native Codex browser session in FCC, showing model controls and a repository exploration

A native Codex session in FCC's browser UI.

Quick Start

1. Install

macOS/Linux:

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.

2. Start FCC

Windows

Open Free Claude Code from your desktop or Start menu.

macOS

Open Free Claude Code from your desktop or Applications folder.

Linux

Run:

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.

3. Configure NVIDIA NIM

  1. Create an API key at build.nvidia.com/settings/api-keys.
  2. Open the Admin UI URL from the server log.
  3. Paste the key into NVIDIA_NIM_API_KEY.
  4. Leave MODEL on the default nvidia_nim/nvidia/nemotron-3-super-120b-a12b, or search the model dropdown and select another model.
  5. Click Apply.

To protect the local proxy with a bearer token, enable Proxy Authentication in Admin.

Free Claude Code Admin UI

4. Run Your Coding Agent

Claude Code:

fcc-claude

Codex:

fcc-codex

Pi:

fcc-pi

OpenCode 2:

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.

Cline:

fcc-cline

Hermes:

fcc-hermes

DeepSeek Harness Web:

fcc-dsh

Grok Build:

fcc-grok

Muse Code:

fcc-muse

Aider:

fcc-aider

Claude Code model picker showing FCC models

Select an FCC model from Claude Code's native /model picker.

Choose A Provider

  1. Open a provider link below for its key, models, or setup instructions.
  2. In the Admin UI, configure the listed setting. For OpenAI / ChatGPT subscription access, use Providers → OAuth providers instead.
  3. Search the MODEL dropdown and select a model. If the provider cannot list models, enter <provider-id>/<exact-provider-model-id> manually.
  4. Click Apply.

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.

Provider catalog
Provider Admin UI setting Example MODEL
NVIDIA NIM NVIDIA_NIM_API_KEY nvidia_nim/nvidia/nemotron-3-super-120b-a12b
OpenRouter OPENROUTER_API_KEY open_router/openrouter/free
Groq GROQ_API_KEY groq/llama-3.3-70b-versatile
ClinePass CLINE_API_KEY cline_pass/cline-pass/kimi-k3
OpenAI / ChatGPT Connect ChatGPT in the Admin UI openai/<model-id>
OpenAI API OPENAI_API_KEY openai_api/gpt-5.6-sol
GitHub Copilot Connect GitHub Copilot in the Admin UI github_copilot/<model-id>
xAI (Grok) XAI_API_KEY xai/grok-4.5
QwenCloud Token Plan QWENCLOUD_API_KEY qwencloud/qwen3.7-plus
QwenCloud Coding Plan QWENCLOUD_CODING_API_KEY qwencloud_coding/qwen3.7-plus
Together AI TOGETHER_API_KEY together/zai-org/GLM-5.2
DeepInfra DEEPINFRA_API_KEY deepinfra/deepseek-ai/DeepSeek-V4-Flash
SiliconFlow SILICONFLOW_API_KEY siliconflow/Qwen/Qwen3-32B
Nebius Token Factory NEBIUS_API_KEY nebius/Qwen/Qwen3-30B-A3B
Chutes CHUTES_API_KEY chutes/Qwen/Qwen3-32B-TEE
Featherless AI FEATHERLESS_API_KEY featherless/Qwen/Qwen3-32B
Agnes AI AGNES_API_KEY agnes/agnes-2.0-flash
ZenMux ZENMUX_API_KEY zenmux/deepseek/deepseek-v4-flash-free
W&B Inference WANDB_API_KEY wandb/openai/gpt-oss-20b
Azure OpenAI AZURE_OPENAI_API_KEY and AZURE_OPENAI_BASE_URL azure_openai/<deployment-name>
Google AI Studio (Gemini) GEMINI_API_KEY gemini/models/gemini-3.1-flash-lite
Google Vertex AI VERTEX_PROJECT_ID + ADC vertex/google/gemini-3.5-flash
DeepSeek DEEPSEEK_API_KEY deepseek/deepseek-chat
Mistral La Plateforme MISTRAL_API_KEY mistral/devstral-small-latest
Mistral Codestral CODESTRAL_API_KEY mistral_codestral/codestral-latest
OpenCode Zen OPENCODE_API_KEY opencode_zen/gpt-5.3-codex
OpenCode Go OPENCODE_API_KEY opencode_go/minimax-m2.7
Vercel AI Gateway AI_GATEWAY_API_KEY vercel/openai/gpt-5.5
Amazon Bedrock AWS_BEARER_TOKEN_BEDROCK bedrock/openai.gpt-oss-120b
Hugging Face Inference Providers HUGGINGFACE_API_KEY huggingface/Qwen/Qwen3-Coder-480B-A35B-Instruct:fastest
Cohere COHERE_API_KEY cohere/command-a-plus-05-2026
Wafer WAFER_API_KEY wafer/DeepSeek-V4-Pro
Kimi API KIMI_API_KEY kimi/kimi-k2.5
Kimi Code KIMI_CODE_API_KEY kimi_code/k3
MiniMax MINIMAX_API_KEY minimax/MiniMax-M3
Cerebras Inference CEREBRAS_API_KEY cerebras/gpt-oss-120b
SambaNova SAMBANOVA_API_KEY sambanova/Meta-Llama-3.3-70B-Instruct
Kilo.ai KILO_API_KEY kilo/kilo-auto/free
Fireworks AI FIREWORKS_API_KEY fireworks/accounts/fireworks/models/llama-v3p3-70b-instruct
Novita AI NOVITA_API_KEY novita/deepseek/deepseek-v4-flash-0731
Cloudflare Workers AI CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID cloudflare/@cf/moonshotai/kimi-k2.6
Z.ai Coding Plan ZAI_API_KEY zai/glm-5.2
Z.ai API (pay as you go) ZAI_API_KEY zai_api/glm-4.7-flash
TokenRouter TOKENROUTER_API_KEY tokenrouter/moonshotai/kimi-k3-free
NaraRoute NARAROUTE_API_KEY nararoute/kimi-k3-free
Poolside AI POOLSIDE_API_KEY poolside/poolside/laguna-s-2.1
LLM7.io LLM7_API_KEY llm7/default
Scaleway SCW_SECRET_KEY scaleway/deepseek/deepseek-v4-flash
Lightning AI LIGHTNING_API_KEY lightning/lightning-ai/Qwen3.8-27B
Experiential Labs EXPLABS_API_KEY experiential/union-alpha
Cheaper Inference CHEAPER_INFERENCE_API_KEY cheaperinference/gpt-5.4-mini
OrcaRouter ORCAROUTER_API_KEY orcarouter/deepseek/deepseek-v4-flash-free
Ollama Cloud OLLAMA_API_KEY ollama_cloud/qwen3-coder:480b
LM Studio LM_STUDIO_BASE_URL lmstudio/<model-id>
llama.cpp LLAMACPP_BASE_URL llamacpp/<model-id>
Ollama OLLAMA_BASE_URL ollama/<model-tag>
Provider-specific setup
  • OpenAI / ChatGPT uses your ChatGPT subscription rather than an API key. Connect from Providers → OAuth providers → OpenAI / ChatGPT → Connect in the Admin UI and finish signing in through your browser. Restart an already-running agent after connecting.
  • OpenAI API uses a separate Platform API key. Enter it under Providers → Cloud providers → OpenAI API → Configure. The model list may include IDs that cannot handle coding requests. Choose a text-generation model.
  • GitHub Copilot uses your signed-in GitHub account and subscription. Install Copilot CLI 1.0.83 on PATH, then choose Providers → OAuth providers → GitHub Copilot → Connect. Finish signing in, then select a github_copilot/<model-id> from the model picker. Available models and quotas depend on your subscription and organization policies. Restart an already-running agent after connecting.
  • Azure OpenAI uses the deployment names from your resource. Set AZURE_OPENAI_BASE_URL to its complete v1 endpoint, such as https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/, and select a deployment that supports Chat Completions. Enter the deployment name as a custom model slug if it does not appear in the model dropdown.
  • Mistral Codestral uses a separate key from Mistral La Plateforme.
  • Kimi Code subscription keys use kimi_code/. Kimi API credit keys use kimi/. Kimi Code plans are for personal interactive coding-agent use under Kimi's community guidelines.
  • QwenCloud Coding Plan keys use qwencloud_coding/. QwenCloud Token Plan keys use qwencloud/. The keys and endpoints are not interchangeable. Coding Plan is for local, personal, interactive coding-agent use under the Coding Plan terms.
  • OpenCode Zen and OpenCode Go share OPENCODE_API_KEY but use the explicit opencode_zen/ and opencode_go/ model prefixes.
  • For Amazon Bedrock, set BEDROCK_BASE_URL to the URL for the same region as the API key and select one of the listed models.
  • Vertex AI uses Google Application Default Credentials instead of an API key. Locally, run gcloud auth application-default login once. Service-account files and attached service accounts also work. Set VERTEX_PROJECT_ID, and optionally change VERTEX_LOCATION from its global default.
  • Cloudflare requires both its API token and account ID.
  • For Ollama Cloud, use the exact model IDs shown in the model picker. Local Ollama uses the separate ollama/ prefix.
  • Prefer tool-capable models for coding agents. Local models also need enough context for the agent's system prompt and tool definitions.
Local provider setup

LM Studio

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.

llama.cpp

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

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.

Optional model-tier routing

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.

Reasoning control

Open Admin UI → Model Config → Reasoning and select the behavior you want.

Selection Behavior
From client (default) Use the effort sent by your coding agent. If none is sent, keep the provider default.
Off Request reasoning to be disabled.
Low, Medium, High, X-High, or Max Override the client with the selected reasoning level.
Inherit (Fable, Opus, Sonnet, and Haiku only) Use the root Reasoning selection.

Providers that do not support a selected control retain their own behavior.

Connect Your Client

For editor and app integrations, install the client, start FCC, then open Admin UI → Integrations and click Connect on its card.

  • Claude Code in VS Code: Install the Claude Code extension.
  • VS Code Chat: Install the latest VS Code, connect, and select an FCC model in its built-in Chat model picker.
  • Claude Desktop: Install Claude Desktop. Fully quit it before connecting or disconnecting, then reopen it. Disconnect returns to normal Claude sign-in.
  • Codex in VS Code and App: Install the Codex extension or Codex App.
  • Claude Code in JetBrains ACP: Install Claude Agent in JetBrains AI Assistant and start it once, then click Connect in FCC. Reopen the IDE, select Claude Code (FCC), and start a new chat. After JetBrains updates the agent, restart FCC before starting a new chat. Requires a local IDE in its standard installation locations.

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.

Optional Integrations

Configure integrations from Admin UI → Messaging, then click Apply.

Discord bot
  1. Create a bot in the Discord Developer Portal.
  2. Enable Message Content Intent and invite it with read, send, message-history, and Manage Messages permissions so /clear can remove user prompts.
  3. Set Messaging Platform to discord.
  4. Enter Discord Bot Token, Allowed Discord Channels, and an absolute Allowed Directory.
  5. Apply the settings and restart the server if requested.
Telegram bot
  1. Create a bot with @BotFather.
  2. Get your numeric user ID from @userinfobot. In groups, grant the bot permission to delete messages.
  3. Set Messaging Platform to telegram.
  4. Enter Telegram Bot Token, Allowed Telegram User ID, and an absolute Allowed Directory.
  5. Apply the settings and restart the server if requested.

Messaging commands

Usage Behavior
/stats Show session state.
Standalone /stop Cancel all work.
Reply with /stop Cancel only the selected request while other queued requests continue.
Standalone /clear Clear all FCC conversations and their messages in this chat.
Reply with /clear Delete the selected message and the chain of replies to it. Keep other conversations.
Voice notes

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:

macOS/Linux:

Local Whisper on CPU or CUDA:

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

Local Whisper with CUDA 13.0:

curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh -s -- --voice-local --torch-backend cu130

Windows PowerShell:

Local Whisper on CPU or CUDA:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1"))) -VoiceLocal

Local Whisper with CUDA 13.0:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1"))) -VoiceLocal -TorchBackend cu130

After installing local support, restart fcc-server. In Admin UI → Messaging → Voice, enable voice notes, select cpu or cuda, and choose the Whisper model. Local gated models need HUGGINGFACE_API_KEY.

Manage Your Installation

Run fcc-server --version to check the installed version without starting FCC.

Update

Stop all running FCC commands, then run:

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.

Muse Code on native Windows

To install or update only Muse Code:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install-muse.ps1")))

To remove the Muse Code copy installed by FCC, keeping its data:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/uninstall-muse.ps1")))

Uninstalling FCC leaves Muse Code installed.

Uninstall

Stop every running FCC command before uninstalling.

Removes

  • Free Claude Code, including its desktop launcher and commands
  • ~/.fcc/

Keeps

  • uv and Python
  • Your coding agents and RTK

macOS/Linux:

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

Windows PowerShell:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/uninstall.ps1")))

Project Links

For a problem after installation, run the command below and paste its output into your bug report. It also copies the JSON to your clipboard when available.

fcc-doctor

License

GNU Affero General Public License version 3 only (AGPL-3.0-only). See LICENSE for details.

View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Discussions

all 123

Releases and announcements

16 total
  1. v6.4.4v6.4.4Sep 27, 20263 downloads

    ## What's Changed * patch: Preserve provider protection across settings changes by @Alishahryar1 in https://github.com/Alishahryar1/free-claude-code/pull/1923 **Full Changelog**: https://github.com/Alishahryar1/free-claude-code/compare/v6.4.3...v6.4.4

  2. v6.4.3v6.4.3Sep 27, 20265 downloads

    ## What's Changed * patch: Fix Hermes installation on Windows by @Alishahryar1 in https://github.com/Alishahryar1/free-claude-code/pull/1922 **Full Changelog**: https://github.com/Alishahryar1/free-claude-code/compare/v6.4.2...v6.4.3

  3. v6.4.2v6.4.2Sep 27, 202686 downloads

    ## What's Changed * patch: Migrate messaging history to fcc.db by @Alishahryar1 in https://github.com/Alishahryar1/free-claude-code/pull/1919 **Full Changelog**: https://github.com/Alishahryar1/free-claude-code/compare/v6.4.1...v6.4.2

  4. v6.4.1v6.4.1Sep 27, 202617 downloads

    ## What's Changed * patch: Add OrcaRouter as an AI provider by @Tanishq-1 in https://github.com/Alishahryar1/free-claude-code/pull/1754 **Full Changelog**: https://github.com/Alishahryar1/free-claude-code/compare/v6.4.0...v6.4.1

  5. v6.4.0v6.4.0Sep 27, 202612 downloads

    ## What's Changed * minor: Add native VS Code Chat integration by @Alishahryar1 in https://github.com/Alishahryar1/free-claude-code/pull/1915 **Full Changelog**: https://github.com/Alishahryar1/free-claude-code/compare/v6.3.4...v6.4.0

Code frequency

additions and deletions
+83.9K-83.9KWeek of 2026-01-25: +20,403 linesWeek of 2026-01-25: -6,538 linesWeek of 2026-02-01: +3,037 linesWeek of 2026-02-01: -2,511 linesWeek of 2026-02-08: +10,428 linesWeek of 2026-02-08: -3,559 linesWeek of 2026-02-15: +31,648 linesWeek of 2026-02-15: -24,302 linesWeek of 2026-02-22: +1,292 linesWeek of 2026-02-22: -1,430 linesWeek of 2026-03-01: +1,600 linesWeek of 2026-03-01: -920 linesWeek of 2026-03-08: +911 linesWeek of 2026-03-08: -950 linesWeek of 2026-03-15: +7 linesWeek of 2026-03-15: -1 linesWeek of 2026-03-22: +332 linesWeek of 2026-03-22: -108 linesWeek of 2026-03-29: +7 linesWeek of 2026-03-29: -1 linesWeek of 2026-04-05: +0 linesWeek of 2026-04-05: -0 linesWeek of 2026-04-12: +826 linesWeek of 2026-04-12: -438 linesWeek of 2026-04-19: +16,524 linesWeek of 2026-04-19: -7,793 linesWeek of 2026-04-26: +12,591 linesWeek of 2026-04-26: -4,469 linesWeek of 2026-05-03: +4,457 linesWeek of 2026-05-03: -799 linesWeek of 2026-05-10: +5,955 linesWeek of 2026-05-10: -1,312 linesWeek of 2026-05-17: +4,977 linesWeek of 2026-05-17: -1,245 linesWeek of 2026-05-24: +647 linesWeek of 2026-05-24: -24 linesWeek of 2026-05-31: +4,198 linesWeek of 2026-05-31: -834 linesWeek of 2026-06-07: +0 linesWeek of 2026-06-07: -0 linesWeek of 2026-06-14: +20,960 linesWeek of 2026-06-14: -11,092 linesWeek of 2026-06-21: +9,190 linesWeek of 2026-06-21: -7,771 linesWeek of 2026-06-28: +7,369 linesWeek of 2026-06-28: -4,606 linesWeek of 2026-07-05: +83,913 linesWeek of 2026-07-05: -67,899 linesWeek of 2026-07-12: +12,318 linesWeek of 2026-07-12: -3,731 linesWeek of 2026-07-19: +9,199 linesWeek of 2026-07-19: -3,684 linesWeek of 2026-07-26: +8,720 linesWeek of 2026-07-26: -535 linesWeek of 2026-08-02: +3,175 linesWeek of 2026-08-02: -697 linesWeek of 2026-08-09: +13,913 linesWeek of 2026-08-09: -4,420 linesWeek of 2026-08-16: +19,321 linesWeek of 2026-08-16: -3,301 linesWeek of 2026-08-23: +50,834 linesWeek of 2026-08-23: -35,228 linesWeek of 2026-08-30: +38,639 linesWeek of 2026-08-30: -17,585 linesWeek of 2026-09-06: +29,253 linesWeek of 2026-09-06: -16,371 linesJan 25, 2026Sep 6, 2026
+426.6K lines added, -234.2K removed over the last year.

Commits per week

last 52 weeks
1600Week of 2025-10-04: 0 commitsWeek of 2025-10-11: 0 commitsWeek of 2025-10-18: 0 commitsWeek of 2025-10-25: 0 commitsWeek of 2025-11-01: 0 commitsWeek of 2025-11-09: 0 commitsWeek of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 125 commitsWeek of 2026-02-01: 31 commitsWeek of 2026-02-08: 77 commitsWeek of 2026-02-15: 160 commitsWeek of 2026-02-22: 10 commitsWeek of 2026-03-01: 32 commitsWeek of 2026-03-08: 9 commitsWeek of 2026-03-15: 2 commitsWeek of 2026-03-22: 10 commitsWeek of 2026-03-29: 1 commitsWeek of 2026-04-05: 0 commitsWeek of 2026-04-12: 3 commitsWeek of 2026-04-19: 34 commitsWeek of 2026-04-26: 29 commitsWeek of 2026-05-03: 14 commitsWeek of 2026-05-10: 41 commitsWeek of 2026-05-17: 38 commitsWeek of 2026-05-24: 4 commitsWeek of 2026-05-31: 25 commitsWeek of 2026-06-07: 0 commitsWeek of 2026-06-14: 27 commitsWeek of 2026-06-21: 7 commitsWeek of 2026-06-28: 21 commitsWeek of 2026-07-05: 48 commitsWeek of 2026-07-12: 44 commitsWeek of 2026-07-19: 23 commitsWeek of 2026-07-26: 13 commitsWeek of 2026-08-02: 15 commitsWeek of 2026-08-09: 40 commitsWeek of 2026-08-16: 38 commitsWeek of 2026-08-23: 33 commitsWeek of 2026-08-30: 30 commitsWeek of 2026-09-06: 44 commitsWeek of 2026-09-13: 28 commitsWeek of 2026-09-20: 36 commitsWeek of 2026-09-27: 5 commitsOct 4, 2025Sep 27, 2026
1.1K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 4 commitsSun 1:00 — 27 commitsSun 2:00 — 12 commitsSun 3:00 — 3 commitsSun 4:00 — 11 commitsSun 5:00 — 6 commitsSun 6:00 — 13 commitsSun 7:00 — 5 commitsSun 8:00 — 2 commitsSun 9:00 — 1 commitsSun 10:00 — 4 commitsSun 11:00 — 13 commitsSun 12:00 — 16 commitsSun 13:00 — 8 commitsSun 14:00 — 6 commitsSun 15:00 — 14 commitsSun 16:00 — 14 commitsSun 17:00 — 7 commitsSun 18:00 — 12 commitsSun 19:00 — 17 commitsSun 20:00 — 7 commitsSun 21:00 — 13 commitsSun 22:00 — 22 commitsSun 23:00 — 9 commitsMon 0:00 — 11 commitsMon 1:00 — 3 commitsMon 2:00 — 3 commitsMon 3:00 — 5 commitsMon 4:00 — 4 commitsMon 5:00 — 3 commitsMon 6:00 — 1 commitsMon 7:00 — 1 commitsMon 8:00 — 0 commitsMon 9:00 — 1 commitsMon 10:00 — 1 commitsMon 11:00 — 3 commitsMon 12:00 — 0 commitsMon 13:00 — 2 commitsMon 14:00 — 4 commitsMon 15:00 — 7 commitsMon 16:00 — 8 commitsMon 17:00 — 2 commitsMon 18:00 — 7 commitsMon 19:00 — 2 commitsMon 20:00 — 13 commitsMon 21:00 — 5 commitsMon 22:00 — 9 commitsMon 23:00 — 7 commitsTue 0:00 — 3 commitsTue 1:00 — 11 commitsTue 2:00 — 10 commitsTue 3:00 — 3 commitsTue 4:00 — 0 commitsTue 5:00 — 3 commitsTue 6:00 — 1 commitsTue 7:00 — 1 commitsTue 8:00 — 2 commitsTue 9:00 — 0 commitsTue 10:00 — 2 commitsTue 11:00 — 2 commitsTue 12:00 — 1 commitsTue 13:00 — 2 commitsTue 14:00 — 0 commitsTue 15:00 — 2 commitsTue 16:00 — 5 commitsTue 17:00 — 4 commitsTue 18:00 — 6 commitsTue 19:00 — 15 commitsTue 20:00 — 1 commitsTue 21:00 — 2 commitsTue 22:00 — 7 commitsTue 23:00 — 6 commitsWed 0:00 — 2 commitsWed 1:00 — 4 commitsWed 2:00 — 2 commitsWed 3:00 — 2 commitsWed 4:00 — 3 commitsWed 5:00 — 2 commitsWed 6:00 — 3 commitsWed 7:00 — 2 commitsWed 8:00 — 0 commitsWed 9:00 — 1 commitsWed 10:00 — 0 commitsWed 11:00 — 10 commitsWed 12:00 — 5 commitsWed 13:00 — 9 commitsWed 14:00 — 5 commitsWed 15:00 — 4 commitsWed 16:00 — 5 commitsWed 17:00 — 7 commitsWed 18:00 — 9 commitsWed 19:00 — 8 commitsWed 20:00 — 8 commitsWed 21:00 — 11 commitsWed 22:00 — 9 commitsWed 23:00 — 5 commitsThu 0:00 — 8 commitsThu 1:00 — 8 commitsThu 2:00 — 8 commitsThu 3:00 — 6 commitsThu 4:00 — 3 commitsThu 5:00 — 3 commitsThu 6:00 — 1 commitsThu 7:00 — 3 commitsThu 8:00 — 1 commitsThu 9:00 — 2 commitsThu 10:00 — 7 commitsThu 11:00 — 2 commitsThu 12:00 — 8 commitsThu 13:00 — 4 commitsThu 14:00 — 10 commitsThu 15:00 — 4 commitsThu 16:00 — 11 commitsThu 17:00 — 6 commitsThu 18:00 — 10 commitsThu 19:00 — 4 commitsThu 20:00 — 16 commitsThu 21:00 — 2 commitsThu 22:00 — 11 commitsThu 23:00 — 16 commitsFri 0:00 — 10 commitsFri 1:00 — 8 commitsFri 2:00 — 3 commitsFri 3:00 — 5 commitsFri 4:00 — 0 commitsFri 5:00 — 3 commitsFri 6:00 — 0 commitsFri 7:00 — 1 commitsFri 8:00 — 1 commitsFri 9:00 — 1 commitsFri 10:00 — 2 commitsFri 11:00 — 1 commitsFri 12:00 — 10 commitsFri 13:00 — 8 commitsFri 14:00 — 18 commitsFri 15:00 — 15 commitsFri 16:00 — 18 commitsFri 17:00 — 16 commitsFri 18:00 — 15 commitsFri 19:00 — 8 commitsFri 20:00 — 14 commitsFri 21:00 — 11 commitsFri 22:00 — 15 commitsFri 23:00 — 19 commitsSat 0:00 — 17 commitsSat 1:00 — 3 commitsSat 2:00 — 15 commitsSat 3:00 — 7 commitsSat 4:00 — 6 commitsSat 5:00 — 3 commitsSat 6:00 — 2 commitsSat 7:00 — 3 commitsSat 8:00 — 3 commitsSat 9:00 — 4 commitsSat 10:00 — 0 commitsSat 11:00 — 4 commitsSat 12:00 — 2 commitsSat 13:00 — 4 commitsSat 14:00 — 11 commitsSat 15:00 — 9 commitsSat 16:00 — 18 commitsSat 17:00 — 12 commitsSat 18:00 — 12 commitsSat 19:00 — 12 commitsSat 20:00 — 16 commitsSat 21:00 — 8 commitsSat 22:00 — 8 commitsSat 23:00 — 12 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits932 (83%)
Community commits197 (17%)

1,129 commits in total over the last year.

DateListRankStars gained
Aug 31, 2026weekly#12+4,942
Aug 30, 2026weekly#12+4,942
Aug 29, 2026weekly#13+4,769
Aug 28, 2026weekly#13+4,657
Aug 27, 2026weekly#16+4,235
Aug 26, 2026daily#1+891
Aug 25, 2026daily#1+891
Aug 24, 2026daily#6+1,081
Aug 5, 2026daily#10+278
Aug 4, 2026daily#10+278
Jul 16, 2026daily#20+5
Jul 12, 2026daily#7+3
May 25, 2026daily#25+45
May 22, 2026daily#19+51
May 3, 2026daily#25+112