#grok-4-1-fast-reasoning

1 messages · Page 1 of 1 (latest)

wraith blaze
#

"I’m trying to use xai/grok-4-1-fast-reasoning in OpenClaw (version 2026.2.13). It’s listed in my config under agents.defaults.models, and direct API calls to xAI confirm my key has access, but OpenClaw returns 'model not allowed'. I’ve applied the config and restarted. Any known fixes or allowlist tweaks for newer xAI models?"

spice basinBOT
#

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

proud zealotBOT
#

That exact "Model … is not allowed" message is almost always OpenClaw’s allowlist, not xAI rejecting your key.

1) First: confirm which “model not allowed” you’re seeing

If the error is:

Model "xai/grok-4-1-fast-reasoning" is not allowed. Use /model to list available models.

…then it’s 100% agents.defaults.models (or the per-agent models) not matching what the gateway is actually using.

If it’s a different/error JSON coming from xAI, paste it verbatim—different fix.

2) Common cause: the Gateway service is running a different config than the one you edited

Run this on the gateway host and paste the Config (cli) / Config (service) lines:

openclaw gateway status
#
    defaults: {
      model: { primary: "xai/grok-4-1-fast-reasoning" },
      models: {
        "xai/grok-4-1-fast-reasoning": { alias: "grok-fast" },
      },
    },
  },
}

Easy sanity check: in chat run:

/model list