iskisraell

Cc Open Models Routing — Development skill for Claude Code

Development community

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.

How to install Cc Open Models Routing

This entry records only its repository, not the path inside it, so there is no exact command to give. Open iskisraell/cc-open-models-routing and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc Open Models Routing does

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.

Alternatives in Development

  • Analyze Stock — 完整深度分析一只股票(22 维数据 + 66 位大佬量化评委 + 22 种机构分析方法 + 杀猪盘检测 + Bloomberg 风格 HTML 报告) 6.6k ★
  • Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
  • Lazycodex — The one and only agent harness for complex codebases 3.3k ★

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