Sonu Sahani logo
Sonusahani.com
How to Delete a Model in OpenClaw, ClawdBot & MoltBot

How to Delete a Model in OpenClaw, ClawdBot & MoltBot

0 views
4 min read
#AI

This guide shows how to delete a model. I will demonstrate by removing one model from my configured list and verifying the change. The same steps apply to ClawdBot and MoltBot because they read the same OpenClaw configuration.

If you manage your Telegram Clawdbot models through OpenClaw, these edits affect what Clawdbot can use. For setup tips on the bot side, see this quick guide on connecting OpenClaw to Telegram Clawdbot.

Delete a Model in OpenClaw, ClawdBot & MoltBot: List models

First, let me list all models configured in this OpenClaw setup. Run this command:

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 9s

openclaw models list

This will list all models configured in this setup. Here you can see five models. I am going to delete one model from this list, openai gpt-4o-mini, which is a fallback 3 model.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 31s

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 19s

Delete a Model in OpenClaw, ClawdBot & MoltBot: Edit configuration

Open the OpenClaw configuration file at ~/.openclaw/openclaw.json. Use any editor you like.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 45s

vim ~/.openclaw/openclaw.json

Or:

nano ~/.openclaw/openclaw.json

Delete a Model in OpenClaw, ClawdBot & MoltBot: remove from models

Search for the models section. Delete the entry for the target model from this models section.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 57s

If you are using vim, place the cursor on the line and press dd to delete the line. In nano, delete the block for that model manually.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 71s

Read More: OpenClaw with Ollama models

Delete a Model in OpenClaw, ClawdBot & MoltBot: remove from fallbacks

Delete the same model from the fallbacks section as well. Remove it under fallback 3 if that is where it appears. This ensures the gateway does not reference a model you just removed.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 89s

Read More: Access the OpenClaw AI dashboard

Delete a Model in OpenClaw, ClawdBot & MoltBot: save and restart

Save the file. After that, restart the OpenClaw gateway service:

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 109s

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 102s

openclaw gateway restart

If the restart shows errors or the service will not come up, see these notes on fixing OpenClaw and Clawdbot errors.

Delete a Model in OpenClaw, ClawdBot & MoltBot: Verify

Run the models list command again:

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 113s

openclaw models list

Check the output. Now it shows only four models, whereas earlier it was five. This is how to delete one model.

Screenshot from How to Delete a Model in OpenClaw, ClawdBot & MoltBot at 125s

If you are pruning models to make room for a new OCR option, here is a brief reference to help you pick the best OCR model for your setup.

Final thoughts

I listed the models to confirm the starting point, removed the target model from both the models and fallbacks sections, saved the file, and restarted the gateway. Listing the models again confirmed the deletion. Apply the same process across OpenClaw, ClawdBot, and MoltBot to keep your configuration clean.

Subscribe to our newsletter

Get the latest updates and articles directly in your inbox.

sonuai.dev

Sonu Sahani

AI Engineer & Full Stack Developer. Passionate about building AI-powered solutions.

Related Posts