Missing OPENROUTER_API_KEY
Cause: OPENROUTER_API_KEY was not set.
Fix: add it to .env or your deployment env vars, then restart.
401 unauthorized
Cause: incoming key does not matchASTROLABE_API_KEY.
Fix: send Authorization: Bearer <your_astrolabe_key> (or x-api-key).
Need full JSON instead of SSE
Cause: streaming is default behavior. Fix: send"stream": false in the request body.
Upstream OpenRouter errors
Check:- Key validity and credits
- Model availability
- Request payload shape
- OpenRouter service status