gateway vs my-free-code
gateway is much bigger: 13.0k stars against 633.
gateway leads on customization and setup ease. my-free-code does not take any axis by a clear margin.
Stars and commit dates come from our own daily tracking. The six axes are read off each project's documentation by our review pipeline, so they describe what a project says about itself, not what we measured in its code.
Where they stand today
A tiny, high-performance LLM gateway that routes to 1,600+ models while providing built-in guardrails, retries, and load‑balancing.
- Stars
- 13.0k
- Tracked growth
- +3.6%
- Maturity
- ●●●●●
- Last commit
- 107d ago
- Language
- TypeScript
- License
- MIT
- Cost to run
- Uses your provider API keys; self-hosted or hosted enterprise plans.
Multi-provider gateway that routes Claude Code and other coding agents across a broad provider catalog with ordered fallbacks and local-model runtimes.
- Stars
- 633
- Tracked growth
- not tracked long enough
- Maturity
- ●●●●●
- Last commit
- 20h ago
- Language
- Python
- License
- MIT
- Cost to run
- Your API keys for upstream providers; local models run locally (no provider fees).
Six axes, head to head
Each axis runs 0 to 5. The label under a score is what that project's own docs claim, not a category average.
| Axis | gateway | my-free-code |
|---|---|---|
Context depth How much of your codebase it sees before it answers: the open diff, the diff plus related files, or the whole repository. | ●●●●● Diff only | ●●●●● Diff only |
Noise control How it keeps output volume down — severity thresholds, deduplication, incremental runs over new commits only. | ●●●●● Guardrails & filters | ●●●●● Basic filters |
Customization How far it bends to your team: custom rules, prompts, style guides, per-path config. | ●●●●● Custom rules & prompts | ●●●●● Env/config options |
Privacy Whether your code stays on your own infrastructure: fully local, self-hostable, or cloud API only. | ●●●●● Self-hostable | ●●●●● Runs fully local |
Model freedom Whether you can point it at any provider, or it is wired to one. | ●●●●● Bring-your-own keys | ●●●●● Bring-your-own provider |
Setup ease What it takes to get a first useful run out of it. | ●●●●● One-command start | ●●●●● Env + API key |
Which one to pick
Pick gateway if…
Easy setup — Run a lightweight, self-hostable gateway in one command that centralizes routing, guardrails, and provider flexibility.
- Customization: Custom rules & prompts (5/5 against 3/5)
- Setup ease: One-command start (5/5 against 3/5)
Pick my-free-code if…
Privacy-first — run a self-hosted gateway that supports many upstream providers plus local runtimes (Ollama/llama.cpp) for Claude Code and other coding agents.
What people want from each one
Portkey-AI/gateway
Questions people ask
Is gateway better than my-free-code?
gateway leads on customization and setup ease. my-free-code does not take any axis by a clear margin. gateway is worth picking when easy setup — Run a lightweight, self-hostable gateway in one command that centralizes routing, guardrails, and provider flexibility.
Which of gateway and my-free-code keeps my code private?
gateway: Self-hostable (4/5). my-free-code: Runs fully local (5/5).
What does each one cost to run?
gateway: Uses your provider API keys; self-hosted or hosted enterprise plans.. my-free-code: Your API keys for upstream providers; local models run locally (no provider fees)..
Full profiles: Portkey-AI/gateway and hkqr/my-free-code. Everything else in Gateways & routing.