MorseSign inOpen Morse

OpenClaw models: how OpenClaw picks a model, and uncensored models we ran in it

The Morse teamPublished Facts checked 4 min read

OpenClaw models are whatever you set as the primary in ~/.openclaw/openclaw.json, under agents.defaults.model: OpenClaw "does not pick a model for you," so you choose one with openclaw models set, and add fallbacks it tries in order. Any OpenAI-compatible endpoint can be a provider, including one that serves uncensored models: we ran four of them in OpenClaw 2026.12.2 on December 3, 2026, and all four fixed the bug we gave them.

The settings below are from OpenClaw's models docs and custom provider docs, read on December 3, 2026, and checked against the CLI itself.

How OpenClaw picks a model

OpenClaw calls itself "a self-hosted gateway that connects your favorite chat apps" to AI coding agents. Every agent it runs needs a model, and OpenClaw reads it in this order:

SettingWhat it does
agents.entries.<id>.modelOne agent's own model. It overrides the default for that agent
agents.defaults.model.primaryThe model every agent uses unless it has its own. A plain string in agents.defaults.model works too
agents.defaults.model.fallbacksModels "tried in order" when the primary fails
/model <model> in a chatChanges the model for the current session only

Models are named as the provider, a slash, and the model id. An id with its own slash keeps it, so a model on a provider called morse reads morse/z-ai/glm-5.3-flash-uncensored.

The OpenClaw models commands

These are the commands we ran, in OpenClaw 2026.12.2:

openclaw models list                                            # the models your config can use
openclaw models set morse/qwen/qwen3.8-27b-uncensored           # writes agents.defaults.model.primary
openclaw models fallbacks add morse/z-ai/glm-5.3-flash-uncensored   # writes agents.defaults.model.fallbacks
openclaw config validate                                        # checks openclaw.json against its schema

After the two middle commands, the file held:

"agents": {
  "defaults": {
    "model": {
      "primary": "morse/qwen/qwen3.8-27b-uncensored",
      "fallbacks": ["morse/z-ai/glm-5.3-flash-uncensored"]
    }
  }
}

openclaw models set also saved a backup of the previous file as openclaw.json.bak before it wrote.

Which model OpenClaw recommends

OpenClaw doesn't name one. Its guidance is about tiers: "Set your primary to the strongest latest-generation model available to you," and "for tool-enabled agents or untrusted inputs, avoid older/weaker model tiers." An agent that reads chat messages from other people and runs tools is exactly that case, so pick a current model that takes tool calls reliably, and keep a fast model as the fallback.

Adding a custom model provider

OpenClaw ships with providers for the big labs and for local servers, and anything else goes under models.providers. Morse serves an OpenAI-compatible API, so this is the provider block we ran, from Morse's OpenClaw guide with uncensored models in place of the guide's defaults:

{
  "models": {
    "mode": "merge",
    "providers": {
      "morse": {
        "name": "Morse",
        "baseUrl": "https://inference.trymorse.ai/v1",
        "apiKey": "sk_morse_...",
        "api": "openai-completions",
        "models": [
          {
            "id": "z-ai/glm-5.3-flash-uncensored",
            "name": "GLM 5.3 Flash Uncensored",
            "reasoning": true,
            "input": ["text", "image"],
            "contextWindow": 1048576,
            "maxTokens": 32768,
            "compat": { "supportsUsageInStreaming": true }
          },
          {
            "id": "qwen/qwen3.8-27b-uncensored",
            "name": "Qwen3.8 27B Uncensored",
            "reasoning": true,
            "input": ["text", "image"],
            "contextWindow": 262144,
            "maxTokens": 32768,
            "compat": { "supportsUsageInStreaming": true }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "morse/z-ai/glm-5.3-flash-uncensored" }
    }
  }
}
  • "mode": "merge" adds Morse to OpenClaw's own providers instead of replacing them.
  • Put your Morse key in apiKey, or keep it out of the file with OpenClaw's environment-variable form, which Morse's OpenClaw guide shows and which we used for these runs. A gateway running as a background service doesn't read your shell, so put the key in ~/.openclaw/.env for it.
  • contextWindow is the model's context window, from its catalog entry. supportsUsageInStreaming lets OpenClaw count the tokens each request uses.
  • Morse also publishes a plugin, @trymorse/openclaw-provider, that sets the provider up in place of this block, for OpenClaw 2026.8.1 and newer.

Four uncensored models we ran in OpenClaw

On December 3, 2026, we ran openclaw agent --local with each model on the same task: a 10-line Flask file that built a SQL query with an f-string, and the message "Fix the SQL injection in app.py with a parameterized query. Change only that line." Each run used a fresh OpenClaw home with the provider block above, plus entries in the same form for the DeepSeek and Kimi models, and the model chosen with --model.

ModelTime, start to finishResult
GLM 5.3 Flash Uncensored15.2 sCorrect one-line fix
DeepSeek V4.1 Flash Uncensored19.3 sCorrect one-line fix, then it re-read the file to check nothing else changed
Kimi K3.1 Pro Uncensored24.6 sCorrect one-line fix
Qwen3.8 27B Uncensored25.2 sCorrect one-line fix

Every model wrote the same line:

row = db.execute("SELECT id, email FROM users WHERE name = ?", (name,)).fetchone()

Which uncensored model to run in OpenClaw

All four are abliterated builds of open models that take tool calls, read from the live catalog on December 3, 2026:

ModelContextPrice
GLM 5.3 Flash Uncensored1M tokens$0.225 per million input tokens and $1 per million output tokens
DeepSeek V4.1 Flash Uncensored1M tokens$0.50 per million input tokens and $1.50 per million output tokens
Kimi K3.1 Pro Uncensored1M tokens$5 per million input tokens and $18.75 per million output tokens
Qwen3.8 27B Uncensored256K tokens$0.35 per million input tokens and $1.75 per million output tokens

A sensible pair: Kimi K3.1 Pro Uncensored as the primary for hard work, with GLM 5.3 Flash Uncensored as the fast fallback. Uncensored models are for work like the Cybersecurity and Agent security uses on Morse's /inference page: proofs of concept against your own systems, and test suites full of hostile input for the agents you build.

Run OpenClaw privately on Morse

An OpenClaw agent sees your chats, your files, and whatever its tools return, and sends all of it to its model. Morse Private Inference serves uncensored models behind one OpenAI-compatible endpoint, and Morse has zero data retention agreements with its inference, search, and other providers. You pay per token from credits, with no subscription.

Get an API key, make a key for OpenClaw alone with a spend limit, and paste the provider block above. The full setup, including the plugin, is in Morse's OpenClaw guide.

Common questions

What model does OpenClaw use by default?

None until you set one. OpenClaw's docs say it "does not pick a model for you": you name a primary model in agents.defaults.model, with openclaw models set or in openclaw.json.

How do I change the model in OpenClaw?

For good, run openclaw models set with a provider/model reference, which writes agents.defaults.model.primary in ~/.openclaw/openclaw.json. For one chat session, type /model followed by the model.

What are fallback models in OpenClaw?

Models OpenClaw tries in order when the primary fails. Add one with openclaw models fallbacks add; it's saved under agents.defaults.model.fallbacks.

Can OpenClaw use a model that isn't on its provider list?

Yes. Add a custom provider under models.providers in openclaw.json, with its base URL, API type, and a models list that names each model's id. We ran four uncensored models this way on December 3, 2026.

Ask what you actually want to ask.

80+ models, characters, and images, with every chat encrypted and kept on your device. Free to start.

Start a private chat

Read next