#How to completely remove a model/provider

1 messages ยท Page 1 of 1 (latest)

desert trench
#

Including all artifacts. version 2026.4.15.

steady lionBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

sullen monolithBOT
fast fableBOT
#

Short version: you can remove the auth and the references, but built-in providers are still part of the catalog unless you switch catalog mode.

Try this:

# 1) remove saved auth for that provider
openclaw infer model auth logout --provider <provider-id>

# 2) if it's a custom provider, remove its config entry
openclaw config unset models.providers.<provider-id>

# 3) move defaults/fallbacks away from it
openclaw models set <other-provider/model>
openclaw models fallbacks list
openclaw models fallbacks remove <provider/model>
openclaw models image-fallbacks list
#
openclaw models image-fallbacks remove <provider/model>

Important bit: in default models.mode: "merge", built-in providers do not disappear from the catalog.
If you want them gone from model listing too, use models.mode: "replace" and define only the providers you want.

Useful docs:

If it still shows up after that, paste these and Iโ€™ll tell you exactly what layer is still keeping it alive:

openclaw infer model auth status --json
#
openclaw models status --json