3 ms·
You can plug another model in place of Anthropic ones in Claude Code.
by epolanski 9mo ago
You can plug another model in place of Anthropic ones in Claude Code.
- zeroxfe 9mo agoThat tends to work quite poorly because Claude Code does not use standard completions APIs. I tried it with Kimi, using litellm[proxy], and it failed in too many places.
- AnonymousPlanet 9mo agoIt worked very well for me using qwen3 coder behind a litellm. Most other models just fail in weird ways though.
- samtheprogram 9mo agoopencode is a good alternative that doesnt flake out in this way.
- xxr3376 9mo agoYou can try Kimi's Anthropic-compatible API. Just connect Claude Code to Kimi's API endpoint and everything works well https://www.kimi.com/code/docs/en/more/third-party-agents.html https://www.kimi.com/code/docs/en/more/third-party-agents.ht...
- miroljub 9mo agoIf you don't use Antrophic models there's no reason to use Claude Code at all. Opencode gives so much more choice.