#Switch to Claude Sonnet 4.6

1 messages · Page 1 of 1 (latest)

grand grotto
#

How do I switch to Claude Sonnet 4.6 from 4.5 with google/gemini-3-flash-preview as backup

manic sandBOT
#

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

fringe cedarBOT
#

Sonnet 4.6 support landed in OpenClaw 2026.2.17+, so first make sure you’re on that (run: openclaw --version).

Switch just for this chat session (no restart)

Send one of these as a standalone message:

  • /model anthropic/claude-sonnet-4-6
    (works as long as you’re on a recent version)
  • or /model sonnet-4.6
    (supported as an Anthropic alias in newer builds)

Make Sonnet 4.6 the default + Gemini Flash as fallback (“backup”)

On the gateway host, run:

openclaw models set anthropic/claude-sonnet-4-6
openclaw models fallbacks add google/gemini-3-flash-preview
#
openclaw models status

Notes:

  • Fallbacks are used when the primary model errors / rate-limits / auth fails, not for “harder tasks”.
  • Make sure Google is actually configured on the gateway host (otherwise fallback will fail): set GEMINI_API_KEY (or GOOGLE_API_KEY) e.g. in ~/.openclaw/.env, then restart the gateway if needed.

Docs:

If you paste openclaw --version + openclaw models status output, I can tell you exactly what’s missing if it doesn’t pick up 4.6.

grand grotto
#

kann es sein, dass sonnet-4-6 kaum benutzt wird, weil die kostenlosen token, die im abo enthalten sind, schnell aufgebraucht sind?

fringe cedarBOT
#

Ja, das kann (gefühlt) so wirken – aber es gibt ein paar wichtigere/banalere Gründe, warum Sonnet 4.6 in der Praxis oft “weniger genutzt” aussieht:

  1. Viele laufen noch auf einer OpenClaw-Version ohne Sonnet 4.6
    Sonnet 4.6 ist erst ab OpenClaw 2026.2.17+ sauber unterstützt. Auf älteren Versionen bleibt man effektiv bei 4.5, selbst wenn man “sonnet” sagt.

  2. Der Shortcut sonnet zeigt bei vielen Setups noch auf 4.5
    In den Docs ist sonnet als Shortcut explizit 4.5 (und viele Leute nutzen genau den Shortcut). 4.6 muss man meistens explizit wählen (sonnet-4.6 bzw. anthropic/claude-sonnet-4-6).

  3. Abo/“kostenlose Tokens” vs API ist ein echtes Limit
    Wenn du Anthropic über Subscription-Auth (setup-token) nutzt, dann bist du an die jeweiligen Quota/Rate-Limits gebunden – und wenn die aufgebraucht sind, siehst du typischerweise HTTP 429 rate_limit_error. Das steht auch so in der FAQ.
    Wenn du dagegen mit Anthropic API Key arbeitest, ist es nicht “kostenlos”, sondern normales Pay-per-token (und hängt von deinem Billing/Limits ab).

Was du konkret tun kannst:

  • Check: openclaw --version (fĂĽr Sonnet 4.6 sollte es >= 2026.2.17 sein)
  • In-Chat prĂĽfen: /model status
  • Explizit setzen: /model anthropic/claude-sonnet-4-6 oder /model sonnet-4.6
fringe cedarBOT
#

There isn’t a generic openclaw models remove subcommand.

What you can remove depends on what you mean:

1) Stop a model from being tried as fallback

openclaw models fallbacks list
openclaw models fallbacks remove <provider/model>
# or wipe all fallbacks:
openclaw models fallbacks clear

2) Remove a shortcut/alias

openclaw models aliases list
openclaw models aliases remove <alias>