ccflare icon indicating copy to clipboard operation
ccflare copied to clipboard

Model redirection / reroute options

Open ctrlbrk42 opened this issue 1 year ago • 3 comments

The agent control of models is nice, but I would like to be able to redirect all haiku requests to Sonnet or Opus instead.

Would welcome a way to select a re-route option. This would also work for future enhancements when you eventually add the ability to use other non-Anthropic models like OpenAI, Google and OpenRouter.

But the initial request is fairly straight-forward redirection.

An extra cherry on top would be the option "only if there is another account in 'ready' status"

ctrlbrk42 avatar Aug 12 '25 20:08 ctrlbrk42

This is good. Already have a local state for OpenAI

snipeship avatar Aug 12 '25 22:08 snipeship

With today's announcement of Sonnet 1M context, it becomes a bit more complex. For me to use it now, I would need another option "for requests under context limit do 'x', for requests over context limit do 'y'"

So I prefer routing Sonnet to Opus if it's under 200k, but if it's over 200k needs to go to Sonnet (or in the future, Gemini)

ctrlbrk42 avatar Aug 13 '25 05:08 ctrlbrk42

With today's announcement of Sonnet 1M context, it becomes a bit more complex. For me to use it now, I would need another option "for requests under context limit do 'x', for requests over context limit do 'y'"

Not sure if this project is maintained anymore. I forked it here and implemented the feature to specify a different endpoint, so you could use claude code router for example.

tombii avatar Oct 03 '25 07:10 tombii