I wired Anthropic’s shiny new above-Opus model into my terminal lobster. It now tells dad jokes on demand. Between “paste key” and “dad joke” stood four errors — here they all are, with fixes, so your afternoon goes better than mine.
First, I would like to express my gratitude for the help of Orcarouter ai, which made things lot easier for me.
Orcarouter is a Al router that distribute models automatically based on various factors including task complexity, Cost-effectiveness and latency. With only one API key(OpenAl-compatible), you are able to access 200+ models(eg. Fable5, GPT5.5, glm5.2, deepseek V4 pro etc) freely. Real-time price checks, no extra intermediary fees for individuals Powerful Security protection, without interfering privacy for teams and enterprises
Error 1: 401 authentication_error (with a perfectly valid key). My key worked in the terminal. The agent said no. Cause: OpenClaw’s gateway is a systemd user service, and systemd services don’t read your shell environment. Your terminal and your gateway are two different universes. Fix: a drop-in file at ~/.config/systemd/user/openclaw-gateway.service.d/ with Environment=”ORCAROUTER_API_KEY=sk-orca-…”, then daemon-reload and restart. Tattoo-worthy lesson: the key working in your terminal means nothing to the gateway.
Error 2: No target session selected. I forgot –agent main. Thirty seconds. We move on.
Error 3: Model override “…” is not allowed for agent “main”. OpenClaw keeps a per-agent model allow-list — a bouncer with a clipboard. Given Fable 5 costs $10/$50 per million input/output tokens (double Opus 4.8), the bouncer is your friend. Fix: openclaw config set agents.defaults.models.’orcarouter/anthropic/claude-fable-5′ ‘{}’.
Error 4: Invalid input — the dot that ate my model. Registering glm-5.2 for comparison, the error came back naming glm-5. The parser saw the version dot, decided it was a path separator, and swallowed the .2. Fable 5’s ref has no dot so it’s immune; for dotted refs, edit openclaw.json by hand and run config validate.
The payoff:
$ openclaw agent –agent main –model “orcarouter/anthropic/claude-fable-5” \
–message “tell me a joke”
He comes back with 12 loaves of bread.
“Why on earth did you buy 12 loaves?!”
“They had eggs.”
A greedy-parsing joke. After Error 4. The model has comedic timing and self-awareness.
One non-error you should know about: Fable 5 has safeguards for cybersecurity and biology — flagged queries get quietly answered by Opus 4.8 (you’re not billed Fable prices), and refusals arrive as successful responses with a refusal stop reason. If your agent loop treats every 200 as “all good,” it’ll sleep through both. Handle “declined” as its own branch: try another model, don’t page yourself about an outage that isn’t happening.
(I went through OrcaRouter — one key, many vendors — so Errors 3 and 4 got discovered during model comparisons. A direct Anthropic key hits the same walls minus the plugin install.)
Full write-up with every config file and transcript: the complete guide.

