#Hit limit...need to change model asap.

1 messages · Page 1 of 1 (latest)

soft gazelle
#

Hello everyone, my apologies for this, I'm sure it's been covered before, but I just need reassurance....

I hit my weekly limit on OpenAi Codex and I have several days before it resets. I want to change to another Ai provider right now, but I'm not sure the right way to do that. Should I run the onboarding command again? I just don't want to overwrite everything else that I've setup.

tawdry ginkgoBOT
#

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

safe fractalBOT
# soft gazelle Hello everyone, my apologies for this, I'm sure it's been covered before, but I ...

You don’t need to rerun onboarding just to switch off Codex, and you definitely don’t need to “wipe/reset” anything.

Fastest (right now, per-session):

  • In chat, send: /model (or /model list) and pick another model from the picker.
  • Check what it’s currently using with /model status.

Make the switch “stick” (default model):
On the gateway host:

openclaw models status
openclaw models set <model-or-alias>

If you haven’t set up another provider yet:
You just need to add auth for that provider (this doesn’t overwrite your other setup):

#
openclaw models auth login --provider <provider>
# or (Anthropic subscription path)
openclaw models auth paste-token --provider anthropic

Docs:

If you paste the output of openclaw models status (redact nothing; it already redacts tokens), I can tell you the exact next command for the provider you want.

soft gazelle
#

Here's the output. I hadn't set up another provider previously

Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : openai-codex/gpt-5.2
Fallbacks (0) : -
Image model : -
Image fallbacks (0): -
Aliases (0) : -
Configured models (0): all

Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (1): openai-codex (1)

  • openai-codex effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=1, token=0, api_key=0) | openai-codex:default=OAuth

OAuth/token status

  • openai-codex usage: 5h 100% left ⏱4h 59m · Day 0% left ⏱3d 2h
    • openai-codex:default ok expires in 3d
safe fractalBOT
# soft gazelle Here's the output. I hadn't set up another provider previously Config : ...

Perfect — that output tells the story: right now you only have auth for openai-codex, and you have no fallbacks configured, so when Codex hits a quota window you’ve got nowhere else to go.

Good news: you do NOT need to rerun onboarding, and adding another provider won’t overwrite your setup. You just need to add one more auth profile, then switch the model.

Fastest safe path (CLI)

  1. Add another provider auth (interactive, writes to auth-profiles.json)
openclaw models auth add

Pick the provider you want (Anthropic / OpenAI API key / Gemini / etc) and follow the prompts.

  1. See what’s available now
openclaw models list
  1. Switch your default
#
openclaw models set <provider/model-from-the-list>

After that, in chat you can also use:

  • /model (picker)
  • /model status (confirm what you’re on)

If you’re going to use Claude subscription auth (common “plan B”)

  • Generate a setup-token with Claude Code:
claude setup-token
  • Then on the gateway host:
openclaw models auth paste-token --provider anthropic
#

Then do openclaw models list → openclaw models set ....

Strongly recommended: add a fallback so this doesn’t happen again

Once you’ve got a 2nd provider working:

openclaw models fallbacks add <provider/model-from-openclaw-models-list>

Docs:

If you tell me which provider you want to switch to (Anthropic? Gemini? OpenAI API key? something else), I’ll give you the exact minimal command sequence for that one.