On Windows, routatic-proxy serve -b uses the native Windows process APIs and keeps
the Scoop shim path intact. This means background mode does not require nohup
or a Unix-like shell, and Scoop-provided environment variables continue to work.
This means the proxy couldn't parse the request from Claude Code. Enable debug logging to see the raw request:
{ "logging": { "level": "debug" } }Or set the environment variable:
export ROUTATIC_PROXY_LOG_LEVEL=debugAll models in the fallback chain returned errors. Check:
- Your API key is valid:
routatic-proxy validate - You haven't exceeded your usage limits
- The OpenCode Go service is reachable:
curl -H "Authorization: Bearer $ROUTATIC_PROXY_API_KEY" https://opencode.ai/zen/go/v1/models
Make sure the proxy is running:
routatic-proxy statusAnd Claude Code is pointing to the right address:
echo $ANTHROPIC_BASE_URL # Should be http://127.0.0.1:3456The proxy transforms OpenAI SSE to Anthropic SSE in real-time. If streaming appears broken:
- Set log level to
debugto see the raw SSE chunks - Check that no proxy or firewall is buffering the connection
- Try a non-streaming request first to verify the model works
For maximum logging, run with debug level:
ROUTATIC_PROXY_LOG_LEVEL=debug routatic-proxy serveThis logs:
- Raw Anthropic request body from Claude Code
- Transformed request sent to upstream (OpenCode Go/Zen)
- Upstream response received
- SSE stream events during streaming