Cc Open Models Routing
Description
Creates a local proxy to route open models, such as GLM-5.1 and MiniMax-2.7, as Claude Code's stock models, so you can fully use and orchestrate agents inside CC's harness in the budget.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
cc-open-models-routing
Local HTTP proxy + CLI tool for routing Claude Code between **Z.AI (GLM-5.1)** and **MiniMax (M2.7)** based on model tier — giving you GLM quality for orchestration and MiniMax speed/cost for subagents.
Profiles
| Profile | Provider | Main Model | Notes |
|---|---|---|---|
glm-5.1 |
Z.AI (direct) | GLM-5.1 | All tasks → Z.AI |
minimax-m2.7 |
MiniMax (direct) | MiniMax-M2.7 | All tasks → MiniMax |
efficiency |
Local proxy | GLM-5.1 | Opus tier → Z.AI · Sonnet/Haiku tier → MiniMax |
How Efficiency Mode Works
Claude Code
│
▼ (ANTHROPIC_BASE_URL = http://localhost:3472)
┌─────────────────────────────────────┐
│ claude-proxy (port 3472) │
│ │
│ POST /v1/messages │
│ { "model": "glm-5.1", ... } │
│ ↓ model.startsWith("MiniMax")?
│ ┌────┴────┐ │
│ no yes │
│ ▼ ▼ │
│ Z.AI MiniMax │
│ api.z.ai api.minimax.io │
└─────────────────────────────────────┘
Prerequisites
- Bun runtime
- Windows (PowerShell-based env var management)
- Z.AI token plan subscription
- MiniMax token plan subscription
Setup
1. Set API Tokens
# Z.AI token (from z.ai dashboard)
[System.Environment]::SetEnvironmentVariable('CLAUDE_PROFILE_ZAI_TOKEN', 'your-zai-token', 'User')
# MiniMax token (from platform.minimax.io)
[System.Environment]::SetEnvironmentVariable('CLAUDE_PROFILE_MINIMAX_TOKEN', 'your-minimax-token', 'User')
Restart your terminal after setting.
2. Install
# Clone the repo
git clone https://github.com/iskisraell/cc-open-models-routing.git
cd cc-open-models-routing
# Install dependencies
bun install
3. One-Time Profile Setup
Choose the profile you want. For mixed routing (recommended):
# Apply efficiency mode — does NOT start Claude, just configure
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11