Summary
When a session starts on model A (e.g. openai-codex/gpt-5.4) and that model hits a quota/billing/auth error mid-session, OpenClaw logs live session model switch detected before attempt for every fallback candidate and skips them all. The result is a FailoverError surfaced to the user instead of a clean fallback.
Steps to Reproduce
- Configure primary model as
openai-codex/gpt-5.4 with fallbacks (e.g. nvidia/moonshotai/kimi-k2.5, google/gemini-2.5-flash, sambanova/Meta-Llama-3.3-70B-Instruct)
- Start a Telegram or TUI session — session initializes on GPT-5.4
- Hit the ChatGPT Plus daily usage limit
- Send another message
Expected Behavior
OpenClaw should attempt the next fallback model automatically and respond using it.
Actual Behavior
All fallbacks are skipped with log message:
live session model switch detected before attempt for <session-id>: nvidia/moonshotai/kimi-k2.5 -> openai-codex/gpt-5.4
live session model switch detected before attempt for <session-id>: google/gemini-2.5-flash -> openai-codex/gpt-5.4
live session model switch detected before attempt for <session-id>: sambanova/Meta-Llama-3.3-70B-Instruct -> openai-codex/gpt-5.4
FailoverError is surfaced to the user:
⚠️ You have hit your ChatGPT usage limit (plus plan).
Workaround
User must manually start a /new session. The new session will correctly attempt fallbacks since it doesn't have the original model locked.
Additional Notes
- Billing/credit errors also do not trigger fallbacks (separate but related issue)
- Affects both Telegram and TUI channels
- OpenClaw version on affected machine: 2026.2.6-3 and 2026.3.28
Summary
When a session starts on model A (e.g.
openai-codex/gpt-5.4) and that model hits a quota/billing/auth error mid-session, OpenClaw logslive session model switch detected before attemptfor every fallback candidate and skips them all. The result is a FailoverError surfaced to the user instead of a clean fallback.Steps to Reproduce
openai-codex/gpt-5.4with fallbacks (e.g.nvidia/moonshotai/kimi-k2.5,google/gemini-2.5-flash,sambanova/Meta-Llama-3.3-70B-Instruct)Expected Behavior
OpenClaw should attempt the next fallback model automatically and respond using it.
Actual Behavior
All fallbacks are skipped with log message:
FailoverError is surfaced to the user:
Workaround
User must manually start a
/newsession. The new session will correctly attempt fallbacks since it doesn't have the original model locked.Additional Notes