Run Claude Code with any model
Claude Code sends its requests to one address, and other services can answer them with other models. With hi, HIPS's command line, one command starts Claude Code on DeepSeek, Kimi, Qwen or GLM, signed in to HIPS for that session. Anthropic does not support this. HIPS tests each model with Claude Code and publishes the result.
Published by HIPS. Not affiliated with Anthropic.
curl -fsSL https://hips.com/hi.sh | sh# macOS and Linuxhi loginhi modelshi claudecurl -fsSL https://hips.com/hi.sh | sh# macOS and Linuxhi loginhi modelshi claudeHow to run Claude Code on another model with hi
"hi claudestarts Claude Code on HIPS models, signed in as you, with no API key to copy:hisets HIPS up for that session only and leaves Claude Code's own settings as they are."
Get a HIPS account. Accounts are opened by invitation: join early access to ask for one.
Install
hiand sign in.curl -fsSL https://hips.com/hi.sh | sh # macOS and Linuxirm https://hips.com/hi.ps1 | iex # Windows (PowerShell)brew install hips-ai/tap/hi # Homebrewhi loginList the models your workspace may use. Those fit for coding are marked.
hi modelsStart Claude Code, on the model you choose with
--model <id>, or on onehipicks for you.hi claude
What happens at launch, in the Docs' words:
- "It takes a model fit for coding from your workspace's catalog, or the one you name with
--model, and gives Claude Code HIPS's address and your sign-in through Claude Code's own credential setting, speaking Anthropic's Messages API." - "It turns off Claude Code's own telemetry, and whatever would send your session to its vendor, for that session."
Inside the session, Claude Code's /model lists the models your workspace may use. Every request of the session runs in HIPS's Certified pool, never on GPU owners' own machines.
Claude Code with DeepSeek, Kimi, Qwen or GLM: the tested models
HIPS runs Claude Code against every chat model in its catalog that takes tool calls. "Tested" means, in the words of HIPS's model list: "A test of the agent passed on this model's current version: it called a tool, sent the tool's result back and answered with it." It shows the pair completes a tool call. It does not score the code.
| Model | Catalog id for --model | Context window (tokens) | Input / output, per million tokens |
|---|---|---|---|
| DeepSeek V4 Pro | deepseek-v4-pro | 1,048,576 | $0.70 / $2.80 |
| DeepSeek V4.1 Flash | deepseek-v4.1-flash | 1,048,576 | $0.098 / $0.70 |
| Kimi K3.1 Pro | kimi-k3.1-pro | 1,048,576 | $2.10 / $14.00 |
| Kimi K3 | kimi-k3 | 1,048,576 | $2.80 / $19.60 |
| GLM 5.3 | glm-5.3 | 1,048,576 | $1.05 / $3.36 |
| GLM 5.3 Flash | glm-5.3-flash | 1,048,576 | $0.105 / $0.70 |
| Qwen3.6 35B A3B | qwen3.6-35b-a3b | 262,144 | $0.049 / $0.686 |
| Qwen3 30B A3B Instruct 2507 FP8 | qwen3-30b-a3b-instruct-2507-fp8 | 262,144 | $0.0882 / $0.294 |
| gpt oss 120b | gpt-oss-120b | 131,072 | $0.0294 / $0.147 |
| gpt oss 20b | gpt-oss-20b | 131,072 | $0.01764 / $0.0882 |
| gemma 4 31B it | gemma-4-31b-it | 262,144 | $0.1372 / $0.392 |
All marked "Tested" for Claude Code in HIPS's catalog, revision 644, read December 2, 2026. Prices are on-demand market prices in the Certified pool, in US dollars; cached input costs less, and writing to the cache costs nothing. Some models are marked "Meets the requirements, not tested yet" for Claude Code, among them North Mini Code 1.0, NVIDIA Nemotron 3.5 Lightning and Qwen3.5 9B. The live state of every model is on the model catalog, and a worked cost example is on Claude Code pricing.
What Anthropic says, and what you give up
Anthropic's documentation on gateways is plain: "Any gateway that exposes a supported API format works. Anthropic doesn’t endorse, maintain, or audit third-party gateway products, and doesn’t support routing Claude Code to non-Claude models through any gateway."
So:
- These are not Claude models.
- Anthropic supports Claude Code on Claude models only. An open model may follow Claude Code's instructions and use its tools less well than Claude does.
- Results differ by model.
- A pass in HIPS's test means one tool call went round trip. It does not mean the model codes as well as Claude on your work. Try your own task first.
- Support comes from HIPS, not Anthropic.
- If a session breaks on an open model, Anthropic will not fix it. Tell HIPS, or switch back.
- What would reach Anthropic is off.
hiturns off Claude Code's telemetry, and whatever would send your session to Anthropic, for the session, as quoted above. A feature that needs that traffic does not work underhi.
What Claude Code does well stays true: it "automatically optimizes costs through prompt caching, which reduces costs for repeated content like system prompts, and auto-compaction, which summarizes conversation history when approaching context limits." Anthropic calls Opus 5.5 its "Daily driver for agentic coding and enterprise work". If that is what you need, Anthropic's plans are the supported route: see Claude Code pricing.
Other ways: Claude Code Router, OpenRouter, Ollama and proxies
People run Claude Code on other models in several ways. Each is described here from its own documentation, read December 1, 2026.
Claude Code Router
Claude Code Router is an open-source project under the MIT license. In its own words: "Claude Code Router (CCR) is a local model gateway and control plane for coding agents." It runs on your computer. You add each provider yourself: "Choose a built-in preset or a custom endpoint, enter the API key, select the protocol and models, then save." It is not part of HIPS.
Claude Code with OpenRouter
OpenRouter publishes a guide that points Claude Code at its address with an OpenRouter API key. Its guide is clear about scope: "Claude Code with OpenRouter is only guaranteed to work with the Anthropic first-party provider."
Claude Code with Ollama, or a local model
Ollama documents its own launcher: "Ollama connects Claude Code to local and cloud models through its Anthropic-compatible API." For a Claude Code local model it advises: "Choose a model and set a 64k+ context window." The model runs on your hardware, so it has to fit there.
A proxy or LLM gateway
Anthropic documents gateways your organization runs: "ANTHROPIC_BASE_URL is the variable that points Claude Code at the gateway." One caution from the same page: "Setting only that variable, without a gateway credential, doesn’t replace the subscription." On the cost page it notes that "Several large enterprises reported using LiteLLM, an open-source tool that tracks spend by key. This project is unaffiliated with Anthropic and has not been audited for security."
How hi differs
hi runs nothing between Claude Code and HIPS on your computer and asks you for no API key: it hands Claude Code HIPS's address and your sign-in for one session. "hi never changes the agent's own settings, never puts a credential in its environment, files or arguments, and never reads another vendor's stored sign-in." HIPS tests Claude Code against its models and shows which passed. What it does not do: make these models Claude, or make Anthropic support the setup.
Questions
Can Claude Code use other models?
It can send its requests to any address that speaks its API, and services such as HIPS answer with other models. Anthropic supports only Claude models: it "doesn’t support routing Claude Code to non-Claude models through any gateway."
Does Anthropic support Claude Code with DeepSeek, Kimi, Qwen or GLM?
No. HIPS tests the pairs itself and shows the results above. Support for a session on HIPS comes from HIPS.
What is Claude Code Router?
An open-source project under the MIT license, in its own words "a local model gateway and control plane for coding agents". You run it on your computer and add each provider's API key to it. It is not HIPS and not hi.
Can I use Claude Code with OpenRouter?
OpenRouter publishes a guide for it, and says: "Claude Code with OpenRouter is only guaranteed to work with the Anthropic first-party provider."
Can I use Claude Code with Ollama or a local model?
Ollama documents it: "Ollama connects Claude Code to local and cloud models through its Anthropic-compatible API." It advises a context window of 64k or more for local models. Anthropic does not support it on non-Claude models.
Do I need a proxy to run Claude Code on another model?
Not with hi: it gives Claude Code HIPS's address and your sign-in through Claude Code's own credential setting, so nothing runs in between on your computer. Claude Code Router and LiteLLM are proxies you run yourself.
Which model should I pick for Claude Code?
HIPS has not published a coding benchmark of these models, so this page ranks none. Pick from the tested list, compare context windows and prices, and try your own task. hi models shows what your workspace may use.