#How to add another model? Model is gone after add 2nd one.
1 messages · Page 1 of 1 (latest)
Short version, adding Codex should not remove Gemini auth.
What likely happened is:
- the new login changed your default model to Codex, and
openclaw models list//modelnow shows configured models by default, not every provider you’ve authenticated.
So Gemini can look “gone” even though the auth profile is still there.
Can you paste these?
openclaw --version
openclaw models status
openclaw models list --all | rg 'openai-codex|google-gemini-cli'
If both providers show up there, then it’s not lost, just not in the current configured model list.
If you want both visible/usable, set one as primary and the other as fallback, for example:
openclaw models set openai-codex/gpt-5.4
openclaw models fallbacks add google-gemini-cli/gemini-3-flash-preview
Or swap them if you want Gemini first.
Docs:
If models status shows Gemini auth is actually missing, then yeah, that’s not expected, and I’d want the output because that could be a bug/regression.
how to add new model? how to add codex, i got gemini cli running
Yep, if you already have Gemini CLI running, add Codex like this:
openclaw --version
openclaw models auth login --provider openai-codex
openclaw models status
Important bit: don’t use --set-default if you want Gemini to stay your current default.
A few gotchas:
- Adding auth is not the same as making it your active model
/modelandopenclaw models listusually show configured models, not every authenticated provider- so after adding Codex, you may need to explicitly switch to it:
openclaw models set openai-codex/gpt-5.4
Or in chat:
/model openai-codex/gpt-5.4
If you want both to stay visible in the normal configured list, keep one as primary and add the other as a fallback, for example:
openclaw models set google-gemini-cli/gemini-3-flash-preview
openclaw models fallbacks add openai-codex/gpt-5.4