Claude Code model router

Anymodel

Use Claude Code with any AI model — proxy tools for OpenRouter, Ollama, and 200+ models

Install

Install
npx anymodel models --search coder --tools

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/anton-abyzov/anymodel.git

From the README

AnyModel

An optional API compatibility adapter for coding tools.

Use your maintained coding agent and provider directly when they already work together. AnyModel is useful when a particular endpoint needs request, tool-schema or response adaptation. It does not make models equally capable, supply subscription access, or replace an agent's planning, permissions and session history.

Website · 2.0 migration · Studio boundary · License and legacy notices

Choose the simplest supported route

OpenRouter documents its Claude Code compatibility guarantee for Anthropic first-party only. Non-Anthropic models need their own validation. OpenCode supports OpenRouter directly, without this proxy.

SpecWeave owns portable specs, task claims and acceptance evidence. Studio owns native execution, approvals, workspaces and sessions. AnyModel belongs outside Studio's default native path. API billing and native subscription capacity are separate.

Check current hosted availability

These commands read OpenRouter's public model catalog. They need no API key, send no inference request and do not discover or warm up local models.

The result includes the source and check time. “Listed” means present in the public API catalog, not authenticated account access, endpoint health, coding quality or native subscription entitlement. --tools filters advertised tool support; it does not prove correct tool execution.

Legacy presets (gpt, codex, gemini, deepseek, mistral, gemma, qwen, nemotron, llama) retain their original exact model IDs. They are not “latest model” selectors. Before an OpenRouter proxy starts, the CLI checks the selected ID against the live catalog. Missing entries fail with an actionable error. Former free presets never silently become paid models. Free aliases and --free-only…
Read the full README on GitHub

Details

Language
JavaScript
License
MIT
Last updated
26 October 2026

FAQ

What is Anymodel?

Use Claude Code with any AI model — proxy tools for OpenRouter, Ollama, and 200+ models It is a model router for Claude Code, from anton-abyzov/anymodel on GitHub.

How do I install Anymodel?

Run npx anymodel models --search coder --tools, then follow the setup in the README.

Is Anymodel popular?

anton-abyzov/anymodel has 45 GitHub stars and 19 forks. It was last updated on 26 October 2026.

More model routers & proxies

Wuyun Liuqi Skills

52

dhicoc/wuyun-liuqi-skills

五运六气技能路由包 - AI 自动路由 + 确定性推算引擎 + RAG 知识库 + 自进化经验库 | 32 asset / 2124 条医案 / 53 篇文献 | 支持 Claude Code / Cursor / Codex CLI / Cline / OpenClaw | TCM Yunqi Skills Router - AI auto-routing + deterministic calculation engine + RAG knowledge base + self-evolving journal | 32 assets / 2124 cases / 53 texts | Claude Code / Cursor / Codex / Cline / OpenClaw

Model routers & proxies/plugin install10

Star Cliproxy

43

starhunt/star-cliproxy

OpenAI- & Anthropic-compatible API proxy for AI coding CLIs — expose Claude Code, OpenAI Codex, Google Antigravity, and xAI Grok CLI as local, drop-in API endpoints with no API key and zero usage fees

Model routers & proxies24

Trae Proxy

51

DASungta/trae-proxy

爆锤Trae不支持自定义模型接入。通过Trae Proxy,可以支持在trae中接入并切换任意上游中转服务、不在服务列表中的coding plan等等。不影响codex、claude code正常使用。Trae proxy and switch

Model routers & proxies12

Copilot Proxy

45

Jer-y/copilot-proxy

Turn GitHub Copilot into an OpenAI/Anthropic-compatible server with Claude Code and Codex support.

Model routers & proxies16

CC VisionRouter

76

Able-rip/cc-VisionRouter

Transparent proxy for Claude Code that auto-routes image-bearing requests to a multimodal model — so a non-multimodal primary model never crashes your long-running sessions.

Model routers & proxies

Agentmail To Claude Code

48

mvanhorn/agentmail-to-claude-code

Email gateway that opens a Claude Code session per inbound AgentMail message (cmux or Ghostty)

Model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.