Alishahryar1 / free-claude-code
Use claude code, codex or pi for free from the terminal, IDE, or you phone like OpenClaw (voice supported)
description README.md
🤖 Free Claude Code
Use Claude Code, Codex, Pi, or their IDE extensions through your own provider-backed proxy.
Run your coding agents with free, paid, or local models. Choose and validate providers from one local Admin UI.
Quick Start · Providers · Clients · Integrations · Manage
Claude Code running through the Free Claude Code proxy.
Codex CLI using the local FCC Responses provider.
Claude Code native /model picker with FCC gateway models.
Codex native /model picker with the generated FCC catalog.
Star History
What You Get
- Launch Claude Code with
fcc-claude, Codex withfcc-codex, or Pi withfcc-pi. - Switch among 25 cloud and local providers from the Admin UI.
- Use each coding agent's native model picker.
- Route Fable, Opus, Sonnet, Haiku, and fallback traffic to different models.
- Keep streaming, tool use, reasoning, and image input across compatible models.
- Connect Claude Code and Codex in VS Code or Claude Code through JetBrains ACP.
- Optionally run Claude Code sessions through Discord or Telegram with voice-note transcription.
- Protect the local proxy with optional token authentication.
Quick Start
1. Install Or Update
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")))
Re-run the same command whenever you want to update. You can review the installers before running them: install.sh and install.ps1.
2. Start The Server
fcc-server
To print the installed Free Claude Code version without starting the server,
run fcc-server --version.
Keep this process running. By default, the Admin UI opens in your browser once the server is healthy. Its address is always shown in the startup log:
INFO: Admin UI: http://127.0.0.1:8082/admin (local-only)
Use the port shown in your terminal if it differs from 8082.
3. Configure NVIDIA NIM
- Create an API key at build.nvidia.com/settings/api-keys.
- Open the Admin UI URL from the server log.
- Paste the key into
NVIDIA_NIM_API_KEY. - Leave
MODELon the defaultnvidia_nim/nvidia/nemotron-3-super-120b-a12b, or search the model dropdown and select another model. - Click Validate, then Apply.
4. Run Your Coding Agent
Claude Code:
fcc-claude
Codex:
fcc-codex
Pi:
fcc-pi
All three launchers use the current Admin UI settings. Use the agent's model picker to choose from the models FCC exposes. Normal CLI arguments still work, for example:
fcc-codex exec "hello"
fcc-pi registers FCC only for that Pi process; your existing Pi settings, sessions, credentials, and extensions remain unchanged.
Choose A Provider
Enter the listed setting in the Admin UI, open Model Config, then search the MODEL dropdown and select a model. FCC constructs each slug as <provider-id>/<exact-provider-model-id>; free-text entry remains available when a provider cannot list a model. Click Validate and Apply. Provider names link to their key, model, or setup pages.
| 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 |
| Google AI Studio (Gemini) | GEMINI_API_KEY | gemini/models/gemini-3.1-flash-lite |
| 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/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 |
| 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 |
| GitHub Models | GITHUB_MODELS_TOKEN | github_models/openai/gpt-4.1 |
| Wafer | WAFER_API_KEY | wafer/DeepSeek-V4-Pro |
| Kimi | KIMI_API_KEY | kimi/kimi-k2.5 |
| MiniMax | MINIMAX_API_KEY | minimax/MiniMax-M3 |
| Cerebras Inference | CEREBRAS_API_KEY | cerebras/gpt-oss-120b |
| Groq | GROQ_API_KEY | groq/llama-3.3-70b-versatile |
| SambaNova | SAMBANOVA_API_KEY | sambanova/Meta-Llama-3.3-70B-Instruct |
| [Fireworks AI](https://fireworks.ai/ac |