Claude Code model router
Aweswitch
CLI proxy for switching AI model profiles (Claude Code, Codex, etc.)
Install
git clone https://github.com/Wehuman01/aweswitch.gitFrom the README
aweswitch: Agent Profile Switcher
A tiny local launcher for switching AI agent runtime profiles.
One config, one command — works the same on Ubuntu, macOS, and Windows.
Start different agent sessions with different API endpoints, tokens, and models without rewriting global agent config.
English ·
简体中文 ·
Webioinfo
Run different agent profiles side by side without breaking sessions that are already open.
aweswitch reads profiles from ~/.config/aweswitch/config.json and offers two modes:
- Launch mode (aweswitch ) — starts a new agent session with isolated env. Each session gets its own API endpoint, token, and model. Different terminals can run different profiles simultaneously. Env is frozen at launch time.
- Write mode (aweswitch apply ) — makes a profile the agent's persistent default: Claude env into ~/.claude/settings.json, Codex provider+model into ~/.codex/config.toml, OpenCode provider+models into ~/.config/opencode/opencode.json, and zcode providers+models into ~/.zcode/v2/config.json. A bare aweswitch apply bulk-syncs every OpenCode and zcode profile; --opencode / --zcode narrow the bulk to one agent. Claude and Codex keep one active default at a time.
It is intentionally small. Today it supports Claude Code, Codex, OpenCode, and zcode profiles, plus official-login accounts (Claude Code / Codex OAuth).
Quick Start
aweswitch follows the same loop as the rest of the awesome family: hand the bootstrap to an agent once and you land with a working first profile, then manage day-to-day work in natural language. Step 1 covers that bootstrap and gets you using aweswitch right away; steps 2 and 3 are the more advanced operations — equipping the management skill and the daily scenarios in detail. One rule is specific to this tool — the agent never…Details
- Repository
- Wehuman01/aweswitch
- Language
- Python
- License
- MPL-2.0
- Last updated
- 19 September 2026
- Topics
- aianthropicclaudeclaude-codeclicodexdeveloper-toolsopenaiopencode
FAQ
What is Aweswitch?
CLI proxy for switching AI model profiles (Claude Code, Codex, etc.) It is a model router for Claude Code, from Wehuman01/aweswitch on GitHub.
How do I install Aweswitch?
Clone Wehuman01/aweswitch from GitHub and follow the setup steps in its README.
Is Aweswitch popular?
Wehuman01/aweswitch has 28 GitHub stars and 1 forks. It was last updated on 19 September 2026.
More model routers & proxies
ClaudeGate
32Santosh-Prasad-Verma/ClaudeGate
High-performance bridge proxy connecting Claude Code CLI & Anthropic SDK to ANY OpenAI-compatible LLM provider (DeepSeek, OpenRouter, Groq, Ollama, Gemini, OpenAI) with zero-crash streaming, failover & secret redaction.
Alan Code Agent
25tboulet/Alan-Code-agent
Open-source Python implementation of a Claude-Code-like agent (Gemini CLI, Codex, Copilot...). Usable in CLI, GUI, or as a python library to build upon. Works with any LiteLLM compatible API key, and several local model providers (vLLM, SGLang, Ollama).
Ccrelay
26inflaborg/ccrelay
Switch Claude Code, Claude Desktop and ChatGPT/Codex to third-party models from one desktop app. Local proxy converts Anthropic/OpenAI formats automatically.
Permafrost
25jianzhichun/permafrost
Freeze Claude Code's prompt prefix so DeepSeek's automatic cache always hits — alignment proxy + coalescing + keepalive, installable as a CC plugin. Measured 64% cheaper on real Claude Code traffic.
Dsv4 CC Proxy
25HosheaLi/dsv4-cc-proxy
Anthropic API 兼容性代理 — 修复 DeepSeek V4 的 3 个不兼容问题,让 Claude Code 稳定运行。Make DeepSeek V4 work flawlessly with Claude Code.
Claude Code Proxy
26sunjackson/claude-code-proxy
一个功能强大的跨平台桌面应用,用于管理 Claude Code 的本地代理服务
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.