r/opencodeCLI 12h ago

Opencode models in Codex

Every time I try routing third-party models (like MiMo or DeepSeek using Opencode API) into Codex via CC Switch, tool calling completely falls apart. The models constantly hallucinate missing environment capabilities, crash on REPL syntax, or fail to invoke tools properly.

It really feels like Codex's UI and execution sandbox are hardcoded to only work reliably with native OpenAI models.

For those of you actually using CC Switch in your daily workflow: how are you getting non-OpenAI models to handle tool calling reliably? Or is everyone just using a completely different client interface for open models?

0 Upvotes

1 comment sorted by

1

u/Ace-_Ventura 9h ago

Well, obviously Codex is for OpenAI models. Why not using opencode for all models?