claudeers.
// Developer Tools

cc-simplerouter

Install and setup in 26 seconds. Simplerouter configures Claude Code to use any compatible OpenRouter model in seconds, WITHOUT manual editing of config file…

// Developer Tools[ cli ][ api ][ claude ]#claude#devtoolsNOASSERTION$open-sourceupdated about 2 months ago
Actively maintained
100/100
last commit 14 days ago
last release about 1 month ago
releases 4
open issues 0
// star history

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up cc-simplerouter (git-clone project) into my current project.
Found on https://claudeers.com/cc-simplerouter
Repo: https://github.com/kdsuomi/cc-simplerouter
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/kdsuomi/cc-simplerouter
Category: devtools. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/kdsuomi/cc-simplerouter

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseNOASSERTION
Pricingopen-source
LanguageGo

cc-simplerouter

simplerouter instantly launches Claude Code against any OpenRouter model with a launch ui for selecting your model (and inference provider, if desired).

The only configuration required is pasting your openrouter API key on first launch. Unlike other "claude code routers", simplerouter configures everything automatically on launch, so your normal Claude Code setup is untouched and you can stop messing with environment variables, local webservers, or manually editing your .claude files.

simplerouter                              # first run: pick a key + model
simplerouter --model z-ai/glm-5.2 .       # launch with a specific model in the current dir

Install

Requires an installed claude CLI.

Windows:

irm https://raw.githubusercontent.com/kdsuomi/cc-simplerouter/main/scripts/install.ps1 | iex

macOS/Linux:

curl -fsSL https://raw.githubusercontent.com/kdsuomi/cc-simplerouter/main/scripts/install.sh | sh

The install scripts download the latest GitHub Release binary and install it to ~/.local/bin. macOS release binaries are Apple Silicon only.

Build from source

Requires Go.

powershell -ExecutionPolicy Bypass -File .\scripts\build_install.ps1
sh ./scripts/build_install.sh

These scripts build from the cloned repo and install the result to ~/.local/bin.

The model picker

Run simplerouter to open the interactive model picker.

image
  • ↑ / ↓ — move the highlight (auto-pages at the top/bottom of a page)
  • ← / → — flip pages
  • type — filter live by id or name
  • — launch the highlighted model
  • Tab — open provider selection for the highlighted model (see below)
  • esc — cancel

The list is pre-filtered to models usable by Claude Code and ordered by OpenRouter popularity, with recommended models pinned at the top.

Provider / endpoint selection

simplerouter default's to OpenRouter's choice of provider. If you want to select a specific inference provider, press Tab on a highlighted model:

image

OpenRouter only honors provider routing in the request body, and Claude Code doesn't let you add body fields. So when you pin a provider, simplerouter starts a tiny localhost proxy for the session and pointsANTHROPIC_BASE_URL at it; the proxy injects provider.only into each request before forwarding to OpenRouter. It binds to 127.0.0.1, makes no changes to your OpenRouter account, and shuts down when claude exits.

Note: pinning sets allow_fallbacks: false, so a transient error from the chosen provider isn't absorbed by OpenRouter's fallback and Claude Code will retry. If a provider is flaky, just pick another (or skip provider selection and let OpenRouter route).

Flags

simplerouter [--model MODEL] [--reset-key] [--disable-thinking] [path-or-prompt] [-- CLAUDE_ARGS...]
  • --model MODEL — OpenRouter model id, name, or unique suffix (skips the picker)
  • --reset-key — forget the saved OpenRouter API key, then prompt again
  • --disable-thinking — drop Claude Code's Anthropic-specific thinking/beta request fields (see below)

What it sets in Claude Code's environment

Only for the launched process. Notably:

  • ANTHROPIC_BASE_URL → OpenRouter (or the local provider proxy, when pinned)
  • ANTHROPIC_AUTH_TOKEN → your OpenRouter key; all model tiers (opus/sonnet/ haiku/subagent) point at your chosen model
  • CLAUDE_CODE_AUTO_COMPACT_WINDOW → the model's context length
  • CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=false → disables the "suggest what to type next" feature, which otherwise re-sends the whole conversation each turn just to predict your next prompt and wastes money.

Model compatibility

simplerouter targets OpenRouter models that work through Claude Code's Anthropic-compatible API path — i.e. text models that support tool calling (which the picker already filters for).

By default it preserves Claude Code's normal thinking behavior. If a provider chokes on Claude Code's thinking/beta request fields, retry with --disable-thinking:

simplerouter --disable-thinking --model XXX.

// faq

What is cc-simplerouter?

Install and setup in 26 seconds. Simplerouter configures Claude Code to use any compatible OpenRouter model in seconds, WITHOUT manual editing of config files, environment variables, or messing with local webservers/webUIs. It also doesn't overwrite your existing Claude Code subscription sign-in!. It is open-source on GitHub.

Is cc-simplerouter free to use?

cc-simplerouter is open-source under the NOASSERTION license, so it is free to use.

What category does cc-simplerouter belong to?

cc-simplerouter is listed under devtools in the Claudeers registry of Claude-compatible tools.

3 views
85 stars
unclaimed
updated about 2 months ago

// embed badge

cc-simplerouter on Claudeers
[![Claudeers](https://claudeers.com/api/badge/cc-simplerouter.svg)](https://claudeers.com/cc-simplerouter)

// retro hit counter

cc-simplerouter hit counter
[![Hits](https://claudeers.com/api/counter/cc-simplerouter.svg)](https://claudeers.com/cc-simplerouter)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/JavaScript240,305MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/TypeScript128,278MIT[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// devtoolssafishamsi/Python109,277MIT[ claude ]
🔓

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

// devtoolsDietrichGebert/JavaScript104,762MIT[ claude ]
→ see how cc-simplerouter connects across the ecosystem