Claude OpenRouter

OpenRouter models in Claude Code

Your models. Claude's picker.

Add OpenRouter favorites beside Claude's built-in models in the native /model menu while preserving your Claude.ai login, connectors, and Max billing for Claude models.

curl -LsSf https://xhluca.github.io/claude-openrouter/install.sh | sh
Interactive terminal
Guided curl install · masked key · interactive GLM-5.3 selection · Loading · MP4 · asciicast

Run clor search glm --tools to find tool-capable models, clor check MODEL to review the estimated charge and verify a real Claude Code tool call, clor select to choose favorites, and plain claude to start. The same configuration works with claude --agent, background agents, and the claude agents view.

A fail-closed loopback router keeps provider credentials separate: Claude models go only to Anthropic, and labeled OpenRouter favorites go only to OpenRouter. Secret-bearing files stay local with mode 0600. Reset everything with clor reset.