4 ms·
You could try to use a router. I'm currently building this: https://github.com/grafbase/nexus/ https://github.com/grafbase/nexus/ If croq talks openai API, yo
by pimeys 1y ago
You could try to use a router. I'm currently building this:
https://github.com/grafbase/nexus/ https://github.com/grafbase/nexus/
If croq talks openai API, you enable the anthropic protocol, and openai provider with a base url to croq. Set ANTHROPIC_BASE_URL to the open endpoint and start claude.
I haven't tested croq yet, but this could be an interesting use case...
- arjie 1y agoI assumed that OpenRouter wouldn't deliver the same tokens/second which seems to have been a complete mistake. I should have tried it to see. I currently use `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` with z.ai and it works well but CC 2.0 now displays a warning Auth conflict: Both a token (ANTHROPIC_AUTH_TOKEN) and an API key (/login managed key) are set. This may lead to unexpected behavior. • Trying to use ANTHROPIC_AUTH_TOKEN? claude /logout • Trying to use /login managed key? Unset the ANTHROPIC_AUTH_TOKEN environment variable. Probably just another flag to find. EDIT: For anyone coming here from elsewhere, Crush from Charm supports Cerebras/Groq natively!
- arjie 1y agoHowever, after a day of using Crush with Qwen-3-480B-coder I am disappointed and will be canceling my Cerebras subscription. The model + agent pair is substantially worse than Claude Code with Sonnet 4 and I am going to have return to the latter. Qwen-3 in my workflow requires a lot of handholding and review and the gains from rapid generation are ruined by the number of errors in generated code. Crush is also not a good assistant. It does not integrate scrollback with iTerm2 so I can't look at what the assistant did. The pane that shows the diff side by side is cool but in practice I want to go see the diff + reasoning afterwards so I can alter sections of it more easily and I can't do that.