Claude Code model router
Setup Gateway
Konfigurator gateway OpenAI-compatible untuk Claude Code, OpenCode, dan Codex CLI. Zero-dependency, interaktif + CI, backup atomik + restore, config preservation, selftest built-in.
Install
git clone https://github.com/Sinholms/setup-gateway.gitFrom the README
🛰️ setup-gateway Konfigurator gateway OpenAI-compatible untuk Claude Code, OpenCode, dan Codex CLI — sekali jalan, config ter-update dengan aman. Quick start · Cara kerja · Perintah · Flag & env · Keamanan · Troubleshooting Tulis ulang config alat AI kamu tanpa merusak yang sudah ada — backup otomatis, preservasi setting, dan restore satu perintah. setup-gateway adalah CLI generik yang mengkonfigurasi gateway API OpenAI-compatible (LiteLLM, OpenRouter, proxy internal perusahaan, instance 9Router lokal, dll.) ke tiga klien AI coding populer. Tidak ada provider, base URL, atau model yang di-hardcode — kamu memasukkan base URL + API key + model sendiri tiap setup. Satu perintah. Pilih tool → tempel base URL → tempel key → pilih model → selesai. Config lama dipertahankan, backup dibuat, dan kamu bisa kembali kapan pun dengan restore. ✨ Kenapa menarik - 🧩 Generik & netral — pakai gateway apa pun yang expose /v1 (Responses API untuk Codex). - 🧰 Tiga tool sekaligus — Claude Code (settings.json), OpenCode (opencode.json), Codex CLI (config.toml). - 🖱️ Interaktif (menu panah, filterable model picker, multi-select catalog) dan headless/CI (flag + env) — satu binary, dua dunia. - 🧼 Preservasi config — hanya bagian gateway yang disentuh; komentar TOML, provider lama, agent.*, dan key tak dikenal tetap utuh. - 💾 Backup atomik + restore — salah menulis bukan masalah, karena setiap tulis didahului backup berlabel waktu. - 🧪 Selftest built-in — verifikasi fungsi murni tanpa menyentuh disk nyata (--selftest, cocok untuk CI). - 🪶 Zero-dependency — Node ≥ 18 saja (fetch, readline, AbortController bawaan). Tidak ada npm install. 🚀 Quick start Butuh Node ≥ 18. Clone, lalu jalankan: Langsung satu tool: Headless / CI (tanpa prompt): status (read-only) dan restore…
Details
- Repository
- Sinholms/setup-gateway
- Language
- JavaScript
- License
- MIT
- Last updated
- 5 August 2026
- Topics
- claude-codeclicodex-cligatewaylitellmnodejsopenai-compatibleopencodeopenrouterzero-dependency
FAQ
What is Setup Gateway?
Konfigurator gateway OpenAI-compatible untuk Claude Code, OpenCode, dan Codex CLI. Zero-dependency, interaktif + CI, backup atomik + restore, config preservation, selftest built-in. It is a model router for Claude Code, from Sinholms/setup-gateway on GitHub.
How do I install Setup Gateway?
Clone Sinholms/setup-gateway from GitHub and follow the setup steps in its README.
Is Setup Gateway popular?
Sinholms/setup-gateway has 442 GitHub stars and 0 forks. It was last updated on 5 August 2026.
More model routers & proxies
OpenTag
499linxidnju/OpenTag
Open-source, channel-native agent gateway for Slack. Route team threads to Claude Code, Codex, OpenCode, Docker, HTTP agents, and custom CLIs with policy, approvals, memory, audit logs, and artifacts.
FlagshipRouter
227theRizwan/FlagshipRouter
Free AI models for every coding tool — a local OpenAI-compatible gateway for Claude Code, Codex, Cursor, Cline and OpenCode. Based on 9router (MIT).
Backdoor
301ajsai47/backdoor
Run Claude Code against any AI provider. DeepSeek, Groq, Ollama, OpenRouter — your call.
Weam
224weam-ai/weam
Web app for teams of 20+ members. In-built connections to major LLMs via API. Share chats, prompts, and agents in team or private folders. Modern, fully responsive stack (Next.js, Node.js). Deploy your own vibe-coded AI apps, agents, or workflows or use ready-made solutions from the library.
Codex App Transfer
309Cmochance/codex-app-transfer
Local desktop gateway that translates OpenAI Codex CLI's Responses API into Chat Completions for Kimi / DeepSeek / Zhipu GLM / Bailian and other OpenAI-compatible providers.
Agents Can Communicate
209automatis-tools/agents-can-communicate
Messages between AI coding sessions in different vendors' clients, such as Claude Code and Codex. Local, open source, no lead agent. https://getacc.dev
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.