3 ms·
I was looking into something similar because I wanted to test a local model for doing basic coding and smart model (deepseek) for planning. It's basically not
by mewse-hn 5mo ago
I was looking into something similar because I wanted to test a local model for doing basic coding and smart model (deepseek) for planning.
It's basically not possible with claude code, the api endpoint is a single environment variable and whatever models are on that endpoint are what's available.
HOWEVER, if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end and expose them as different "models" on the front end, then configure claude code to switch between those virtual models.
- thisisit 5mo agoFound this: https://github.com/farion1231/cc-switch https://github.com/farion1231/cc-switch It allows for switching models in Claude Code.
- mewse-hn 5mo agoRight that says it has a proxy feature so it can probably do what I was describing with LiteLLM
- mvanbaak 5mo agoCheck out the project called superpowers. It can use different models for different agents. I use it witb opencode to have different models for reaearch, planning, execution, testing etc